You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bruce Wright <br...@responsys.com> on 2002/06/13 10:43:33 UTC

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/jakarta-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/support/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