LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Building the mod_jk connector - failing after ./configure (https://www.linuxquestions.org/questions/linux-newbie-8/building-the-mod_jk-connector-failing-after-configure-695157/)

jlipker 01-05-2009 01:48 PM

Building the mod_jk connector - failing after ./configure
 
Hi

I am trying to build the mod_jk for my linux install and am running into errors that I cannot fix.

OS: Linux 5 enterprise
Installed Apache \ Tomcat from distro cd to default locations.

Ensured both Apache and Tomcat are not running.

I downloaded mod_jk - tomcat-connectors-jk1.2.27-src.tar.gz

untared it to /usr/src directory

Run ./build.sh command and it seems to build without a problem
# ./buildsh
rm autom4te.cache
libtoolize --force --automake --copy
aclocal
automake -a --foreign --copy
autoconf
rm autom4te.cache

Run the ./configure --with-apxs2=/usr/sbin/apxs
[when I try to use --with-apxs=, I recieve error that directory cannot be found. but changing it to apxs2 appears to correct it.]

It begins processing, but then dies with following errors:
no apache given
no netscape given
configure: error: Cannot find the WebServer

I reviewed the config.log but cannot determine what is problem.

is there something I am missing?

Any help would be appreciated,

thanks

anomie 01-05-2009 02:17 PM

Directly from BUILD.txt:
Quote:

Documentation for how to build mod_jk 1.2 from source and configure
it for your webserver is located in the native/BUILDING.txt file in this
source distribution.

For the impatient Apache admins:
$> cd native
$> ./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is)
$> make
$> su -c 'make install'
I fall into the impatient Apache admin category, so that's how I built / installed mod_jk. Very easy.

(I'm not sure where you got build.sh from. It doesn't exist in my tomcat-connectors-1.2.27-src.)

tbonavia 09-26-2013 02:26 PM

another cause for error
 
in my case I installed apache via "yum install httpd" which does not include the apxs file
The solution was to also "yum install httpd-devel"


All times are GMT -5. The time now is 03:04 AM.