discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep base now installed in Local


From: Truls Becken
Subject: Re: GNUstep base now installed in Local
Date: Fri, 28 Nov 2008 12:03:08 +0100

Quentin Mathé wrote:
> Looks like there is a problem either in my GNUstep install or GNUstep make
> because the paths are listed in the reverse order for LD_LIBRARY_PATH and
> PATH, when other environment variables set by GNUstep make are in the right
> order (user -> local -> system). For example, on my computer:
>
> PATH=/System/Tools:/Local/Tools:/home/somebody/GNUstep/Tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LD_LIBRARY_PATH=/System/Library/Libraries:/Local/Library/Libraries:/home/somebody/GNUstep/Library/Libraries
> GNUSTEP_PATHLIST=/home/somebody/GNUstep:/Local:/Network:/System
>
> I usually source GNUstep.sh in my .bashrc. To be sure it's the only place
> where these variables are modified, I removed it and tried to source it
> manually instead but the result is the same. I'm using gnustep-make r27166
> currently, the only custom flag I pass to configure gnustep-make is
> --prefix=/

Yes, I noticed this a while ago as well. Without having looked at the
scripts, I'm guess this is happening because of the way directories
are added to the path variables. First the user directory is added to
to the *front* of PATH, then Local is added to the *front*, and so on.
When adding to the front of PATH, GNUSTEP_PATHLIST must be iterated in
reverse.

Truls

reply via email to

[Prev in Thread] Current Thread [Next in Thread]