Hi

Sergio Sánchez Maffet wrote :
> I have tried to compile the Apple provided example on Linux without
> success.
> This example needs to be modified to compile on Linux.
Just use the project Wonder source (
http://prdownloads.sourceforge.net/wonder/Wonder-3.0-src.zip?download ),
 no need do change the code, just need to correct the "make" files.

_Get apr and apache dev stuf installed (package name depend on your
linux distrib)
_Edit make.config and change :
 APACHEINCLUDE_DIR = /usr/include/apache2
 APXS = /usr/sbin/apxs2
 ADAPTORS = Apache2.2
_Edit Apache2.2/Makefile and change:
 INCLUDES = -I${APACHEINCLUDE_DIR} -I../Adaptor -I/usr/include/apr-0
(as I am using an hardened kernel & gcc I have to add -fPIC -fpic /
-fpic  to CFLAGS/LDFLAGS)
(adapt the path as necessary, apr-1-config/apr-config --includedir  may
help)
_ type make and you should have a mod_WebObjects.so in your apache
modules dir

Tested on Gentoo, Debian, RedHat with apache 1.3 ,2.0, 2.2 and WO 5.2.4,
5.3.3 (not all combinations)

> Before I start to invest time on it:
> Is there another source that runs without modifications or does I miss
> something, maybe there is already a binary on the net somewhere? 
If it exist it's a bad idea, that kind of binary isn't portable...

Regards

Aurélien

ps: I haven't yet tested 5.4 adaptor sources.
 _______________________________________________
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 [EMAIL PROTECTED]

Reply via email to