Browse thread
[Caml-list] Dynamically loaded library problems (ocaml-3.05)
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2002-08-01 (16:02) |
From: | Sven LUTHER <luther@d...> |
Subject: | Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05) |
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