On Monday, August 19, 2002, at 09:10 , ellem wrote:
> On Monday, August 19, 2002, at 11:22 PM, Sky Lemon wrote:
>
>> I guess I had some aversion to it since I
>> remember reading somewhere in the Fink pages that it's not a good idea to
>> install stuff in /usr/local.
>
> for fink stuff yes for things you install no, you should be installing
> there.
From what I have been able to figure out to date -
the fink folks come from the linux, hence more SYS V
model of the world - and hence, like Solaris, believe
in using the POSIX style model of
"optional code goes in /opt"
vice the traditionalist from the BSD school who believe
that it should go into /usr/local - IF it is stuff "we"
are planning to support.
The problem here is whether or not one wants to allow
the 'same name' to be used more than once. As we have noticed
with the 'case insensitive' file system in darwin - it can
not tell the difference between 'head' and 'HEAD' - so would
not be able to tell if you wanted to get an arbitrary number
of lines from a file - or the header block from a webpage...
The same is equally true of the 'which do we use' problem of
things that are in /usr/bin v. /usr/local/bin - which the
fink folks hope to some how avoid by putting into /sw/bin
and then hoping that folks sort out their PATH correctly
so that you call the one you want....
Given that they will be delivering their perl modules into /sw,
one either opts to use their auto installation methods - and
hence should build your version of perl to have their /sw/lib/perl5
as a part of your default @INC - or you will need to make sure
that
a) you have the PERL5LIB exported
both in your shell .profile and in
~/.MacOSX/enrionment.plist
so that both your shell and GUI are aware of it
b) only access them indirectly though stuff that
makes sure that the 'use lib' and/or PERL5LIB
is set correctly
So there are some options - one just sorta has to make a choice.
ciao
drieux
---
if you want REAL PSYCHOTIC BEHAVIOR - watch a hard
corp BSD freak work the 'issues' on being Solaris/POSIX
compliant as to how to build and install the gcc world
into /opt/gundev rather than letting it just default
into /usr/local....