Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
Hi, when ocaml-ldconf is called with -r flag (to remove paths), /var/lib/ocaml/ld.conf is written top-down; as a workaround, I suggest to call it twice, so that paths order is preserved. Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAI

Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
[sorry for posting twice, i forgot to remove unwanted headers so the previous mail appears inside an unrelated thread] Hi, when ocaml-ldconf is called with -r flag (to remove paths), /var/lib/ocaml/ld.conf is written top-down; as a workaround, I suggest to call it twice, so that paths order is pr

Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
Hi, when ocaml-ldconf is called with -r flag (to remove paths), /var/lib/ocaml/ld.conf is written top-down; as a workaround, I suggest to call it twice, so that paths order is preserved. Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMA

Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
[sorry for posting twice, i forgot to remove unwanted headers so the previous mail appears inside an unrelated thread] Hi, when ocaml-ldconf is called with -r flag (to remove paths), /var/lib/ocaml/ld.conf is written top-down; as a workaround, I suggest to call it twice, so that paths order is p

Re: Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
On Sun, May 12, 2002 at 06:55:33PM +0200, Denis Barbier wrote: > Hi, > > when ocaml-ldconf is called with -r flag (to remove paths), > /var/lib/ocaml/ld.conf is written top-down; as a workaround, > I suggest to call it twice, so that paths order is preserved. ... and here is a modified version to

Re: Buglet in ocaml-ldconf

2002-05-13 Thread Stefano Zacchiroli
On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > let sup_list src remove = > let rec f collected = function > | [] -> collected > | head::tail -> if List.exists (eq_line head) remove then f collected > tail else f ([EMAIL PROTECTED]) tail in > f [] src better: let

Re: Buglet in ocaml-ldconf

2002-05-13 Thread Denis Barbier
On Mon, May 13, 2002 at 08:38:26AM +0200, Stefano Zacchiroli wrote: > On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > > let sup_list src remove = > > let rec f collected = function > > | [] -> collected > > | head::tail -> if List.exists (eq_line head) remove then f colle

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Sven Luther
On Sun, May 12, 2002 at 06:51:58PM +0200, Denis Barbier wrote: > Hi, > > when ocaml-ldconf is called with -r flag (to remove paths), > /var/lib/ocaml/ld.conf is written top-down; as a workaround, > I suggest to call it twice, so that paths order is preserved. > Ok, i will look into it and fix th

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Sven Luther
On Mon, May 13, 2002 at 10:15:36PM +0200, Denis Barbier wrote: > On Mon, May 13, 2002 at 08:38:26AM +0200, Stefano Zacchiroli wrote: > > On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > > > let sup_list src remove = > > > let rec f collected = function > > > | [] -> collected

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Jérôme Marant
On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > package. It will be too late for the woody release though. Testing scripts have been turned off anyway ... -- Jérôme Marant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL P

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > package. It will be too late for the woody release though. > > Testing scripts have been turned off anyway ... That was what i was saying. -(altough i don't unde

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Jérôme Marant
On Wed, May 15, 2002 at 08:28:32AM +0200, Sven Luther wrote: > On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > > > package. It will be too late for the woody release though. > > > > Testing scripts have been t

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 09:11:48AM +0200, J?r?me Marant wrote: > On Wed, May 15, 2002 at 08:28:32AM +0200, Sven Luther wrote: > > On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > > > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > > > > > package. It will be too

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Jérôme Marant
On Wed, May 15, 2002 at 01:16:11PM +0200, Sven Luther wrote: > > > -(altough i don't understand why, and especially why woody has not yet > > > been released). > > > > RC bugs in base and standard in woody. > > But zhere the plan not to let the not base and standard stuff evolve > until all RC

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 02:06:31PM +0200, J?r?me Marant wrote: > On Wed, May 15, 2002 at 01:16:11PM +0200, Sven Luther wrote: > > > > > -(altough i don't understand why, and especially why woody has not yet > > > > been released). > > > > > > RC bugs in base and standard in woody. > > > > But

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: [...] > BTW, Xavier don't likes ocaml-ldconf :((( Did he gave some reasons? Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Remi VANICAT
[EMAIL PROTECTED] (Denis Barbier) writes: > On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > [...] >> BTW, Xavier don't likes ocaml-ldconf :((( > > Did he gave some reasons? to quote him : "The ld.conf mechanism was modeled after the /etc/ld.so.conf file used by the Unix dynamic lo

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: > BTW, Xavier don't likes ocaml-ldconf :((( > > What do you all thing about it ? I basically buy Xavier's argument. I had quite a bit of problems with ocaml not finding .so files, etc. and had to go learn how ocaml-ldconf worked. :-) I have the impressio

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Claudio Sacerdoti Coen
What I found very annoying of Sven solution is that if you install a package by hand (Bad Thing TM), the next time you install an ocaml debian package the entry for the hand-installed one disappears. This means that you have to learn ocaml-ldconf to understand what is happening... I don't by

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
Claudio Sacerdoti Coen <[EMAIL PROTECTED]> writes: > What I found very annoying of Sven solution is that if you install > a package by hand (Bad Thing TM), the next time you install an > ocaml debian package the entry for the hand-installed one > disappears. This means that you have to learn o

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > What I found very annoying of Sven solution is that if you > install a package by hand (Bad Thing TM), > the next time you install an ocaml debian package the entry > for the hand-installed one disappears. This means that

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
[EMAIL PROTECTED] (Denis Barbier) writes: > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: >> What I found very annoying of Sven solution is that if you >> install a package by hand (Bad Thing TM), >> the next time you install an ocaml debian package the entry >> for t

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 06:41:34PM +0200, Remi VANICAT wrote: [...] > his suggestion : > "So, to summarize, I strongly suggest the following approach for RPMs > or Debian packages: > - The main Caml package can add one or two lines to ld.conf, > e.g. /var/lib/ocaml/shlibs (for libraries installed

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Jérôme Marant
Sven Luther <[EMAIL PROTECTED]> writes: > That said, i find that all this woody release stuff is a mess, and would > benefit from some more transparency. See the ongoing discussion on debian-qa. I'm amazed. Enough said. -- Jérôme Marant http://marant.org -- To UNSUBSCRIB

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Stefano Zacchiroli
On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > BTW, Xavier don't likes ocaml-ldconf :((( > > What do you all thing about it ? I already replied on the ocaml ML, anyway: I think that the better solution is to have all .so files in a single directory (maybe /usr/lib/ocaml itself or

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 11:14:39AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > BTW, Xavier don't likes ocaml-ldconf :((( > > > > What do you all thing about it ? > > I basically buy Xavier's argument. I had quite a bit of problems with > ocaml not finding .so fil

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > What I found very annoying of Sven solution is that if you > install a package by hand (Bad Thing TM), > the next time you install an ocaml debian package the entry > for the hand-installed one disappears. This means that

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > Claudio Sacerdoti Coen <[EMAIL PROTECTED]> writes: > > > What I found very annoying of Sven solution is that if you install > > a package by hand (Bad Thing TM), the next time you install an > > ocaml debian package the entry for

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 08:31:11AM +0200, Sven Luther wrote: > > > What do you mean? findlib already manages ld.conf correctly, adding > > > and removing lines. The problem is findlib used by hand + ocaml > > > debian packages. > > > > findlib touches /var/lib/ocaml/ld.conf, which is a generate

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 08:25:59AM +0200, Sven Luther wrote: > Then you simply didn't understand how it really works. I think that Claudio was talking about the fact that after modifing /etc/ocaml/ld.conf you have to invoke ocaml-ldconf which is not really intuitive. One usually expects that modif

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > I'm not sure. The ocamlfind manpage gives > /usr/local/lib/ocaml/site-lib as an example. It may be as simple as > adjusting the default /etc/ocamlfind.conf to point to > /usr/local/lib/ocaml instead of /usr/lib/ocaml. Uhm this is

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Claudio Sacerdoti Coen
> or are you telling me you did read neither of those, > nor the discution we had here about it previously, nor even the comment > on top of the /usr/lib/ocaml/ld.conf file ? Coold down. Speacking for myself and not for him, I read the documentation but I usually don't read/understand every ma

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 11:16:04AM +0200, Claudio Sacerdoti Coen wrote: > > or are you telling me you did read neither of those, > > nor the discution we had here about it previously, nor even the comment > > on top of the /usr/lib/ocaml/ld.conf file ? > > Coold down. No problem, i was just bein

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 10:34:01PM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 06:41:34PM +0200, Remi VANICAT wrote: > [...] > > his suggestion : > > "So, to summarize, I strongly suggest the following approach for RPMs > > or Debian packages: > > - The main Caml package can add one or tw

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 09:38:05PM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > > What I found very annoying of Sven solution is that if you > > install a package by hand (Bad Thing TM), > > the next time you install an ocaml debian pack

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 02:00:47PM -0600, Matt Armstrong wrote: > [EMAIL PROTECTED] (Denis Barbier) writes: > > > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > >> What I found very annoying of Sven solution is that if you > >> install a package by hand (Bad Thing TM),

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 10:39:23AM +0200, Stefano Zacchiroli wrote: > On Thu, May 16, 2002 at 08:25:59AM +0200, Sven Luther wrote: > > Then you simply didn't understand how it really works. > > I think that Claudio was talking about the fact that after modifing > /etc/ocaml/ld.conf you have to inv

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 12:10:37AM +0200, Stefano Zacchiroli wrote: > On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > > BTW, Xavier don't likes ocaml-ldconf :((( > > > > What do you all thing about it ? > > I already replied on the ocaml ML, anyway: I think that the better > soluti

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Denis Barbier
On Thu, May 16, 2002 at 12:17:24PM +0200, Sven Luther wrote: [...] > My opinion on this (based on some other mail exchange on this thread or > on the caml-list) would be to simply add /usr/local/lib/ocaml by default > to /etc/ocaml/ld.conf, and so everything hand installed should go there. Agreed.

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 12:28:47PM +0200, Sven Luther wrote: > But going for Xavier's 'only true Unix way', remember that you have to > run ldconfig once you have changed /etc/ld.conf, so it is not that > counter intuitive. And there is a warning on top of /etc/ocaml/ld.conf > about this, if i reme

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: > On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: >> >> Yes, I ran into this myself. I'd be nice if hand installed >> packages were supported easily (through findlib or other ways), >> since we can't expect all ocaml packages to have .debs.

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 12:36:03PM +0200, Sven Luther wrote: > I think /var/... is not the rigth place, at least regarding policy. me too, that was only an example .. > /usr/lib/ocaml/shlibs should be ok with me (and have > /usr/local/ocaml/shlibs for local installed packages). agreed. Cheers.

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 05:11:50AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > >> > >> Yes, I ran into this myself. I'd be nice if hand installed > >> packages were supported easily (through findli

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 12:52:55PM +0200, Denis Barbier wrote: > On Thu, May 16, 2002 at 12:17:24PM +0200, Sven Luther wrote: > [...] > > My opinion on this (based on some other mail exchange on this thread or > > on the caml-list) would be to simply add /usr/local/lib/ocaml by default > > to /etc/

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: >> This is exactly why installing modules under >> /usr/local/lib/ocaml/3.04/ makes sense: when you upgrade to 3.05, >> you can recompile only the modules you want now, and let less used >> modules survive in /usr/local/lib/ocaml/3.04/. If ocaml 3.05 also >

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Fri, May 17, 2002 at 08:59:29AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > >> This is exactly why installing modules under > >> /usr/local/lib/ocaml/3.04/ makes sense: when you upgrade to 3.05, > >> you can recompile only the modules you want now, and let less us

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 01:00:14PM +0200, Stefano Zacchiroli wrote: > On Thu, May 16, 2002 at 12:28:47PM +0200, Sven Luther wrote: > > But going for Xavier's 'only true Unix way', remember that you have to > > run ldconfig once you have changed /etc/ld.conf, so it is not that > > counter intuitive.

Re: Buglet in ocaml-ldconf

2002-05-18 Thread Stefano Zacchiroli
On Fri, May 17, 2002 at 05:54:33PM +0200, Sven Luther wrote: > > is not clear that you have to rerun ocaml-ldconf after changing > > /etc/ocaml/ld.conf, IMHO. > > Ok, i will change it (but you could have told me before woody freeze > time) Sure, the only problem is that I read that comment only a

Re: Buglet in ocaml-ldconf

2002-05-12 Thread Denis Barbier
On Sun, May 12, 2002 at 06:55:33PM +0200, Denis Barbier wrote: > Hi, > > when ocaml-ldconf is called with -r flag (to remove paths), > /var/lib/ocaml/ld.conf is written top-down; as a workaround, > I suggest to call it twice, so that paths order is preserved. ... and here is a modified version t

Re: Buglet in ocaml-ldconf

2002-05-12 Thread Stefano Zacchiroli
On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > let sup_list src remove = > let rec f collected = function > | [] -> collected > | head::tail -> if List.exists (eq_line head) remove then f collected tail else >f (collected@[head]) tail in > f [] src better: let s

Re: Buglet in ocaml-ldconf

2002-05-13 Thread Denis Barbier
On Mon, May 13, 2002 at 08:38:26AM +0200, Stefano Zacchiroli wrote: > On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > > let sup_list src remove = > > let rec f collected = function > > | [] -> collected > > | head::tail -> if List.exists (eq_line head) remove then f coll

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Sven Luther
On Sun, May 12, 2002 at 06:51:58PM +0200, Denis Barbier wrote: > Hi, > > when ocaml-ldconf is called with -r flag (to remove paths), > /var/lib/ocaml/ld.conf is written top-down; as a workaround, > I suggest to call it twice, so that paths order is preserved. > Ok, i will look into it and fix t

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Sven Luther
On Mon, May 13, 2002 at 10:15:36PM +0200, Denis Barbier wrote: > On Mon, May 13, 2002 at 08:38:26AM +0200, Stefano Zacchiroli wrote: > > On Mon, May 13, 2002 at 01:39:31AM +0200, Denis Barbier wrote: > > > let sup_list src remove = > > > let rec f collected = function > > > | [] -> collected

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Jérôme Marant
On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > package. It will be too late for the woody release though. Testing scripts have been turned off anyway ... -- Jérôme Marant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Sven Luther
On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > package. It will be too late for the woody release though. > > Testing scripts have been turned off anyway ... That was what i was saying. -(altough i don't und

Re: Buglet in ocaml-ldconf

2002-05-14 Thread Jérôme Marant
On Wed, May 15, 2002 at 08:28:32AM +0200, Sven Luther wrote: > On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > > > package. It will be too late for the woody release though. > > > > Testing scripts have been

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 09:11:48AM +0200, J?r?me Marant wrote: > On Wed, May 15, 2002 at 08:28:32AM +0200, Sven Luther wrote: > > On Tue, May 14, 2002 at 01:42:28PM +0200, J?r?me Marant wrote: > > > On Tue, May 14, 2002 at 01:36:06PM +0200, Sven Luther wrote: > > > > > > > package. It will be too

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Jérôme Marant
On Wed, May 15, 2002 at 01:16:11PM +0200, Sven Luther wrote: > > > -(altough i don't understand why, and especially why woody has not yet > > > been released). > > > > RC bugs in base and standard in woody. > > But zhere the plan not to let the not base and standard stuff evolve > until all R

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 02:06:31PM +0200, J?r?me Marant wrote: > On Wed, May 15, 2002 at 01:16:11PM +0200, Sven Luther wrote: > > > > > -(altough i don't understand why, and especially why woody has not yet > > > > been released). > > > > > > RC bugs in base and standard in woody. > > > > But

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: [...] > BTW, Xavier don't likes ocaml-ldconf :((( Did he gave some reasons? Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Remi VANICAT
[EMAIL PROTECTED] (Denis Barbier) writes: > On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > [...] >> BTW, Xavier don't likes ocaml-ldconf :((( > > Did he gave some reasons? to quote him : "The ld.conf mechanism was modeled after the /etc/ld.so.conf file used by the Unix dynamic l

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: > BTW, Xavier don't likes ocaml-ldconf :((( > > What do you all thing about it ? I basically buy Xavier's argument. I had quite a bit of problems with ocaml not finding .so files, etc. and had to go learn how ocaml-ldconf worked. :-) I have the impressi

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Claudio Sacerdoti Coen
What I found very annoying of Sven solution is that if you install a package by hand (Bad Thing TM), the next time you install an ocaml debian package the entry for the hand-installed one disappears. This means that you have to learn ocaml-ldconf to understand what is happening... I don't b

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
Claudio Sacerdoti Coen <[EMAIL PROTECTED]> writes: > What I found very annoying of Sven solution is that if you install > a package by hand (Bad Thing TM), the next time you install an > ocaml debian package the entry for the hand-installed one > disappears. This means that you have to learn

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > What I found very annoying of Sven solution is that if you > install a package by hand (Bad Thing TM), > the next time you install an ocaml debian package the entry > for the hand-installed one disappears. This means tha

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Matt Armstrong
[EMAIL PROTECTED] (Denis Barbier) writes: > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: >> What I found very annoying of Sven solution is that if you >> install a package by hand (Bad Thing TM), >> the next time you install an ocaml debian package the entry >> for

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 06:41:34PM +0200, Remi VANICAT wrote: [...] > his suggestion : > "So, to summarize, I strongly suggest the following approach for RPMs > or Debian packages: > - The main Caml package can add one or two lines to ld.conf, > e.g. /var/lib/ocaml/shlibs (for libraries installe

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Jérôme Marant
Sven Luther <[EMAIL PROTECTED]> writes: > That said, i find that all this woody release stuff is a mess, and would > benefit from some more transparency. See the ongoing discussion on debian-qa. I'm amazed. Enough said. -- Jérôme Marant http://marant.org -- To UNSUBSCRI

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Stefano Zacchiroli
On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > BTW, Xavier don't likes ocaml-ldconf :((( > > What do you all thing about it ? I already replied on the ocaml ML, anyway: I think that the better solution is to have all .so files in a single directory (maybe /usr/lib/ocaml itself or

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 11:14:39AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > BTW, Xavier don't likes ocaml-ldconf :((( > > > > What do you all thing about it ? > > I basically buy Xavier's argument. I had quite a bit of problems with > ocaml not finding .so fi

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > What I found very annoying of Sven solution is that if you > install a package by hand (Bad Thing TM), > the next time you install an ocaml debian package the entry > for the hand-installed one disappears. This means tha

Re: Buglet in ocaml-ldconf

2002-05-15 Thread Sven Luther
On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > Claudio Sacerdoti Coen <[EMAIL PROTECTED]> writes: > > > What I found very annoying of Sven solution is that if you install > > a package by hand (Bad Thing TM), the next time you install an > > ocaml debian package the entry fo

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 08:31:11AM +0200, Sven Luther wrote: > > > What do you mean? findlib already manages ld.conf correctly, adding > > > and removing lines. The problem is findlib used by hand + ocaml > > > debian packages. > > > > findlib touches /var/lib/ocaml/ld.conf, which is a generat

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 08:25:59AM +0200, Sven Luther wrote: > Then you simply didn't understand how it really works. I think that Claudio was talking about the fact that after modifing /etc/ocaml/ld.conf you have to invoke ocaml-ldconf which is not really intuitive. One usually expects that modi

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > I'm not sure. The ocamlfind manpage gives > /usr/local/lib/ocaml/site-lib as an example. It may be as simple as > adjusting the default /etc/ocamlfind.conf to point to > /usr/local/lib/ocaml instead of /usr/lib/ocaml. Uhm this is

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Claudio Sacerdoti Coen
> or are you telling me you did read neither of those, > nor the discution we had here about it previously, nor even the comment > on top of the /usr/lib/ocaml/ld.conf file ? Coold down. Speacking for myself and not for him, I read the documentation but I usually don't read/understand every m

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 11:16:04AM +0200, Claudio Sacerdoti Coen wrote: > > or are you telling me you did read neither of those, > > nor the discution we had here about it previously, nor even the comment > > on top of the /usr/lib/ocaml/ld.conf file ? > > Coold down. No problem, i was just bei

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 10:34:01PM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 06:41:34PM +0200, Remi VANICAT wrote: > [...] > > his suggestion : > > "So, to summarize, I strongly suggest the following approach for RPMs > > or Debian packages: > > - The main Caml package can add one or t

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 09:38:05PM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > > What I found very annoying of Sven solution is that if you > > install a package by hand (Bad Thing TM), > > the next time you install an ocaml debian pac

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Wed, May 15, 2002 at 02:00:47PM -0600, Matt Armstrong wrote: > [EMAIL PROTECTED] (Denis Barbier) writes: > > > On Wed, May 15, 2002 at 07:47:20PM +0200, Claudio Sacerdoti Coen wrote: > >> What I found very annoying of Sven solution is that if you > >> install a package by hand (Bad Thing TM)

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 10:39:23AM +0200, Stefano Zacchiroli wrote: > On Thu, May 16, 2002 at 08:25:59AM +0200, Sven Luther wrote: > > Then you simply didn't understand how it really works. > > I think that Claudio was talking about the fact that after modifing > /etc/ocaml/ld.conf you have to in

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 12:10:37AM +0200, Stefano Zacchiroli wrote: > On Wed, May 15, 2002 at 05:29:52PM +0200, Sven Luther wrote: > > BTW, Xavier don't likes ocaml-ldconf :((( > > > > What do you all thing about it ? > > I already replied on the ocaml ML, anyway: I think that the better > solut

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Denis Barbier
On Thu, May 16, 2002 at 12:17:24PM +0200, Sven Luther wrote: [...] > My opinion on this (based on some other mail exchange on this thread or > on the caml-list) would be to simply add /usr/local/lib/ocaml by default > to /etc/ocaml/ld.conf, and so everything hand installed should go there. Agreed

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: > On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: >> >> Yes, I ran into this myself. I'd be nice if hand installed >> packages were supported easily (through findlib or other ways), >> since we can't expect all ocaml packages to have .debs

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 12:28:47PM +0200, Sven Luther wrote: > But going for Xavier's 'only true Unix way', remember that you have to > run ldconfig once you have changed /etc/ld.conf, so it is not that > counter intuitive. And there is a warning on top of /etc/ocaml/ld.conf > about this, if i rem

Re: Buglet in ocaml-ldconf

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 12:36:03PM +0200, Sven Luther wrote: > I think /var/... is not the rigth place, at least regarding policy. me too, that was only an example .. > /usr/lib/ocaml/shlibs should be ok with me (and have > /usr/local/ocaml/shlibs for local installed packages). agreed. Cheers.

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 05:11:50AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote: > >> > >> Yes, I ran into this myself. I'd be nice if hand installed > >> packages were supported easily (through findl

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 12:52:55PM +0200, Denis Barbier wrote: > On Thu, May 16, 2002 at 12:17:24PM +0200, Sven Luther wrote: > [...] > > My opinion on this (based on some other mail exchange on this thread or > > on the caml-list) would be to simply add /usr/local/lib/ocaml by default > > to /etc

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Matt Armstrong
Sven Luther <[EMAIL PROTECTED]> writes: >> This is exactly why installing modules under >> /usr/local/lib/ocaml/3.04/ makes sense: when you upgrade to 3.05, >> you can recompile only the modules you want now, and let less used >> modules survive in /usr/local/lib/ocaml/3.04/. If ocaml 3.05 also

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Fri, May 17, 2002 at 08:59:29AM -0600, Matt Armstrong wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > >> This is exactly why installing modules under > >> /usr/local/lib/ocaml/3.04/ makes sense: when you upgrade to 3.05, > >> you can recompile only the modules you want now, and let less u

Re: Buglet in ocaml-ldconf

2002-05-17 Thread Sven Luther
On Thu, May 16, 2002 at 01:00:14PM +0200, Stefano Zacchiroli wrote: > On Thu, May 16, 2002 at 12:28:47PM +0200, Sven Luther wrote: > > But going for Xavier's 'only true Unix way', remember that you have to > > run ldconfig once you have changed /etc/ld.conf, so it is not that > > counter intuitive

Re: Buglet in ocaml-ldconf

2002-05-18 Thread Stefano Zacchiroli
On Fri, May 17, 2002 at 05:54:33PM +0200, Sven Luther wrote: > > is not clear that you have to rerun ocaml-ldconf after changing > > /etc/ocaml/ld.conf, IMHO. > > Ok, i will change it (but you could have told me before woody freeze > time) Sure, the only problem is that I read that comment only

[OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 10:34:26PM +0200, Jérôme Marant wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > > That said, i find that all this woody release stuff is a mess, and would > > benefit from some more transparency. > > See the ongoing discussion on debian-qa. I'm amazed. > Enough

[OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-15 Thread Denis Barbier
On Wed, May 15, 2002 at 10:34:26PM +0200, Jérôme Marant wrote: > Sven Luther <[EMAIL PROTECTED]> writes: > > > > That said, i find that all this woody release stuff is a mess, and would > > benefit from some more transparency. > > See the ongoing discussion on debian-qa. I'm amazed. > Enoug

Re: [OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-16 Thread Jérôme Marant
On Thu, May 16, 2002 at 12:06:37AM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 10:34:26PM +0200, Jérôme Marant wrote: > > Sven Luther <[EMAIL PROTECTED]> writes: > > > > > > > That said, i find that all this woody release stuff is a mess, and would > > > benefit from some more transpare

Re: [OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 12:06:37AM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 10:34:26PM +0200, J?r?me Marant wrote: > > Sven Luther <[EMAIL PROTECTED]> writes: > > > > > > > That said, i find that all this woody release stuff is a mess, and would > > > benefit from some more transpare

Re: [OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-16 Thread Denis Barbier
On Thu, May 16, 2002 at 12:49:45PM +0200, Sven Luther wrote: [...] > > Indeed. For my information, what is `the security infrastructure' > > Ithink it is related to the fact that the security team will nto be able > to make security releases for all arches that woody will support (there > are 12

Versioning OCaml in Debian [Was: Re: Buglet in ocaml-ldconf]

2002-05-16 Thread Stefano Zacchiroli
On Thu, May 16, 2002 at 12:52:55PM +0200, Denis Barbier wrote: > This is exactly why installing modules under /usr/local/lib/ocaml/3.04/ > makes sense: when you upgrade to 3.05, you can recompile only the > modules you want now, and let less used modules survive in > /usr/local/lib/ocaml/3.04/. If

Re: [OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-16 Thread Jérôme Marant
On Thu, May 16, 2002 at 12:06:37AM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 10:34:26PM +0200, Jérôme Marant wrote: > > Sven Luther <[EMAIL PROTECTED]> writes: > > > > > > > That said, i find that all this woody release stuff is a mess, and would > > > benefit from some more transpar

Re: [OT] security infrastructure (was Re: Buglet in ocaml-ldconf)

2002-05-16 Thread Sven Luther
On Thu, May 16, 2002 at 12:06:37AM +0200, Denis Barbier wrote: > On Wed, May 15, 2002 at 10:34:26PM +0200, J?r?me Marant wrote: > > Sven Luther <[EMAIL PROTECTED]> writes: > > > > > > > That said, i find that all this woody release stuff is a mess, and would > > > benefit from some more transpar

  1   2   >