You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fernando Espinosa <fe...@puebla.gob.mx> on 2003/09/15 21:41:54 UTC

Apache 3.127 + Tomcat 4.24 + Solaris 8 + mod_jk

Hi my name is Fernando, and I have some problems to configurate my
Apache 3.127 + Tomcat 4.24 + Solaris 8 + mod_jk
 
I downloaded the source jakarta-tomcat-connectors-jk-1.2.0-src , and
execute the comand:
 
# ./configure --with-apxs=/usr/local/apache/bin/apxs
loading cache ./config.cache
checking for a BSD compatible install... scripts/build/unix/install-sh
-c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for /usr/ccs/bin/ld option to reload object files... (cached)
-r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/ccs/bin/nm -p output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)    -fPIC
checking if gcc PIC flag    -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself...
(cached) no
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for test... (cached) /usr/bin/test
checking for rm... (cached) /usr/bin/rm
checking for grep... (cached) /usr/bin/grep
checking for echo... (cached) /usr/ucb/echo
checking for sed... (cached) /usr/bin/sed
checking for cp... (cached) /usr/bin/cp
checking for mkdir... (cached) /usr/bin/mkdir
checking for libtool... (cached)
/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/apache/bin
need to check for Perl first, apxs depends on it...
checking for perl... (cached) /usr/bin/perl
building connector for "apache-1.3"
checking for target platform... unix
no apache given
updating cache ./config.cache
creating ./config.status
creating Makefile
creating apache-1.3/Makefile
creating apache-1.3/Makefile.apxs
creating apache-2.0/Makefile
creating apache-2.0/Makefile.apxs
creating common/Makefile
creating common/list.mk
creating jni/Makefile
 
(I think everithing is ok), but whe a I write 
 
 
$ make
Making all in common
/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/apache/bin
--mode=compile gcc -I/usr/local/apache/include -g -O2 -DSOLARIS2=280
-DEAPI -O3 -g -O2  -I /usr/java1.4.2/j2sdk1.4.2/include -I
/usr/java1.4.2/j2sdk1.4.2/include/ -c jk_ajp12_worker.c
sh: /usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/apache/bin: not
found
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory
/export/home/apache/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/com
mon
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
 
 
Any Idea??? I did the same in one linux, but never have a problem.
 
Best Regards....