When trying create mod_webapp.so the "make" portion fails
Does anybody have a solution to this problem ?
I'm sure its happened before ..
I am building mod_webapp for apache 1.3.22 on RedHat Linux 7.2
(apache with openssl)
I have made the ./configure file ok (as per readme.txt in
webapp-module-1.0.1-tc401.tar.gz)
i.e
./configure
--with-apxs=/home/sfuser/wasp/1.0/modules/apache/1.3.22/bin/apxs
--with-apr=/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/apr/
--with-java=/usr/java/jdk1.3.1_01/
--with-tomcat=/home/sfuser/wasp/1.0/modules/tomcat/4.0/
my apache binaries , tomcat etc are in
/home/sfuser/wasp/1.0/modules....etc..
doing a make returns
make[1]: Invoking "make build"
make[2]: Entering directory
`/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/apache-1.3'
{
APXS_LDFLAGS_SHLIB="`/home/sfuser/wasp/1.0/modules/apache/1.3.22/bin/apxs
-q LDFLAGS_SHLIB` \
\
-lm -lcrypt -lnsl -ldl" ; \
APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
APXS_CFLAGS="`/home/sfuser/wasp/1.0/modules/apache/1.3.22/bin/apxs
-q CFLAGS` \
-g -O2 \
-g -O2 \
\
-DLINUX=2 -D_REENTRANT \
-I/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/apr/include \
-I/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/include \
" ; \
APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
/home/sfuser/wasp/1.0/modules/apache/1.3.22/bin/apxs \
-S CFLAGS="${APXS_CFLAGS}" \
-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
-o "mod_webapp.so" \
-c "mod_webapp.c" \
"/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/lib/libwebapp.a" \
"/home/sfuser/wasp/1.0/SRC/webapp-module-1.0.1-tc401/lib/libapr.a" ; \
}
Bareword found where operator expected at (eval 6) line 1, near
""-DLINUX=22 -DTARGET="httpsd"
(Missing operator before httpsd?)
String found where operator expected at (eval 6) line 1, at end of line
apxs:Error: no config variable LDFLAGS_SHLIB
After hunting around google I suspect my apxs is wrong I'm not sure
./apxs -q CFLAGS returns ..
-DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX -DNO_DL_NEEDED -DAPACHE_SSL
./apxs -q LDFLAGS_SHLIB returns nada
apxs has in side it ...
my $CFG_TARGET = q(httpsd);
my $CFG_CC = q(gcc); # substituted via Makefile.tmpl
my $CFG_CFLAGS = q( -DLINUX=22 -DTARGET="httpsd" -DUSE_HSREGEX
-DNO_DL_NEEDED -DAPACHE_SSL `../apaci`); # substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_LD_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_LIBS_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_PREFIX = q(/home/sfuser/wasp/1.0/modules/apache/1.3.22);
# substituted via APACI install
my $CFG_SBINDIR =
q(/home/sfuser/wasp/1.0/modules/apache/1.3.22/bin); # substituted via
APACI install
my $CFG_INCLUDEDIR =
q(/home/sfuser/wasp/1.0/modules/apache/1.3.22/include); # substituted
via APACI install
my $CFG_LIBEXECDIR =
q(/home/sfuser/wasp/1.0/modules/apache/1.3.22/libexec); # substituted
via APACI install
my $CFG_SYSCONFDIR = q(/home/sfuser/wasp/1.0/modules/apache/1.3.22/conf);
does anybody know what needs to be in there for LDFLAGS_SHLIB ?
thanks in advance
Liam
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>