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 LAA04691; Wed, 8 Aug 2001 11:40:11 +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 LAA04685 for ; Wed, 8 Aug 2001 11:40:10 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f789e3914285; Wed, 8 Aug 2001 11:40:03 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA04612; Wed, 8 Aug 2001 11:40:03 +0200 (MET DST) Date: Wed, 8 Aug 2001 11:40:03 +0200 From: Xavier Leroy To: Johann Spies Cc: ocaml mailing list Subject: Re: [Caml-list] How to install a package Message-ID: <20010808114003.A4404@pauillac.inria.fr> References: <87y9oude5k.fsf@bywoner.sun.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <87y9oude5k.fsf@bywoner.sun.ac.za>; from jspies@maties.sun.ac.za on Wed, Aug 08, 2001 at 10:44:39AM +0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I have followed the instructions for installing libpq_ocaml. > > $ sudo make install > ocamlfind install libpq libpq.cmi *.o libpq.cmo *.cmx META > Installed /usr/lib/ocaml/libpq/META > Installed /usr/lib/ocaml/libpq/libpq.cmx > Installed /usr/lib/ocaml/libpq/libpq.cmo > Installed /usr/lib/ocaml/libpq/libpqstub.o > Installed /usr/lib/ocaml/libpq/libpq.o > Installed /usr/lib/ocaml/libpq/libpq.cmi > > So far so good. > > Now: > ------------------------------------------------ > $ ocaml > Objective Caml version 3.01 > > # open Libpq;; > Unbound module Libpq I don't know what this libpq package is, and whether the documentation that comes with it explain the issue, but it seems that it installs in a subdirectory libpq/ of the Caml standard library directory. If so, you must tell ocaml to look there: ocaml -I +libpq Hope this helps, - Xavier Leroy ------------------- 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