caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Johann Spies <jspies@maties.sun.ac.za>
Cc: ocaml mailing list <caml-list@inria.fr>
Subject: Re: [Caml-list] How to install a package
Date: Wed, 8 Aug 2001 11:40:03 +0200	[thread overview]
Message-ID: <20010808114003.A4404@pauillac.inria.fr> (raw)
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

> 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


  reply	other threads:[~2001-08-08  9:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-08 10:44 Johann Spies
2001-08-08  9:40 ` Xavier Leroy [this message]
2001-08-08 10:11 ` Alain Frisch
2001-08-08 13:38   ` Johann Spies
     [not found] ` <15217.3474.83354.531393@akasha.ijm.jussieu.fr>
2001-08-08 13:00   ` Johann Spies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010808114003.A4404@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=jspies@maties.sun.ac.za \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).