tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shweta Parakh -X (shparakh - Infosys at Cisco)" <shpar...@cisco.com>
Subject Error in building mod_jk for Apache 2.2.x and Tomcat 4.x
Date Tue, 03 Feb 2009 12:29:53 GMT
Hi,
 
I am trying to build mod_jk for Apache 2.2.11 and Tomcat 4.1.39 on
Solaris platform
 
1. Downloaded mod_jk (version 1.2.27) source from
http://tomcat.apache.org/download-connectors.cgi
    and is kept in /opt/mod_jk-1.2.27 directory
 
2. Installed apache2 in /opt/apache-2.2.11 directory.
 
3. I am able to configure mod_jk using below command to generate
Makefile
./configure --with-apxs2=/opt/apache-2.2.11/usr/local/apache2/bin/apxs
--with-java-home=/opt/support/java/Java1.6.0_05/bin/java
--with-apache=/opt/apache 2.2.11/usr/local/apache2
 
4. I could see 3 Makefiles are generated (Makefile, Makefile.in,
Makefile.am) in /opt/mod_jk-1.2.27/native
 
But I am getting below error while running make :
make[1]: *** [lib_jk.la] Error 1
make[1]: Leaving directory `/opt/mod_jk-1.2.27/native/apache-2.0'
make: *** [all-recursive] Error 1
 
5. libtool is being given below mentioned arguments :
./libtool --mode=link gcc -o lib_jk.la -static -rpath
/opt/apache-2.2.11/usr/local/apache2/modules/jk mod_jk.lo
../common/jk_ajp12_worker.lo ../common/jk_connect.lo
../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo
../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo
../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo
../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo
../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo
../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo
../common/jk_status.lo false cru .libs/lib_jk.a  mod_jk.o
../common/jk_ajp12_worker.o ../common/jk_connect.o
../common/jk_msg_buff.o ../common/jk_util.o ../common/jk_ajp13.o
../common/jk_pool.o ../common/jk_worker.o ../common/jk_ajp13_worker.o
../common/jk_lb_worker.o ../common/jk_sockbuf.o ../common/jk_map.o
../common/jk_uri_worker_map.o ../common/jk_ajp14.o
../common/jk_ajp14_worker.o ../common/jk_md5.o ../common/jk_shm.o
../common/jk_ajp_common.o ../common/jk_context.o ../common/jk_url.o
../common/jk_status.o
 
6. When I run libtool script independently in bash mode, I could see
below error :
...
+ libtool_args='gcc -o lib_jk.la -static -rpath
/opt/apache-2.2.11/usr/local/apache2/modules/jk mod_jk.lo'
+ test -n ''
+ prevarg=mod_jk.lo
+ case $arg in
+ test -z ''
+ echo 'libtool: link: `mod_jk.lo'\'' is not a valid libtool object'
libtool: link: `mod_jk.lo' is not a valid libtool object
+ exit 1

Could someone please let me know what can be done to resolve this issue?
Thank you.
 
Regards,
Shweta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message