Re: Precompiled WOAdaptor for apache 2.4
Re: Precompiled WOAdaptor for apache 2.4
- Subject: Re: Precompiled WOAdaptor for apache 2.4
- From: Benjamin Chew <email@hidden>
- Date: Thu, 30 Oct 2014 16:18:00 -0700
Patrick, thanks for the write-up. I rearranged John's instructions to this:
Install XCode (6.1)
cd /Applications/Xcode.app/Contents/Developer/Toolchains
sudo ln -s XcodeDefault.xctoolchain OSX10.10.xctoolchain
cd /tmp
vi /tmp/Adaptors/Apache2.4/Makefile
and remove the arg -macosx_version_min 10.5
cd /tmp/Adaptors
gnumake (some bits fail, but carry on)
gnumake Apache2.4
----------
When I did the "gnumake", I got some errors at the end, but I expected that because Patrick said FastCGI wouldn't build. But when I did the "gnumake Apache2.4", I got this (unexpected):
/usr/sbin/apxs -c -S CC=gcc -Wc,"-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 -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 -DDARWIN_10 -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
mod_WebObjects.c:63:10: fatal error: 'httpd.h' file not found
#include <httpd.h>
^
1 error generated.
apxs:Error: Command failed with rc=65536
.
gnumake: *** [mod_WebObjects.so] Error 1
----------
Does anyone know how to resolve this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden