Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] How to install a package
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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 <> 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.


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:  FAQ:
To unsubscribe, mail  Archives: