caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: John Max Skaller <skaller@ozemail.com.au>
Cc: Sven LUTHER <luther@dpt-info.u-strasbg.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05)
Date: Thu, 1 Aug 2002 18:00:47 +0200	[thread overview]
Message-ID: <20020801160047.GB614@iliana> (raw)
In-Reply-To: <3D494DB8.4050907@ozemail.com.au>

On Fri, Aug 02, 2002 at 01:03:20AM +1000, John Max Skaller wrote:
> Sven LUTHER wrote:
> 
> >On Wed, Jul 31, 2002 at 01:08:20AM +1000, John Max Skaller wrote:
> >
> >>Can I suggest that the directory:
> >>
> >>  /usr/local/lib/ocaml_3.05/
> >>
> >>might be a better default name? In switching versions around, having to 
> >>reinstall
> >>
> >
> >Is this not configurable ? 
> >
> Note I said *default* name: i.e. make the default libraries install in 
> different places.

Well, you build with :

./configure -prefix /usr/local/ocaml/3.05 ...

and everything will go into the right place.

Then you can build with :

./configure -prefix /usr/local/ocaml/3.06 ...

for the next version, and :

ocamlc -where 

will show the right place, which most packages use to know where to
install stuff.

Then you only need to have s symlink like :

ln -s /usr/local/ocaml/3.05 /usr/local/ocaml/current

or something, and have /usr/local/ocaml/current/bin in your PATH, and
all will work as you want (unless i badly misunderstood you).

This has worked since the early times of caml-light (well no the prefix
option, but you could hand specify the libdir, bindir, etc ...).

Friendly,

Sven Luther
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2002-08-01 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30  9:45 Hans Ole Rafaelsen
2002-07-30  9:56 ` Xavier Leroy
2002-07-30 15:08   ` John Max Skaller
2002-07-30 16:18     ` Sven LUTHER
2002-08-01 15:03       ` John Max Skaller
2002-08-01 16:00         ` Sven LUTHER [this message]

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=20020801160047.GB614@iliana \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    --cc=skaller@ozemail.com.au \
    /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).