Bluehost.com Web Hosting $6.95

Problem with integrating apache & tomcat on Redhat linux 9

This is a discussion on Problem with integrating apache & tomcat on Redhat linux 9 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi all, i am integrating apache & tomcat on Redhat linux 9. The setup is: apache 2.0.40 tomcat ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-22-2003
Prem
 
Posts: n/a
Default Problem with integrating apache & tomcat on Redhat linux 9

Hi all,

i am integrating apache & tomcat on Redhat linux 9.

The setup is:
apache 2.0.40
tomcat 4.1.27

while creating the jk connector,
the following is what i did and faced the error below.
"make[1]: ./libtool: Command not found"

and mod_jk.so is not created as expected.

-------- what i did (start here) ------------

[root@Moon native]# buildconf.sh
libtoolize --force --automake --copy
aclocal
automake -a --foreign -i --copy
configure.in: installing `scripts/build/unix/install-sh'
configure.in: installing `scripts/build/unix/mkinstalldirs'
configure.in: installing `scripts/build/unix/missing'
autoconf

[root@Moon native]# ./configure --with-apxs=/usr/sbin/apxs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for libtool... ./libtool
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for "apache-2.0"
checking for target platform... unix
no apache given
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: executing depfiles commands

[root@Moon native]# make
Making all in common
make[1]: Entering directory
`/usr/src/jakarta-tomcat-connectors-4.1.27-src/jk/native/common'
../libtool --mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -pipe
-march=i386 -mcpu=i686 -I/usr/kerberos/include -pthread
-DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I
/usr/java/j2sdk1.4.2_02/include -I /usr/java/j2sdk1.4.2_02/include/ -c
jk_ajp12_worker.c
make[1]: ./libtool: Command not found
make[1]: *** [jk_ajp12_worker.lo] Error 127
make[1]: Leaving directory
`/usr/src/jakarta-tomcat-connectors-4.1.27-src/jk/native/common'
make: *** [all-recursive] Error 1

-------- what i did (ends here) --------

have u guys faced this ? i'm stuck. kindly throw some light on this.

Thanks & Regards,
Prem.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:02 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0