Q: I am getting some error in compiling Apache Adaptor of webobjects on windows.
Hi All
I wanted to compile the webobjects apache adaptor sources.
I followed the instruction from below pdf from apple official pdf.
But I am getting below error.
cd Apache ; make
c -S CC=gcc -Wc,-O2 -Wall -I../Adaptor -g -DSINGLE_THREADED_ADAPTOR -DWindows_NT
-DFORKING_WEBSERVER -DAPACHE -Wl, mod_WebObjects.c 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
c: not found
make[1]: [mod_WebObjects.so] Error 2 (ignored)
strip mod_WebObjects.so
strip: not found
make[1]: *** [mod_WebObjects.so] Error 2
make: *** [Apache] Error 2
please help me to find out the real cause.
Thanks
Raghvendra kumar
webobjects, Windows 7, compiling apache adaptor
Posted on Dec 11, 2012 12:40 PM
Apple has opensourced the code for mod_WebObjects.so. It is currently being maintained at
Your best option is to use precompiled binaries. Precompiled binaries of mod_WebObjects.so, including for Windows, are available from
http://wocommunity.org/documents/tools/mod_WebObjects/
If you want to build from source then use the latest source which is included in the Project Wonder source code in the /Utilities/Adaptors folder. Instructions for getting Wonder source code are at
http://wiki.wocommunity.org/display/documentation/Getting+the+Wonder+Source+Code
Instructions for compiling, although not specific to Windows, are at the bottom of the page
http://wiki.wocommunity.org/display/documentation/Configuring+Apache+for+WebObje cts
Additional instructions for compiling on Linux are at
http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+ Linux
Instructions for installing Apache adaptor on Windows are available at
http://wiki.wocommunity.org/display/documentation/Deploying+on+Windows
Hope this helps
Tim
Posted on Dec 11, 2012 5:06 PM