If you type gcc -v
on your command line what output do you get? Am 03.09.2012 um 07:37 schrieb Ron X <ron.x.by...@gmail.com>: > hi! > no, have the same problem: > > vm-mlion-01:~ esuser$ cd Documents/wonder.old/Utilities/Adaptors/ > vm-mlion-01:Adaptors esuser$ ls > APPLE_LICENSE InstallationInstructions.html > Adaptor Makefile > Apache NSAPI > Apache2 PB.project > Apache2.2 WonderReadme.html > BuildingInstructions.html example.xml > CGI make.config > FastCGI woadaptor.dtd > IIS woadaptor.xml > vm-mlion-01:Adaptors esuser$ make ADAPTORS=Apache2.2 OS=MACOS > APXS=/usr/sbin/apxs > cd Apache2.2 ; make > /usr/sbin/apxs -c -S CC=gcc -Wc,"-O2 -I/usr/include/apache2 -I../Adaptor > -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch > x86_64 -arch i386" -Wl," -arch x86_64 -arch i386 -macosx_version_min 10.5 > -lm -module" mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c > ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c > ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c > ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c > ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c > ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c > ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c > ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c > ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c > ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c > ../Adaptor/xmlparse.c > /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -DDARWIN > -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 > -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 > -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE > -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c && > touch mod_WebObjects.slo > libtool: compile: unable to infer tagged configuration > libtool: compile: specify a tag with `--tag' > apxs:Error: Command failed with rc=65536 > . > make[1]: *** [mod_WebObjects.so] Error 1 > make: *** [Apache2.2] Error 2 > vm-mlion-01:Adaptors esuser$ cd A > APPLE_LICENSE Adaptor/ Apache/ Apache2/ Apache2.2/ > vm-mlion-01:Adaptors esuser$ cd Apache2.2/ > vm-mlion-01:Apache2.2 esuser$ make ADAPTORS=Apache2.2 OS=MACOS > APXS=/usr/sbin/apxs > /usr/sbin/apxs -c -S CC=gcc -Wc,"-O2 -I/usr/include/apache2 -I../Adaptor > -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch > x86_64 -arch i386" -Wl," -arch x86_64 -arch i386 -macosx_version_min 10.5 > -lm -module" mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c > ../Adaptor/Platform.c ../Adaptor/WOURLCUtilities.c > ../Adaptor/WOURLCUtilities_3.c ../Adaptor/appcfg.c ../Adaptor/cfgparse.c > ../Adaptor/config.c ../Adaptor/hostlookup.c ../Adaptor/list.c > ../Adaptor/listing.c ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c > ../Adaptor/log.c ../Adaptor/nbsocket.c ../Adaptor/random.c > ../Adaptor/request.c ../Adaptor/response.c ../Adaptor/roundrobin.c > ../Adaptor/shmem.c ../Adaptor/strdict.c ../Adaptor/strtbl.c > ../Adaptor/transaction.c ../Adaptor/transport.c ../Adaptor/wastring.c > ../Adaptor/womalloc.c ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c > ../Adaptor/xmlparse.c > /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -DDARWIN > -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 > -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -I/usr/include/apache2 > -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE > -Wall -arch x86_64 -arch i386 -c -o mod_WebObjects.lo mod_WebObjects.c && > touch mod_WebObjects.slo > libtool: compile: unable to infer tagged configuration > libtool: compile: specify a tag with `--tag' > apxs:Error: Command failed with rc=65536 > . > make: *** [mod_WebObjects.so] Error 1 > > 2012/8/31 Bastian Triller <bastian.tril...@gmail.com> > hello, > > haven't tried to build on MacOS yet, but i think something like > > $ cd $wonder/Utilities/Adaptors > $ make ADAPTORS=Apache2.2 OS=MACOS APXS=/usr/sbin/apxs > > could work. > > Bastian > > > Am Freitag, den 31.08.2012, 18:02 +0300 schrieb Ron X: > > hi > > > > here is the output: > > > > bash-3.2$ make > > Makefile:52: ../Adaptor/make.postamble: No such file or directory > > make: *** No rule to make target `../Adaptor/make.postamble'. Stop. > > > > bash-3.2$ > > bash-3.2$ make > > cd Adaptor ; make > > rm -f make.preamble make.postamble > > for file in *.c; do \ > > echo "${file}: ../Adaptor/${file}" | sed s/\\.c/.o/ >> > > make.postamble ; \ > > echo " $""{CC} $""{CFLAGS} -c ../Adaptor/${file}" >> > > make.postamble ; \ > > echo " ${file} \\" >> make.preamble ; \ > > done > > for file in *.c; do \ > > echo " ${file} \\" | sed s/\\.c/.o/ >> make.preamble ; > > \ > > done > > cd CGI ; make > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c -o WebObjects.o WebObjects.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/MoreURLCUtilities.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/Platform.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/WOURLCUtilities.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/WOURLCUtilities_3.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/appcfg.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/cfgparse.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/config.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/hostlookup.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/list.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/listing.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/loadaverage.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/loadbalancing.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/log.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/nbsocket.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/random.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/request.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/response.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/roundrobin.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/shmem.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/strdict.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/strtbl.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/transaction.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/transport.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/wastring.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/womalloc.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/xmlcparser.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/xmlctokenizer.c > > ../Adaptor/xmlctokenizer.c: In function ‘xmlcTokenizerNextToken’: > > ../Adaptor/xmlctokenizer.c:265: warning: comparison is always false > > due to limited range of data type > > ../Adaptor/xmlctokenizer.c:321: warning: comparison is always false > > due to limited range of data type > > ../Adaptor/xmlctokenizer.c: In function ‘xmlcTokenizerNextToken’: > > ../Adaptor/xmlctokenizer.c:265: warning: comparison is always false > > due to limited range of data type > > ../Adaptor/xmlctokenizer.c:321: warning: comparison is always false > > due to limited range of data type > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -c ../Adaptor/xmlparse.c > > gcc -O2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI -arch > > x86_64 -arch i386 -o WebObjects WebObjects.o MoreURLCUtilities.o > > Platform.o WOURLCUtilities.o WOURLCUtilities_3.o appcfg.o cfgparse.o > > config.o hostlookup.o list.o listing.o loadaverage.o loadbalancing.o > > log.o nbsocket.o random.o request.o response.o roundrobin.o shmem.o > > strdict.o strtbl.o transaction.o transport.o wastring.o womalloc.o > > xmlcparser.o xmlctokenizer.o xmlparse.o > > strip -S WebObjects > > cd FastCGI ; make > > gcc -O2 -Wall -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DCGI > > -arch x86_64 -arch i386 -c -o WebObjects.o WebObjects.c > > WebObjects.c:63:21: error: fcgiapp.h: No such file or directory > > WebObjects.c:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > > ‘__attribute__’ before ‘*’ token > > WebObjects.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > > ‘__attribute__’ before ‘hdrp’ > > WebObjects.c: In function ‘sendResponse’: > > WebObjects.c:142: warning: implicit declaration of function > > ‘FCGX_FPrintF’ > > WebObjects.c:142: error: ‘out’ undeclared (first use in this function) > > WebObjects.c:142: error: (Each undeclared identifier is reported only > > once > > WebObjects.c:142: error: for each function it appears in.) > > WebObjects.c:147: warning: implicit declaration of function > > ‘FCGX_PutS’ > > WebObjects.c:160: warning: implicit declaration of function > > ‘FCGX_PutStr’ > > WebObjects.c:169: warning: implicit declaration of function > > ‘FCGX_FFlush’ > > WebObjects.c: In function ‘readContentData’: > > WebObjects.c:193: warning: implicit declaration of function > > ‘FCGX_GetStr’ > > WebObjects.c:193: error: ‘in’ undeclared (first use in this function) > > WebObjects.c:196: warning: implicit declaration of function > > ‘FCGX_GetError’ > > WebObjects.c: In function ‘main’: > > WebObjects.c:294: error: ‘FCGX_ParamArray’ undeclared (first use in > > this function) > > WebObjects.c:294: error: expected ‘;’ before ‘hdrp_org’ > > WebObjects.c:296: warning: implicit declaration of function > > ‘FCGX_Accept’ > > WebObjects.c:296: error: ‘in’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘out’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘err’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘hdrp’ undeclared (first use in this > > function) > > WebObjects.c:312: warning: implicit declaration of function > > ‘FCGX_GetParam’ > > WebObjects.c:312: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:313: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:360: warning: passing argument 1 of ‘req_new’ makes > > pointer from integer without a cast > > WebObjects.c:378: error: ‘hdrp_org’ undeclared (first use in this > > function) > > WebObjects.c:442: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:458: warning: passing argument 4 of ‘tr_handleRequest’ > > makes pointer from integer without a cast > > WebObjects.c:225: warning: unused variable ‘content_buffer’ > > WebObjects.c: In function ‘documentRoot’: > > WebObjects.c:494: error: ‘hdrp’ undeclared (first use in this > > function) > > WebObjects.c:494: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:498: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:499: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:63:21: error: fcgiapp.h: No such file or directory > > WebObjects.c:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > > ‘__attribute__’ before ‘*’ token > > WebObjects.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > > ‘__attribute__’ before ‘hdrp’ > > WebObjects.c: In function ‘sendResponse’: > > WebObjects.c:142: warning: implicit declaration of function > > ‘FCGX_FPrintF’ > > WebObjects.c:142: error: ‘out’ undeclared (first use in this function) > > WebObjects.c:142: error: (Each undeclared identifier is reported only > > once > > WebObjects.c:142: error: for each function it appears in.) > > WebObjects.c:147: warning: implicit declaration of function > > ‘FCGX_PutS’ > > WebObjects.c:160: warning: implicit declaration of function > > ‘FCGX_PutStr’ > > WebObjects.c:169: warning: implicit declaration of function > > ‘FCGX_FFlush’ > > WebObjects.c: In function ‘readContentData’: > > WebObjects.c:193: warning: implicit declaration of function > > ‘FCGX_GetStr’ > > WebObjects.c:193: error: ‘in’ undeclared (first use in this function) > > WebObjects.c:196: warning: implicit declaration of function > > ‘FCGX_GetError’ > > WebObjects.c: In function ‘main’: > > WebObjects.c:294: error: ‘FCGX_ParamArray’ undeclared (first use in > > this function) > > WebObjects.c:294: error: expected ‘;’ before ‘hdrp_org’ > > WebObjects.c:296: warning: implicit declaration of function > > ‘FCGX_Accept’ > > WebObjects.c:296: error: ‘in’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘out’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘err’ undeclared (first use in this function) > > WebObjects.c:296: error: ‘hdrp’ undeclared (first use in this > > function) > > WebObjects.c:312: warning: implicit declaration of function > > ‘FCGX_GetParam’ > > WebObjects.c:312: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:313: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:360: warning: passing argument 1 of ‘req_new’ makes > > pointer from integer without a cast > > WebObjects.c:378: error: ‘hdrp_org’ undeclared (first use in this > > function) > > WebObjects.c:442: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:458: warning: passing argument 4 of ‘tr_handleRequest’ > > makes pointer from integer without a cast > > WebObjects.c:225: warning: unused variable ‘content_buffer’ > > WebObjects.c: In function ‘documentRoot’: > > WebObjects.c:494: error: ‘hdrp’ undeclared (first use in this > > function) > > WebObjects.c:494: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:498: warning: assignment makes pointer from integer > > without a cast > > WebObjects.c:499: warning: assignment makes pointer from integer > > without a cast > > lipo: can't figure out the architecture type > > of: /var/folders/8s/2k_p9d3111v6d_fb5nk7_m7h0000gn/T//ccD1Xi6c.out > > make[1]: *** [WebObjects.o] Error 1 > > make: *** [FastCGI] Error 2 > > > > bash-3.2$ > > bash-3.2$ make > > /usr/sbin/apxs -c -S CC=gcc -Wc,"-O2 -I/usr/include/apache2 > > -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER > > -DAPACHE -Wall -arch x86_64 -arch i386" -Wl," -arch x86_64 -arch > > i386 -macosx_version_min 10.5 -lm -module" > > mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c > > ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c > > ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c > > ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c > > ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c > > ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c > > ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c > > ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c > > ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c > > ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c > > /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc > > -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include > > -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 > > -O2 -I/usr/include/apache2 -I../Adaptor -DSINGLE_THREADED_ADAPTOR > > -DMACOS -DFORKING_WEBSERVER -DAPACHE -Wall -arch x86_64 -arch i386 > > -c -o mod_WebObjects.lo mod_WebObjects.c && touch mod_WebObjects.slo > > libtool: compile: unable to infer tagged configuration > > libtool: compile: specify a tag with `--tag' > > apxs:Error: Command failed with rc=65536 > > . > > make: *** [mod_WebObjects.so] Error 1 > > > > how can i build this in the right way? > > > > thanx > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com > > > > This email sent to bastian.tril...@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com