Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2009, 01:48 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Building the mod_jk connector - failing after ./configure


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 ./ command and it seems to build without a problem
# ./buildsh
rm autom4te.cache
libtoolize --force --automake --copy
automake -a --foreign --copy
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,

Old 01-05-2009, 02:17 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Directly from BUILD.txt:
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 from. It doesn't exist in my tomcat-connectors-1.2.27-src.)
Old 09-26-2013, 02:26 PM   #3
LQ Newbie
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
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"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Tomcat mod_jk connector dashp Linux - Newbie 1 04-01-2005 01:34 PM
Apache Tomcat (Building the mod_jk connector) dashp Linux - Newbie 1 03-28-2005 08:49 AM
Apache Tomcat mod_jk connector dashp Linux - Newbie 0 03-24-2005 07:12 PM
Apache Tomcat (Building the mod_jk connector) dashp Linux - Newbie 1 03-19-2005 01:38 PM - apache-tomcat connector anura Linux - Software 0 10-11-2004 03:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration