Hi Pieter, Thank you for the response. I did check my config.log and I can see something like below. I have attached my config.log file. It has been more than a week that I am stuck with this issue. It would be really great if you could help me with this.
Regards, Shweta conftest.c:10:28: ac_nonexistent.h: No such file or directory configure:5280: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "mod_jk" | #define VERSION "1.2.27" | /* end confdefs.h. */ | #include <ac_nonexistent.h> ... configure:10301: result: no configure:10306: checking for shl_load in -ldld configure:10341: gcc -o conftest -g -O2 conftest.c -ldld >&5 ld: fatal: library -ldld: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure:10347: $? = 1 configure: failed program was: | /* confdefs.h. */ -----Original Message----- From: Pieter Temmerman [mailto:ptemmerman....@sadiel.es] Sent: Tuesday, February 03, 2009 6:09 PM To: Tomcat Users List Subject: Re: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x Maybe something went wrong during the configure step. Could you take a look at the config.log file and check whether there are any errors being logged. On Tue, 2009-02-03 at 17:59 +0530, Shweta Parakh -X (shparakh - Infosys at Cisco) wrote: > 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 -- Pieter Temmerman email: ptemmerman....@sadiel.es skype: ptemmerman.sadiel SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org