List Info

Thread: environment variables stopping compilation




environment variables stopping compilation
user name
2007-08-17 07:20:59
Hi All,

I've got a number of GNUSTEP environment variables set in my
user 
profile on an OS X 10.4 system and these seem to be stopping
the SOPE 
compilation working.  I can set up a new local account and
the 
environment variables don't appear and SOPE compilation
works in the new 
account.

I've checked the usual suspects, ~/.bash_profile, 
~/.MacOSX/environment.plist, and there is no ~/.profile
file. The 
environment vars aren't in any of these files. Nothing in
/etc/profile 
either.

Could anyone tell me how to get rid of the environment
variables 
below...? [Thank you!]

declare -x 
CLASSPATH="/Users/sdw/GNUstep/Library/Libraries/Java:/U
sers/sdw/GNUstep/System/Library/Libraries/Java"
declare -x 
DYLD_FRAMEWORK_PATH="/Users/sdw/GNUstep/Library/Framewo
rks:/Users/sdw/GNUstep/System/Library/Frameworks"
declare -x 
DYLD_LIBRARY_PATH="/Users/sdw/GNUstep/Library/Libraries
:/Users/sdw/GNUstep/System/Library/Libraries"
declare -x GNUSTEP_FLATTENED="yes"
declare -x
GNUSTEP_HOST="powerpc-apple-darwin8.10.0"
declare -x GNUSTEP_HOST_CPU="powerpc"
declare -x GNUSTEP_HOST_OS="darwin8.10.0"
declare -x GNUSTEP_HOST_VENDOR="apple"
declare -x
GNUSTEP_LOCAL_ROOT="/Users/sdw/GNUstep"
declare -x
GNUSTEP_MAKEFILES="/Users/sdw/GNUstep/System/Library/Ma
kefiles"
declare -x
GNUSTEP_NETWORK_ROOT="/Users/sdw/GNUstep"
declare -x
GNUSTEP_PATHLIST="/Users/sdw/GNUstep:/Users/sdw/GNUstep
/System"
declare -x
GNUSTEP_SYSTEM_ROOT="/Users/sdw/GNUstep/System"
declare -x GNUSTEP_USER_ROOT="/Users/sdw/GNUstep"
declare -x 
GUILE_LOAD_PATH="/Users/sdw/GNUstep/Library/Libraries/G
uile:/Users/sdw/GNUstep/System/Library/Libraries/Guile"


-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx

Re: environment variables stopping compilation
country flaguser name
Germany
2007-08-17 07:51:31
On 17.08.2007, at 14:20, Stephen wrote:
> I've checked the usual suspects, ~/.bash_profile,
~/.MacOSX/ 
> environment.plist, and there is no ~/.profile file. The
environment  
> vars aren't in any of these files. Nothing in
/etc/profile either.

I'm not sure what you are trying to do (GNUstep vars are
irrelevant  
for Xcode builds?). But if you *are* using make, the
variables might  
get read from config.make (if you ran configure).

Helge
-- 
Helge Hess
http://www.helgehess.eu/



-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx

Re: environment variables stopping compilation
user name
2007-08-18 05:53:25
Helge Hess wrote:
opengroupware.org" type="cite">On 17.08.2007, at 14:20, Stephen wrote:
I've checked the usual suspects, ~/.bash_profile, ~/.MacOSX/environment.plist, and there is no ~/.profile file. The environment vars aren't in any of these files. Nothing in /etc/profile either.

I'm not sure what you are trying to do (GNUstep vars are irrelevant for Xcode builds?). But if you *are* using make, the variables might get read from config.make (if you ran configure).

Helge
Thanks Helge,

I was trying to compile SOPE both ways. From XCode and from a shell (and had two different instances of SOPE I was working from. I knew it would be confusing if I asked questions on each in the same post. Sounds like it was confusing anyway!

Found the issue... the environment variable, LIBRARY_COMBO was getting set to "gnu-fd-nil" even though I compiled gnustep with "apple-apple-nil" and have run source /Users/sdw/GNUstep/System/Library/Makefiles/GNUstep.sh . 
Once I manually exported LIBRARY_COMBO as apple-apple-nil, the compile is working.

(By the way, the path to GNUstep.sh was different for me than that shown in the webpage documentation, there is a "System" folder in the path as shown)

Which I guess brings me back to the original question... can anyone suggest where the GNUSTEP environment variables are being set if it is not in ~/.bash_profile, ~/.profile, or the Mac environment plist?

Thanks
Stephen
Re: environment variables stopping compilation
country flaguser name
Germany
2007-08-19 04:26:49
On 18.08.2007, at 12:53, Stephen wrote:
> Which I guess brings me back to the original
question... can anyone  
> suggest where the GNUSTEP environment variables are
being set if it  
> is not in ~/.bash_profile, ~/.profile, or the Mac
environment plist?

The variables itself are set in GNUstep.sh (and config.make
contains  
a dump of that).

If you can't find the place which sets the vars, maybe you
should  
delete your ~/GNUstep and start from scratch (be sure to
logout prior  
the next attempt).

Helge
-- 
Helge Hess
http://www.helgehess.eu/



-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx

Re: environment variables stopping compilation
user name
2007-08-19 06:31:13
Helge Hess wrote:
>
> The variables itself are set in GNUstep.sh (and
config.make contains a 
> dump of that).
>
> If you can't find the place which sets the vars, maybe
you should 
> delete your ~/GNUstep and start from scratch (be sure
to logout prior 
> the next attempt).
>
> Helge

All good... I had put "source 
/Users/stephenw/GNUstep/System/Library/Makefiles/GNUstep.sh&
quot; in 
~/.bash_profile.

Good to go now on SOPE... hope your docs are
"good" 

Thanks
Stephen
-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )