All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Måns Rullgård" <mru@mru.ath.cx>
To: Dave Dodge <dododge@dododge.net>
Cc: uclibc@uclibc.org, linux-kernel@vger.kernel.org
Subject: Re: [uClibc] Re: [OT] Re: The naming wars continue...
Date: Wed, 27 Oct 2004 23:15:15 +0200	[thread overview]
Message-ID: <yw1xhdofoobg.fsf@mru.ath.cx> (raw)
In-Reply-To: <20041027211138.GE24083@basmati> (Dave Dodge's message of "Wed, 27 Oct 2004 17:11:38 -0400")

Dave Dodge <dododge@dododge.net> writes:

> On Wed, Oct 27, 2004 at 07:27:04PM +0200, Måns Rullgård wrote:
>> Grzegorz Kulewski <kangur@polcom.net> writes:
>> > 5. I am thinking of changing directory structure (and some other
>> > things) some more... For example placing every package in its own dir
>> > - like /apps/gcc/3.4.2/<install date>/{bin,lib,...} and placing
>> 
>> I've been placing things in /opt/package/version for quite a while.
>
> That's essentially what the GoboLinux distribution does, except that
> it does it for everything down to and including core stuff like "sh"
> and "ls".
>
>> I use a perl script to set the *PATH environment variables to point at
>> whatever versions I choose for each package.
>
> If you have enough things installed you might run into problems with
> the size of PATH (perhaps unlikely on Linux, but I recall hitting
> the limit on Solaris at one point).

At my university they were running a locally hacked version of tcsh to
increase the maximum size of PATH to allow a similar setup.

> When I used to do this on Solaris, my most recent solution was to use
> GNU stow to create symlinks from a single prefix to all of the
> installed packages.  Then I'd only need one additional entry in PATH,
> MANPATH, and so on.  stow made it easy enough to add and remove
> packages, though there were trouble spots with duplicate files such as
> the emacs info directory.

The advantage with setting the environment variables directly is that
it's easy to switch between different versions of any package without
changing anything on disk, and I can have different version selected
in different xterms.  A symlink based scheme doesn't allow this.

> If I recall correctly, in the GoboLinux case gcc 3.4.2 would be
> installed in "/Programs/GCC/3.4.2/{bin,lib,...}".  A symlink from
> "/Programs/GCC/Current" to "3.4.2" would select that as the current
> version.  The Current trees are symlinked into a single prefix (like I
> did with stow).  Gobo has scripts to manage all of this.  I believe
> "/bin" is a symlink to the bin directory in the main install prefix,
> but there are patches so that while "/bin" can be used for lookups it
> does not appear when you list "/".

If there's one thing I detest, it is such hiding of files.  The GUI in
MacOSX does such things too, even /tmp is hidden there.  It's visible
from a shell though.  I won't even mention mswindows.  If a file
exists, it should be visible, period.  The standard hiding of .dot
files is perfectly good enough without any extra hacks.

-- 
Måns Rullgård
mru@inprovide.com

  reply	other threads:[~2004-10-27 21:22 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 22:05 The naming wars continue Linus Torvalds
2004-10-22 22:44 ` Jan Engelhardt
2004-10-22 22:53 ` Clemens Schwaighofer
2004-10-22 23:13   ` Espen Fjellvær Olsen
2004-10-23  3:07     ` Randy.Dunlap
2004-10-22 22:56 ` Benjamin Herrenschmidt
2004-10-23 21:25   ` David Woodhouse
2004-10-25 21:44     ` Bill Davidsen
2004-10-26  1:27       ` Daniel Gryniewicz
2004-10-26 21:24         ` Bill Davidsen
2004-10-22 23:18 ` Grzegorz Kulewski
2004-10-22 23:46 ` Matt Mackall
2004-10-23  0:19   ` Con Kolivas
2004-10-23  1:15   ` William Lee Irwin III
2004-10-23  1:25     ` Linus Torvalds
2004-10-23  1:08       ` alan
2004-10-23  2:52         ` Matt Mackall
2004-10-23  1:38       ` Matt Mackall
2004-10-23  1:49         ` Linus Torvalds
2004-10-29 18:33         ` cliff white
2004-10-23  3:03       ` Wakko Warner
2004-10-24 13:33         ` Helge Hafting
2004-10-25 23:26           ` Tonnerre
2004-10-26  6:37             ` H. Peter Anvin
2004-10-26  7:32               ` Denis Vlasenko
2004-10-26 11:12                 ` Geert Uytterhoeven
2004-10-26 11:43                   ` Denis Vlasenko
2004-10-26 20:31                     ` Tonnerre
2004-10-27  4:21                       ` H. Peter Anvin
2004-10-27  8:33                         ` Denis Vlasenko
2004-10-27 15:48                           ` Tonnerre
2004-10-27 16:11                             ` [OT] " Grzegorz Kulewski
2004-10-27 16:14                               ` Tonnerre
2004-10-27 16:42                                 ` Grzegorz Kulewski
2004-10-27 17:27                                   ` Måns Rullgård
2004-10-27 21:11                                     ` [uClibc] " Dave Dodge
2004-10-27 21:15                                       ` Måns Rullgård [this message]
2004-10-27 22:35                                         ` Dave Dodge
2004-10-27 23:04                                           ` Måns Rullgård
2004-10-29 14:46                             ` Adrian Bunk
2004-10-27 19:17                           ` Bill Davidsen
2004-10-27 19:40                             ` H. Peter Anvin
2004-10-29 14:51                             ` Adrian Bunk
2004-10-29 14:54                               ` Geert Uytterhoeven
2004-10-29 15:11                                 ` Adrian Bunk
2004-10-27 20:13                         ` The naming wars continue... [u] Martin Schlemmer [c]
2004-10-27 20:35                           ` Randy.Dunlap
2004-10-27 21:35                             ` Martin Schlemmer [c]
2004-10-26 16:26               ` The naming wars continue Tonnerre
2004-10-26 11:11             ` Geert Uytterhoeven
2004-10-26 16:22               ` Tonnerre
2004-10-23  6:20       ` Nick Piggin
2004-10-25 21:30         ` Bill Davidsen
2004-10-25 22:02           ` Linus Torvalds
2004-10-25 22:46             ` Hua Zhong
2004-10-27  7:38               ` Helge Hafting
2004-10-26 13:09             ` Giuseppe Bilotta
2004-10-27  0:40               ` H. Peter Anvin
2004-10-27  2:41                 ` Marcos D. Marado Torres
2004-10-26 21:32             ` Bill Davidsen
2004-10-27  3:01               ` Marcos D. Marado Torres
2004-10-27  3:32               ` Barry K. Nathan
2004-10-27 19:23                 ` Bill Davidsen
2004-10-27  7:37               ` Denis Vlasenko
2004-10-27 20:08             ` l_linux-kernel@mail2news.4t2.com
2004-10-27 20:27               ` Linus Torvalds
2004-10-27 21:13                 ` Dave Airlie
2004-10-27 21:25                   ` Linus Torvalds
2004-10-27 22:52                     ` Jesper Juhl
2004-10-27 22:54                       ` Dave Airlie
2004-10-27 23:14                       ` Jesper Juhl
2004-10-23 15:41       ` Stephen Frost
2004-10-23 21:51         ` Matthias Schniedermeyer
2004-10-24  0:02           ` Stephen Frost
2004-10-24  3:29             ` Matthias Schniedermeyer
2004-10-24  5:02               ` Bernd Eckenfels
2004-10-25 23:34         ` Tonnerre
2004-10-26 17:52         ` William Lee Irwin III
2004-10-23 22:16       ` Alexandre Oliva
2004-10-23 22:45         ` Linus Torvalds
2004-10-24  8:52       ` Matthias Urlichs
2004-10-23  1:35     ` Matt Mackall
2004-10-23 14:34       ` William Lee Irwin III
2004-10-23  0:04 ` William Lee Irwin III
2004-10-23  0:43 ` Nigel Cunningham
2004-10-23 21:03   ` Christian Hesse
2004-10-24  0:47     ` Jon Masters
2004-10-23  2:37 ` The naming wars continue... - net/ipv4/netfilter/ipt_hashlimit.c does not build Eyal Lebedinsky
2004-10-23  3:04   ` Linus Torvalds
2004-10-23 11:23 ` The naming wars continue Erik Hensema
2004-10-23 13:21 ` Christoph Hellwig
2004-10-23 15:45   ` Hans Reiser
2004-10-23 15:18 ` markus reichelt
2004-10-23 14:46   ` Taso Hatzi
2004-10-24 15:54 ` generic hardirq code in 2.6.10-rc1 Christoph Hellwig
2004-10-25  6:02   ` Miles Bader
2004-10-25 12:36     ` Christoph Hellwig
2004-10-29 14:37 ` [patch] 2.6.10-rc1: SCSI aacraid warning Adrian Bunk
2004-10-29 14:45   ` Mark Haverkamp
2004-10-29 15:13     ` Mark Haverkamp

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=yw1xhdofoobg.fsf@mru.ath.cx \
    --to=mru@mru.ath.cx \
    --cc=dododge@dododge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uclibc@uclibc.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.