I got the same error last week.  I fixed it by getting and installing APR
from CVS according to the mod_webapp README.txt.

Also make sure that the apxs your install is finding is the Apache 2
apxs...if this is a machine that also has Apache 1.x, the buildconf script
may be picking up the Apache 1.x apxs instead of the Apache 2 apxs.  You can
explicitly declare which apxs to use.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-----Original Message-----
From: Bruce Wright [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 4:44 AM
To: [EMAIL PROTECTED]
Subject: Trouble Compiling mod_webapp


I have apache 2.0.36 compiled and installed on RedHat 7.3

I'm using the following two source archives:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1
.2.0/src/apr_APACHE_2_0_35.tar.gz
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakar
ta-tomcat-connectors-4.0.2-01-src.tar.gz

Step 1.
/bin/sh ./support/buildconf.sh
output looks fine...
Creating configure ...
--- All done

Step 2.
./configure --with-apxs=/usr/local/apache2/bin/apxs
output looks fine...till here...

APR location
checking for APR sources...
/root/riapps/Tomcat.4.0.3/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apr
checking for APR libraries... no
checking for APR includes... no
<--Does this mean I copied the apr to the wrong location?-->

more OK output...
All done. Now you can issue "make". Good luck.

Step 3.
make
output looks fine...till the end...
/usr/local/apache2/build/libtool:
/root/riapps/Tomcat.4.0.3/jakarta-tomcat-connectors-4.0.2-01-src/webapp/supp
ort/install.sh: /bin/sh: bad interpreter: Permission denied
make[2]: ***
[/root/riapps/Tomcat.4.0.3/jakarta-tomcat-connectors-4.0.2-01-src/webapp/lib
/libwebapp.a] Error 126
make[2]: Leaving directory
`/root/riapps/Tomcat.4.0.3/jakarta-tomcat-connectors-4.0.2-01-src/webapp/lib
'
make[1]: Exiting directory "lib"
make[1]: *** [template] Error 2
make[1]: Leaving directory
`/root/riapps/Tomcat.4.0.3/jakarta-tomcat-connectors-4.0.2-01-src/webapp'
make: *** [lib-build] Error 2

I am running this as root...why do I get Permission denied???  Any
thoughts???

Thanks in advance

Reply via email to