Hi there,

 

I'm trying to upgrade a MacOS 10.4.11 box from Apache 1.3.41 to Apache 2.2 -
we want to use some Apache mods that are 2.2 only.  I've successfully
installed Apache 2.2.11 via macports, and after a lot of googling, found
that there is an Apache 2.2 compatible mod_WebObjects in Project Wonder.
So, I downloaded
http://webobjects.mdimension.com/wonder/Wonder-latest-Source.tar.gz,
untarred it, edited the make.config and attempted to compile it.  Now, I'm
getting this error;

 

/opt/local/apache2/bin/apxs -c -S CC=gcc -Wc,"-O2 -Wall
-I/opt/local/apache2/include -I/opt/local/include/apr-1 -I../Adaptor
-DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE   " -Wl,"
-macosx_version_min 10.4 -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

 

/opt/local/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic
-O2  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/include -I/opt/local/apache2/include
-I/opt/local/include/apr-1   -I/opt/local/include/apr-1 -I/opt/local/include
-O2 -Wall -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE
-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

 

I did find a reference to this problem by Travis Cripps at
http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/Deploym
ent/Apache which mentioned adding

 

CC=gcc

 

To the make.config to fix it, however I have made this change (and it does
appear to be using gcc), but I still get the same error.

 

What I have is;

 

MacOS 10.4.11

Apache 2.2.11, installed at /opt/local/apache2

Wonder-latest-Source.tar.gz dated 14 Jan 2009

Gcc version : powerpc-apple-darwin8-gcc-4.0.1

 

Variables I have explicitly set in make.config;

 

ADAPTORS=Apache2.2

APACHEINCLUDE_DIR=/opt/local/apache2/include

APACHEMODULE_DIR=/opt/local/apache2/modules

APXS=/opt/local/apache2/bin/apxs

CC=gcc

 

And in Apache2.2/Makefile I tweaked MACOSX_DEPLOYMENT_TARGET to 10.4 and
macosx_version_min to 10.4 - they were 10.5.

 

Any ideas on how to get past this?

 

Thanks very much

 

Rhys Dewar

 

 

 

 

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to