LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   mod_jk compile problems (https://www.linuxquestions.org/questions/linux-kernel-70/mod_jk-compile-problems-454656/)

Akhil Kapoor 06-14-2006 07:33 AM

mod_jk compile problems
 
Hi all,

I am Akhil Kapoor with experinece of various Unix flavour and FC5 linux.

I am currently having problem in installing mod_jk for tomcat5 and apache2

The connetcor version is /usr/src/jakarta-tomcat-connectors-1.2.15-src/jk/native

when running buildconf.sh I am getting the following errors

sh-3.1# sh -x buildconf.sh
+ $'\r'
: command not found2:
' echo 'rm autom4te.cache
rm autom4te.cache
+ rm -rf $'autom4te.cache\r'
+ $'\r'
: command not found5:
' echo 'libtoolize --force --automake --copy
libtoolize --force --automake --copy
+ libtoolize --force --automake $'--copy\r'
'ibtoolize: unrecognized option `--copy
Try `libtoolize --help' for more information.
+ echo $'aclocal\r'
aclocal
+ $'/usr/bin/aclocal\r'
: No such file or directory/bin/aclocal
+ echo $'autoheader\r'
autoheader
+ $'autoheader\r'
: command not found13: autoheader
' echo 'automake -a --foreign --copy
automake -a --foreign --copy
+ automake -a --foreign $'--copy\r'
'utomake: unrecognized option `--copy
automake: Try `/usr/bin/automake --help' for more information.
+ echo $'autoconf\r'
autoconf
+ $'autoconf\r'
: command not found17: autoconf
+ $'\r'
: command not found18:
' echo 'rm autom4te.cache
rm autom4te.cache
+ rm -rf $'autom4te.cache\r'

I have installed httpd_devel package and all the requested connector packages like libtool and autoconf packages.

Any help is appreciated.

tHANKS IN ADVANCE

bathory 06-14-2006 12:50 PM

Hi and welcome to LQ.
There is no need to run builconf.sh if you are using the source code from the jakarta project. It's used only when you are using source code from cvs to create the ./configure script. So, to install mod_jk you have to run:
Code:

./configure --with-apxs=/path/to/apache/bin/apxs
BTW, you should tell a mod to move your post from this forum to another one more suitable, since it has nothing to do with the linux kernel.

Regards

Akhil Kapoor 06-15-2006 10:51 AM

mod_jk compile,
 
Hi all,

Thanks for the reply. I think that connector 1.2.15 has problems. i downloaded version 1.2.14 and could configure it ok.

Thanks for all the help

Akhil


All times are GMT -5. The time now is 12:56 PM.