missing woapp.make (was Re: [OGo-Developer] noob question on building sope-appserver)
Chad Leigh
developer@opengroupware.org
Wed, 22 Nov 2006 00:12:31 -0700
On Nov 22, 2006, at 12:01 AM, Chad Leigh wrote:
>
> On Nov 21, 2006, at 2:07 PM, Chad Leigh wrote:
>
>>
>> On Nov 21, 2006, at 2:03 PM, Helge Hess wrote:
>>
>>> On Nov 21, 2006, at 21:46, Chad Leigh wrote:
>>>> I am installing in to /usr/local/ and from my understanding did
>>>> not need to install gnustep-make on OS X if I am installing in /
>>>> usr/local/ . I did not need it for the 4.5.9 tarball. Is this
>>>> not right?
>>>
>>> You need to have gnustep-make for compilation, you just don't
>>> need to source GNUstep.sh. Probably SOPE did that for you
>>> automagically and installed some .GNUstep tree inside the source
>>> tree?
>>> Do a "ls -la" and check whether there is a GNUstep tree, and
>>> patch that PCH flag in its config.make.
>>
>> Ok, yes there is a .gsmake in the trunk tree and in .gsmake/
>> Library/Makefiles/config.make there is the flag and I changed it
>> and it does seem to be building now...
>
> Ok
>
> There seems to be a file missing however (?) If, using the svn
> source I downloaded a couple days ago and got compiled with the
> expert advise above, I move to sop-appserver/samples/HelloWorld or
> HelloForm and try and make them, I get
>
> [family:sope-appserver/samples/HelloWorld] chad% make
> GNUmakefile:12: /Volumes/erik/Users/chad/sope/sope-svn-20061120/
> trunk/.gsmake/Library/Makefiles/woapp.make: No such file or directory
> make: *** No rule to make target `/Volumes/erik/Users/chad/sope/
> sope-svn-20061120/trunk/.gsmake/Library/Makefiles/woapp.make'. Stop.
> [family:sope-appserver/samples/HelloWorld] chad%
>
> <snip>
> The same files ARE in my 4.5.9 tarball hierarchy in the equivalent
> location. Did something (like woapp.make) get lost in subversion
> somewhere?
>
> For now I will copy it out of the 4.5.9 .gsmake tree.
Ok, I copied the woapp.make over from the 4.5.9 tarball to my svn
derived tree
Now when I make I get
[family: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/sope/sope-svn-20061120/
trunk/.gsmake/Library/Libraries/ -L/usr/local/lib -L/usr/lib -
lEOControl_d -lDOM_d -lXmlRpc_d -lSaxObjC_d -lm -framework Foundation
/usr/bin/ld: Undefined symbols:
.objc_class_name_WOApplication
_WOApplicationMain
.objc_class_name_WOComponent
collect2: ld returned 1 exit status
make[1]: *** [HelloForm.woa/./HelloForm] Error 1
make: *** [HelloForm.all.woapp.variables] Error 2
[family:sope-appserver/samples/HelloForm] chad%
Is this a problem from using the older woapp.make or is it a
different issue?
These made find in the 4.5.9 tarball derived sope :-)
Thanks
Chad