[OGo-Developer] noob question on building sope-appserver/samples/HelloForm

Chad Leigh developer@opengroupware.org
Sun, 29 Oct 2006 00:46:53 -0600


I am on OS X, though eventually I will deploy my stuff I plan on  
working on using FreeBSD or Solaris, most likely.

I downloaded the latest snapshot file as listed on the SOPE pages and  
followed the instructions to build everything (using the command  
line) on OS X.   A GNUStep folder was installed into my login folder  
and I can run sope-4.5 inside of samples like the TestSite sample,  
for example.

When I try and make the HelloForm example, though, I get

family:~/sope/sope-appserver/samples/HelloForm chad$ make
Making all for woapp HelloForm...
Compiling file HelloForm.m ...
Compiling file Main.m ...
gcc        -o HelloForm.woa/./HelloForm ./shared_debug_obj/ 
HelloForm.o ./shared_debug_obj/Main.o \
           -L/Volumes/erik/Users/chad/GNUstep/Library/Libraries/   -L/ 
usr/local/lib -L/usr/lib   -lNGObjWeb -lNGMime -lNGStreams - 
lNGExtensions         -lNGMime -lNGStreams -lNGExtensions -lEOControl  
-lXmlRpc -lDOM -lSaxObjC -lEOControl -lDOM -lXmlRpc -lSaxObjC   - 
framework Foundation       -lm
/usr/bin/ld: can't locate file for: -lNGObjWeb
collect2: ld returned 1 exit status
make[1]: *** [HelloForm.woa/./HelloForm] Error 1
make: *** [HelloForm.all.woapp.variables] Error 2
family:~/sope/sope-appserver/samples/HelloForm chad$

This library does exist (and I did source the source $HOME/GNUstep/ 
Library/Makefiles/GNUstep.sh and I am running that funny bash shell :-)

family:~/sope/sope-appserver/samples/HelloForm chad$ find ~chad -name  
"*NGObjWeb*" -print
/Volumes/erik/Users/chad/GNUstep/Library/Headers/NGObjWeb
/Volumes/erik/Users/chad/GNUstep/Library/Headers/NGObjWeb/NGObjWeb.h
/Volumes/erik/Users/chad/GNUstep/Library/Headers/NGObjWeb/ 
NGObjWebDecls.h
/Volumes/erik/Users/chad/GNUstep/Library/Libraries/libNGObjWeb_d.dylib
/Volumes/erik/Users/chad/GNUstep/Library/Libraries/ 
libNGObjWeb_d.dylib.4.5
/Volumes/erik/Users/chad/GNUstep/Library/Libraries/ 
libNGObjWeb_d.dylib.4.5.252
/Volumes/erik/Users/chad/GNUstep/Library/Libraries/Resources/NGObjWeb
family:~/sope/sope-appserver/samples/HelloForm chad$

This directory does seem to be in the gcc string shown in the make  
above.  I am not exactly sure how to go on, not being familiar yet  
with the way this system makes things.

Any help would be appreciated.

This is a Dual 2.5 G5 (circa late 2004) running 10.4.8 and had XCode  
2.3 installed from looking at the about box in XCode.  Component  
versions
Xcode IDE: 744.0
Xcode Core: 747.0
ToolSupport: 733.0

(It also appears from my feeble attempts that the xcode projects  
included for sope are for the earlier versions of xcode -- nothing  
even remotely builds on this system, but that is OK -- I can handle  
the command line building [even though I have been doing Cocoa  
programming off and on the last many years I am also an XCode  
neophyte when it comes to the ins and outs of XCode -- I liked the  
old WO4.5 / OpenStep Project Builder :-])

Any hints to get this compiled, to set me straight so I can learn  
from the examples included would be appreciated.

Thanks
Chad