You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dorin Florian Ciuca <do...@inthelrom.ro> on 2002/10/04 16:03:16 UTC

jk on HP-UX

Hi,

 I can't build jk connector on HP-UX.  Could someone help me or do you have the binaries for this machine ?


I have HP - UX  B.11.00 U 9000/800.

After I ran configure i got something like this :

creating 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}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... hppa2.0w-hp-hpux11.00
checking build system type... hppa2.0w-hp-hpux11.00
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/local/bin/nm -B output... ok
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/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking for dlopen in -ldl... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 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... /usr/bin/test
checking for rm... /usr/bin/rm
checking for grep... /usr/bin/grep
checking for echo... /usr/bin/echo
checking for sed... /usr/bin/sed
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
checking for libtool... /usr/local/bin/libtool
need to check for Perl first, apxs depends on it...
checking for perl... /usr/local/bin/perl
/usr/bin/test[7]: test: Specify a parameter with this command.
/usr/bin/test[7]: test: Specify a parameter with this command.
apxs:Error: Invalid query string `EXTRA_CFLAGS'
apxs:Error: Invalid query string `EXTRA_CPPFLAGS'
building connector for "apache-2.0"
checking for target platform... unix
no apache given
...Enabling EAPI Support...
/usr/bin/test[7]: test: Specify a parameter with this command.
/usr/bin/test[7]: test: Specify a parameter with this command.
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


        but when I ran make it crashed:


No suffix list.
Making all in common
        /usr/local/bin/libtool --mode=compile gcc -I/usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl./usr/local/apache/include -g -O2 -DEAPI /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl.-DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl. -g -O2 -DEAPI /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl. -I /include -I /include/ -c ./jk_ajp12_worker.c
rm -f .libs/jk_ajp12_worker.lo
gcc -I/usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl./usr/local/apache/include -g -O2 -DEAPI /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl.-DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl. -g -O2 -DEAPI /usr/local/lib/perl5/5.8.0/PA-RISC2.0/usr/local/lib/perl5/5.8.0/usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0/usr/local/lib/perl5/site_perl/5.8.0/usr/local/lib/perl5/site_perl. -I /include -I /include/ -c ./jk_ajp12_worker.c     -fPIC -DPIC -o .libs/jk_ajp12_worker.lo
gcc: cannot specify -o with -c or -S and multiple compilations
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.