caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocaml -where
@ 2003-12-24  7:26 Alexander Epifanov
  2003-12-29 13:02 ` Sven Luther
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Epifanov @ 2003-12-24  7:26 UTC (permalink / raw)
  To: caml-list

Hello,

Is there any way to add a directory in the standart ocaml library path ?
To Something like:
$ ocaml -where
/usr/lib/ocaml
/usr/local/lib/ocaml
/usr/lib/ocaml/site-lib


Thanks.
-- 
Gentoo Linux http://www.gentoo.org

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml -where
  2003-12-24  7:26 [Caml-list] ocaml -where Alexander Epifanov
@ 2003-12-29 13:02 ` Sven Luther
  2003-12-29 17:04   ` Stefano Zacchiroli
  2003-12-30  6:20   ` Alexander Epifanov
  0 siblings, 2 replies; 5+ messages in thread
From: Sven Luther @ 2003-12-29 13:02 UTC (permalink / raw)
  To: Alexander Epifanov; +Cc: caml-list

On Wed, Dec 24, 2003 at 10:26:10AM +0300, Alexander Epifanov wrote:
> Hello,
> 
> Is there any way to add a directory in the standart ocaml library path ?
> To Something like:
> $ ocaml -where
> /usr/lib/ocaml
> /usr/local/lib/ocaml
> /usr/lib/ocaml/site-lib

No.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml -where
  2003-12-29 13:02 ` Sven Luther
@ 2003-12-29 17:04   ` Stefano Zacchiroli
  2003-12-30  6:20   ` Alexander Epifanov
  1 sibling, 0 replies; 5+ messages in thread
From: Stefano Zacchiroli @ 2003-12-29 17:04 UTC (permalink / raw)
  To: caml-list

On Mon, Dec 29, 2003 at 02:02:52PM +0100, Sven Luther wrote:
> > Is there any way to add a directory in the standart ocaml library path ?
> > To Something like:
> > $ ocaml -where
> > /usr/lib/ocaml
> > /usr/local/lib/ocaml
> > /usr/lib/ocaml/site-lib
> No.

But.

findlib has the concept of path:

$ ocamlfind printconf path
/usr/local/lib/ocaml/3.07
/usr/lib/ocaml/3.07
/usr/lib/ocaml/3.07/METAS

-- 
^Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy$
^zack@{cs.unibo.it,debian.org,bononia.it} -- http://www.bononia.it/zack$
^Frequentando il mio maestro mi ero reso conto [.] che la logica poteva$
^servire a molto a condizione di entrarci dentro e poi di uscirne -Adso$

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml -where
  2003-12-29 13:02 ` Sven Luther
  2003-12-29 17:04   ` Stefano Zacchiroli
@ 2003-12-30  6:20   ` Alexander Epifanov
  2003-12-30  8:58     ` Sven Luther
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Epifanov @ 2003-12-30  6:20 UTC (permalink / raw)
  To: Sven Luther; +Cc: Alexander Epifanov, caml-list

On 14:02 Mon 29 Dec     , Sven Luther wrote:
It will be added in the future?

> On Wed, Dec 24, 2003 at 10:26:10AM +0300, Alexander Epifanov wrote:
> > Hello,
> > 
> > Is there any way to add a directory in the standart ocaml library path ?
> > To Something like:
> > $ ocaml -where
> > /usr/lib/ocaml
> > /usr/local/lib/ocaml
> > /usr/lib/ocaml/site-lib
> 
> No.
> 
> 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

-- 
Gentoo Linux http://www.gentoo.org

-------------------
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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] ocaml -where
  2003-12-30  6:20   ` Alexander Epifanov
@ 2003-12-30  8:58     ` Sven Luther
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Luther @ 2003-12-30  8:58 UTC (permalink / raw)
  To: Alexander Epifanov; +Cc: Sven Luther, caml-list

On Tue, Dec 30, 2003 at 09:20:50AM +0300, Alexander Epifanov wrote:
> On 14:02 Mon 29 Dec     , Sven Luther wrote:
> It will be added in the future?

There was discussion of CAMLPATH in the past, but only the ocaml core
team can make any decision about this. I would certainly like to have it
included, since it would make debian packaging much simpler, enabling to
have a directory for packaged stuff (/usr/lib/ocaml/<version>) and one
for user stuff (/usr/local/lib/ocaml/<version> or even ~/ocaml/<version>
or something).

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-30  8:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-24  7:26 [Caml-list] ocaml -where Alexander Epifanov
2003-12-29 13:02 ` Sven Luther
2003-12-29 17:04   ` Stefano Zacchiroli
2003-12-30  6:20   ` Alexander Epifanov
2003-12-30  8:58     ` Sven Luther

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).