Any suggestions? Any success stories? I'm using the 'git://code.neontology.com/Nu.git' tree if that helps.
Thanks!
- Teunis Peters
Notes follow:
some example sections on GNUstep makefiles:
GS_ROOT = /usr/lib/GNUstep/
. $(GS_ROOT)System/Library/Makefiles/GNUstep.sh
(to set the variables)
and in makefile:
include $(GNUSTEP_MAKEFILES)/common.make
...set variables...
include $(GNUSTEP_MAKEFILES)/application.make
I've been trying to reproduce this configuration while not using the gnustep build process - but I may have to switch to that.
First was added includes -as I've got GNUstep installed. NuFoundation doesn't seem to work for me.
~/Projects/Language/Nu$ rake
(in ~/Projects/Language/Nu)
gcc -g -O2 -Wall -DLINUX -DMININUSH -std=gnu99 -fobjc-exceptions -fconstant-string-class=NSConstantString -I ./include/Nu -I /usr/local/include
-I/usr/lib/GNUstep/System/Library/Headers -F/usr/share/GNUstep/Frameworks/ -c -o objc/nu.o objc/nu.m
In file included from objc/nu.m:23:
objc/objc_runtime.h:54: error: expected identifier or ‘(’ before ‘{’ token
objc/objc_runtime.h:54: error: expected ‘)’ before ‘,’ token
objc/objc_runtime.h:128: error: expected declaration specifiers or ‘...’ before ‘(’ token
objc/objc_runtime.h:128: error: expected declaration specifiers or ‘...’ before ‘(’ token
rake aborted!
Command failed with status (1): [gcc -g -O2 -Wall -DLINUX -DMININUSH -std=g...]
~/Projects/Language/Nu/Rakefile:75
(See full trace by running task with --trace)
nufound library fails like so:
gcc -g -O2 -Wall -DLINUX -DMININUSH -std=gnu99 -fobjc-exceptions -fconstant-string-class=NSConstantString -I ./include/Nu -I /usr/local/include -I../nufound/Foundation -c -o
objc/stack.o objc/stack.m
objc/stack.m: In function ‘-[NuStack dump]’:
objc/stack.m:71: error: cannot find interface declaration for ‘NSConstantString’
rake aborted!
I think that it would be great to get Nu running with GNUstep, but
have no personal experience yet with it (GNUstep). However, if I can
reproduce your environment, I'll work on this, and it probably won't
take much to fix. I've been running Ubuntu 7.10 in a VMware image.
Can you help advise me on how to get the basics of GNUstep in place
for this?
thanks!
Tim
It's all in the "Universe" package selection
apt-get install libfoundation1.0-dev gnustep-devel gnustep-make libgnustep-base-dev gobjc
I'm not sure as yet what other build dependencies are needed. gobjc, libfoundation and gnustep-make are all kind of required.
for rake: apt-get install rake
I haven't done anything odd with the environment - but that might not be all of the dependencies, depending on what Nu requires - but it should be ;)
(for operations: probably libfoundation, gnustep-base and possibly gobjc - I haven't examined it enough as yet)
Thank you
- Teunis