LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-19-2005, 11:28 AM   #1
dashp
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Rep: Reputation: 0
Apache Tomcat (Building the mod_jk connector)


I am trying to use the latest mod_jk.so for the Tomcat and Apache communication. I am folllowing directions and failing in the following step. Do I have to build this connector before use it?

linux:/home/d/MyDownloads/Webserver_Software # /usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/buildconf.sh
rm autom4te.cache
libtoolize --force --automake --copy
libtoolize: `configure.ac' does not exist
Try `libtoolize --help' for more information.
aclocal
aclocal: `configure.ac' or `configure.in' is required
autoheader
autoheader: `configure.ac' or `configure.in' is required
automake -a --foreign --copy
automake: `configure.ac' or `configure.in' is required
autoconf
autoconf: no input file
rm autom4te.cache

These are the directions that am using:

I refer to the folder where the connector source is installed as CONN_SRC_HOME. In my case CONN_SRC_HOME = /usr/src/jakarta-tomcat-connectors-1.2.8-src.
Run the buildconf script to to create the CONN_SRC_HOME/jk/native/configure file.

CONN_SRC_HOME/jk/native/buildconf.sh

Run the configure script with the path to the apxs file on your system and the options below:

./configure --with-apxs=/usr/sbin/apxs

Build mod_jk with the following command:

make


If you see missing object errors, try this alternate command:

make LIBTOOL=/etc/httpd/build/libtool

If all went well, the mod_jk.so file was successfully created. Manually copy it to Apache's shared object files directory:

cp CONN_SRC_HOME/jk/native/apache-2.0/mod_jk.so /etc/httpd/modules
 
Old 03-19-2005, 01:38 PM   #2
Egy
LQ Newbie
 
Registered: Jan 2005
Location: Ukraine
Distribution: Slackware 10
Posts: 8

Rep: Reputation: 0
It looks like you're running buildconf.sh from the wrong directory. Try to cd to the directory you unpacked connectors archive (/usr/src/jakarta-tomcat-connectors-1.2.8-src/jk/native/ in your case)
 
  


Reply


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
connecting Apache 1.3.x and Tomcat 5.5: mod_jk [GOD]Anck Slackware 0 03-22-2005 09:27 AM
mod_jk-2.0.42.so - apache-tomcat connector anura Linux - Software 0 10-11-2004 03:53 AM


All times are GMT -5. The time now is 07:46 AM.

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