[OGo-Developer] noob question on building sope-appserver
Chad Leigh
developer@opengroupware.org
Mon, 20 Nov 2006 21:05:20 -0700
On Nov 18, 2006, at 12:55 PM, Chad Leigh wrote:
>
> On Nov 18, 2006, at 2:13 AM, Helge Hess wrote:
>
>> On Nov 18, 2006, at 07:22, Chad Leigh wrote:
>>> I downloaded a fresh version (4.5.9), unpacked it
>>
>> Best thing to do is to retrieve it from Svn:
>>
>> svn co http://svn.opengroupware.org/SOPE/trunk/
>>
>> This way you get the latest fixes (eg the Xcode fixes done by ZNeK).
>
> ok
>
Ok, I got the latest svn source as of late on 20/11/2006 (US time).
This is on OS X 10.4.8 with XCode 2.4.1, trying to build with XCode =20
and then trying with shell. (I previously had the 4.5.9 tarball =20
building just fine with shell but with the same error as shown here =20
with XCode)
Should I be able to just open the SOPE.xcodeproj file and build the =20
all target?
When I do that I get it churning for a but building some stuff and then
Building target =93CleanSAXDrivers=94 of project =93SaxObjC=94 with =20
configuration =93Development=94
Checking Dependencies cd =
/Volumes/erik/Users/chad/sope/sope-=20
svn-20061120/trunk/sope-xml/SaxObjC
/bin/sh -c /Volumes/erik/Users/chad/sope/sope-svn-20061120/trunk/=20=
sope-xml/SaxObjC/build/SaxObjC.build/Development/=20
CleanSAXDrivers.build/Script-ADABC862070045C200B582C7.sh
Building target =93SaxObjC=94 of project =93SaxObjC=94 with =
configuration =20
=93Development=94
Checking Dependencies cd =
/Volumes/erik/Users/chad/sope/sope-=20
svn-20061120/trunk/sope-xml/SaxObjC
/bin/sh -c /Volumes/erik/Users/chad/sope/sope-svn-20061120/=20
trunk/sope-xml/SaxObjC/build/SaxObjC.build/Development/SaxObjC.build/=20
Script-ADABC8A407004D9200B582C7.sh
Building target =93libxmlSAXDriver=94 of project =93libxmlSAXDriver=94 =
with =20
configuration =93Development=94 =97 (1 error)
Checking Dependencies cd =
/Volumes/erik/Users/chad/sope/sope-=20
svn-20061120/trunk/sope-xml/libxmlSAXDriver
/usr/bin/gcc-4.0 -o /Volumes/erik/Users/chad/sope/sope-=20
svn-20061120/trunk/sope-xml/libxmlSAXDriver/build/Development/=20
libxmlSAXDriver.sax/Contents/MacOS/libxmlSAXDriver -L/Volumes/erik/=20
Users/chad/sope/sope-svn-20061120/trunk/sope-xml/libxmlSAXDriver/=20
build/Development -F/Volumes/erik/Users/chad/sope/sope-svn-20061120/=20
trunk/sope-xml/libxmlSAXDriver/build/Development -F/Library/=20
Frameworks -filelist /Volumes/erik/Users/chad/sope/sope-svn-20061120/=20
trunk/sope-xml/libxmlSAXDriver/build/libxmlSAXDriver.build/=20
Development/libxmlSAXDriver.build/Objects-normal/ppc/=20
libxmlSAXDriver.LinkFileList -framework SaxObjC -framework Foundation =20=
-arch ppc -Wl,-Y,1455 -bundle -lxml2
/usr/bin/ld: can't locate framework for: -framework SaxObjC
collect2: ld returned 1 exit status
/usr/bin/ld: can't locate framework for: -framework =
SaxObjC
collect2: ld returned 1 exit status
Build failed (1 error)
So I then try at the command line (doing a make clean to make sure)
[family:~/sope/sope-svn-20061120/trunk] chad% ./configure
GNUstep environment:
system: /Volumes/erik/Users/chad/sope/sope-svn-20061120/trunk/.gsmake
local: /Volumes/erik/Users/chad/sope/sope-svn-20061120/trunk/.gsmake
user: /Volumes/erik/Users/chad/GNUstep
path: /Volumes/erik/Users/chad/GNUstep:/Volumes/erik/Users/chad/=20
sope/sope-svn-20061120/trunk/.gsmake
flat: yes
arch: powerpc-apple-darwin8.8.0
combo: apple-apple-nil
Configuration:
FHS: install in FHS root
debug: yes
strip: no
prefix: /usr/local/
frameworks:
gstep: /Volumes/erik/Users/chad/sope/sope-svn-20061120/=20
trunk/.gsmake/Library/Makefiles/
config: /Volumes/erik/Users/chad/sope/sope-svn-20061120/trunk/=20
config.make
script: /Volumes/erik/Users/chad/sope/sope-svn-20061120/=20
trunk/.gsmake/Library/Makefiles//GNUstep.sh
creating: /Volumes/erik/Users/chad/sope/sope-svn-20061120/trunk/=20
config.make
optional library found: xml2
optional library found: ldap
required library found: ssl
failed to link optional library: pq
optional library found: sqlite3
failed to link optional library: mysqlclient
configuring NGStreams library .... done (log in config-NGStreams.log).
[family:~/sope/sope-svn-20061120/trunk] chad% make -s all
Making all in sope-xml...
Making all in SaxObjC...
Making all for library libSaxObjC...
Compiling file common.h ...
Compiling file SaxAttributeList.m ...
Compiling file SaxAttributes.m ...
Compiling file SaxDefaultHandler.m ...
cc1obj: error: ./derived_src/common.h: No such file or directory
cc1obj: error: one or more PCH files were found, but they were invalid
cc1obj: error: use -Winvalid-pch for more information
make[3]: *** [shared_debug_obj/SaxDefaultHandler.o] Error 1
make[2]: *** [libSaxObjC.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
[family:~/sope/sope-svn-20061120/trunk] chad%
I was successful with the 4.5.9 tarball as listed on the =20
sope.opengroupware.org website doing the above command line build.
Thanks for help in getting this set up. (I do build stuff all the =20
time on my FreeBSD and other servers and I use XCode for stuff like =20
Cocoa programming but I don't do a lot of command line builds on OS X =20=
etc and am not an XCode guru)
Thanks
Chad