First thing I would try is rebuilding and reinstalling apr-1

On 15/01/2009, at 11:21 AM, Rhys Dewar wrote:

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/Deployment/Apachewhich 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com

This email sent to qdo...@gmail.com



--
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



 _______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to