Hi Tom,
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.
Cheers, Quentin.
Do you have info on which Ubuntu was this introduced? 12.10?
I don't remember having to edit this on 12.04, so I suppose it was 12.10.
I'm hitting the issue on ubuntu 11.04, so at least then.
Bob |