Hello

i'm trying to get WO running on a 64 bit linux (suse 9.x) and can't get the
apache-adaptor running at all.

i build/installed apache 2.2.4
like described under
http://www.tetlabors.de/wo/setup_webobjects_on_linux.html#compile_adaptor

with --enable-module=so --enable-module=rewrite --enable-shared=max
--enable-rule=SHARED_CORE

afterwards i copied the WO-Adaptors and changed the make.config and
Apache/Makefile to point to my apache installtion.
(also changed the mod_webobjects.c to the one coming from the project wonder
adaptor)

when running make the CGI-adaptor is created but the Apache adaptor build
gives this error:
//=================
ld -G -L/lib -lc   mod_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  -o mod_WebObjects.so
ld: mod_WebObjects.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
mod_WebObjects.o: could not read symbols: Bad value
make[1]: *** [mod_WebObjects.so] Error 1
make[1]: Leaving directory `/tmp/wo/Adaptors/Apache'
make: *** [Apache] Error 2
//=================

so i added the -fPIC flag to the CFLAGS

CFLAGS +=-DEAPI ${APACHE_INCL_FLAGS} -fPIC

Now my mod_WebObjects.so get build but the libtool says:

//=================
ld -G -L/lib -lc   mod_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  -o mod_WebObjects.so
/opt/apache22/bin/apxs -i mod_WebObjects.so
/opt/apache22/build/instdso.sh SH_LIBTOOL='/opt/apache22/build/libtool'
mod_WebObjects.so /opt/apache22/modules
/opt/apache22/build/libtool --mode=install cp mod_WebObjects.so
/opt/apache22/modules/
cp mod_WebObjects.so /opt/apache22/modules/mod_WebObjects.so
Warning!  dlname not found in /opt/apache22/modules/mod_WebObjects.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/apache22/modules/mod_WebObjects.so
make[1]: Leaving directory `/tmp/wo/Adaptors/Apache'
//=================

I applied all the changes to the httpd.conf as described but when starting
apache i get:

/opt/apache22/bin/apachectl: line 78:  5163 Segmentation fault      $HTTPD
-k $ARGV

WO itself is running as i can connect to the JavaMonitor via the port and
also apache is running wihtout loading the WO-module.

If anyone can give some hint i would be very happy as i start getting crazy.
Trying to get this running now for more that 10 hours ....

thanks in advance rene
 _______________________________________________
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