I recently built and installed the Apache2.2 adaptor on linux (Fedora
Core 7/i386 32-bit). Here is what I remember having to do:
I made the following changes to make.config:
*** make.config Wed Sep 27 23:00:09 2006
--- /tmp/make.config Thu Jan 3 15:06:48 2008
***************
*** 6,11 ****
--- 6,13 ----
# Set the platform you are building on
# MACOS =
+ OS = LINUX
+
# Define the OS.
ifeq "" "${OS}"
OS = MACOS
***************
*** 70,78 ****
# OTHER LINUX
else
! ADAPTORS = CGI Apache
APXS = $(shell bash -c 'if [ -d /usr/local/apache ]; then echo /
usr/local/apache/bin/apxs;else echo /usr/sbin/apxs;fi')
! APACHEINCLUDEFLAGS = $(shell bash -c 'if [ -d /usr/local/apache ];
then echo -I/usr/local/apache/include;else echo -I/usr/include/
apache;fi')
endif
endif
--- 72,81 ----
# OTHER LINUX
else
! ADAPTORS = Apache2.2
APXS = $(shell bash -c 'if [ -d /usr/local/apache ]; then echo /
usr/local/apache/bin/apxs;else echo /usr/sbin/apxs;fi')
! #APACHEINCLUDEFLAGS = $(shell bash -c 'apr-1-config --includes') -I/
usr/include/httpd
! APACHEINCLUDE_DIR = /usr/include/httpd
endif
endif
I made the following changes to Apache2.2/Makefile:
*** Apache2.2/Makefile Wed Sep 27 23:00:09 2006
--- /tmp/Makefile Thu Jan 3 15:07:04 2008
***************
*** 3,12 ****
# Set up a bunch of environment settings
SHELL = /bin/sh
! INCLUDES = -I${APACHEINCLUDE_DIR} -I../Adaptor
# Common compiler and linker flags
! CFLAGS = -O2 -Wall ${INCLUDES} ${DEBUG_FLAG} -
DSINGLE_THREADED_ADAPTOR -D${OS} -DFORKING_WEBSERVER -DAPACHE $
{ENABLE_SSL_SUPPORT}
APXSFLAGS = -c -S CC=${CC} -Wc,"${CFLAGS}" -Wl,"${LDFLAGS}"
--- 3,12 ----
# Set up a bunch of environment settings
SHELL = /bin/sh
! INCLUDES = -I${APACHEINCLUDE_DIR} -I../Adaptor $(shell bash -c
'apr-1-config --includes')
# Common compiler and linker flags
! CFLAGS = -O2 -Wall ${INCLUDES} ${DEBUG_FLAG} -
DSINGLE_THREADED_ADAPTOR -D${OS} -DFORKING_WEBSERVER -DAPACHE $
{ENABLE_SSL_SUPPORT} $(shell bash -c 'apr-1-config --cppflags --cflags')
APXSFLAGS = -c -S CC=${CC} -Wc,"${CFLAGS}" -Wl,"${LDFLAGS}"
The installation instructions tell you to use apxs to to install the
module. This did not work for me - it created an incomplete .so file.
I copied Apache2.2/mod_WebObjects.so to /etc/httpd/modules/, and that
worked.
Hope that helps.
Tobias
On Jan 3, 2008, at 2:56 PM, Paul Charles Leddy wrote:
Hello,
What is your status? Still trying?
From my experience, this is a supreme challenge to build. The
make.config file is not correct, needs more hand tweaking then
would be expected.
Also, the final installation commands are not correct either, but I
don't remember how I got it to work.
Yes, send errors. One by one.
Paul Charles Leddy
[EMAIL PROTECTED]
IT / NOC
Systems Administration and Engineering
Build Engineer / Developer Tools
503-248-4440 x125
On Dec 13, 2007, at 11:07 AM, ute Hoffmann wrote:
Hallo,
we tried about an hour to compile the apache adaptor source from
wonder version 4.
We are on a Linux Debian etch install, 32 Bit, Apache 2.2.
We changed the make.config and put OS-Linux in the upper part,
additionally we changed the path according to our system.
Our problem is that the compiler looks for header files, which are
commented out in the make files, but seem to be referenced
somewhere. Another problem is that apr is not found, again apr is
commented out...
Question: Is there somebody who has better knowledge of the wonder
adaptor source files and how to change them for compilation on
linux. The descriptions available are for Apache1, we have Apache 2.
Question2: Would I be better off with the files from the nightly
build - but beware: No WO 5.4, it will be WO 5.3 deployment
Question3: Is there somewhere perhaps a compiled Adapter for
Debian, etch, 32 Bit, Apache 2.2?
Thank you for your help, if you need the exact error messages to
help, I can post them.
Regards,
Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/paul%
40site9.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/tobias%
40handbuiltsw.com
This email sent to [EMAIL PROTECTED]
---
Tobias Crawley
[EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]