From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA06166; Wed, 8 Aug 2001 13:38:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA05954 for ; Wed, 8 Aug 2001 13:38:31 +0200 (MET DST) Received: from maties1.sun.ac.za (maties1.sun.ac.za [146.232.128.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f78BcT917347 for ; Wed, 8 Aug 2001 13:38:30 +0200 (MET DST) Received: from bywoner.sun.ac.za ([146.232.129.121]) by maties1.sun.ac.za with esmtp (Exim 3.31 #1) id 15URfM-0004uR-00; Wed, 08 Aug 2001 13:38:24 +0200 Received: from js by bywoner.sun.ac.za with local (Exim 3.22 #1 (Debian)) id 15UTXT-0001AM-00; Wed, 08 Aug 2001 13:38:23 +0000 To: ocaml mailing list Cc: Alain Frisch Subject: Re: [Caml-list] How to install a package References: From: Johann Spies Date: 08 Aug 2001 13:38:23 +0000 In-Reply-To: Alain Frisch's message of "Wed, 8 Aug 2001 12:11:02 +0200 (MET DST)" Message-ID: <87lmkud640.fsf@bywoner.sun.ac.za> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. 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