gnustep-dev
[Top][All Lists]
Advanced

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

Re: Install location for libobjc2


From: Wolfgang Lux
Subject: Re: Install location for libobjc2
Date: Sat, 3 Nov 2012 15:02:10 +0100

Quentin Mathé wrote:

> Hi Tom,
> 
> Le 2 nov. 2012 à 21:35, Tom Davie a écrit :
> 
>> On 2 Nov 2012, at 19:37, Richard Frith-Macdonald <address@hidden> wrote:
>> 
>>> On 2 Nov 2012, at 19:27, Robert Slover wrote:
>>> 
>>>> Isn't the 'sudo' failing there? That seems likely to cause problems. 
>>>> 
>>> Good point ... could it be that sudo is messing up the PATH or somethign 
>>> similar so GNUstep (specifically the gnustep-config script) isn't being 
>>> found?
>>> I've added warnng messages to the makefile in svn, to at least indicate if 
>>> it is being read, and which patch it's taking (the standalone or 
>>> gnustep-filesystem install).
> 
> 
> On Ubuntu I recently solved this problem by editing the /etc/sudoers file and 
> commenting out the 'Defaults secure_path=XXX' line. This way, 'sudo -E' 
> inherits the PATH variable as customized by GNUstep.sh and gnustep-config can 
> be found (by the libobjc2 GNUmakefile). 
> If secure_path is enabled, the PATH variable is overriden by the secure_path 
> value even when -E is passed to sudo.

And my time tested alternative, which doesn't require editing system files, is 
to use the slightly more elaborate command line
  sudo sh -c ". $GNUSTEP_MAKEFILES/GNUstep.sh; make install"

Wolfgang




reply via email to

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