Browse thread
[Caml-list] How to install a package
-
Johann Spies
- Xavier Leroy
-
Alain Frisch
- Johann Spies
- Johann Spies
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Johann Spies <jspies@m...> |
| Subject: | Re: [Caml-list] How to install a package |
Alain Frisch <frisch@clipper.ens.fr> writes:
> (libpq_ocaml is no longer maintained; you may want to install Postgres
> instead (safer interface, more examples); I will give instructions for it)
>
> > But how can I use libpq in the toplevel?
>
> As the package contains C objects, you have to build a custom toplevel:
>
> ocamlfind ocamlmktop -o postgres_top -linkpkg -package postgres
>
> You also have to pass to this toplevel the directory where it can
> find the .cmi files for the package (is there a reason
> for ocamlmktop not putting the -I options in the custom toplevel ?):
Thanks Alan. That solves my problem.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Ye lust, and have not; ye kill, and desire to have,
and cannot obtain; ye fight and war, yet ye have not,
because ye ask not." James 4:2
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr