Hello to All,
I have a HP9000 G40 running HPUX 11 and installed GNUgcc,
GNUmake, GNUbinutils, JSDK 2.0 and JDK 1.1.7. I installed apache 1.3.11
with no problem(no errors). I whant to install Jserv 1.x.
I tried to install Jserv 1.0b4, the "configure" had no problems,
but when i did the "make" a got the following error message:
gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.0b4\" -DSTDC_HEADERS=1
-DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1
-DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1
-DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1
-DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I.
-I/desarrollo/apache/include -g -O2 -c -fPIC -DPIC jserv_mmap.c
jserv_mmap.c:386: conflicting types for `jserv_setdead'
jserv.h:266: previous declaration of `jserv_setdead'
make[2]: *** [jserv_mmap.lo] Error 1
make[2]: Leaving directory `/desarrollo/Jserv/src/c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/desarrollo/Jserv/src'
make: *** [all-recursive] Error 1
{root@intrades}->
I then tried to install Jserv 1.1, but here the configure failed
with the fallowing error (the error is at the bottom):
{root@intrades}->./configure --with-apache-install=/desarrollo/apache
--with-jsdk=/opt/JSDK2.0/lib
creating cache ./config.cache
Configuring ApacheJServ/1.1
checking for a BSD compatible install...
src/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... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... hppa1.1-hp-hpux11.00
checking build system type... hppa1.1-hp-hpux11.00
checking for ranlib... ranlib
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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /opt/binutils/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking command to parse /opt/binutils/bin/nm -B output... ok
checking how to hardcode library paths into programs... relink
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install...
src/scripts/build/unix/install-sh -c
checking whether ln -s works... (cached) yes
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 echo... /usr/bin/echo
checking for find... /usr/bin/find
checking for sed... /usr/bin/sed
checking for test... /usr/bin/test
checking for rm... /sbin/rm
checking for head... /usr/bin/head
checking for tr... /usr/bin/tr
checking for grep... /usr/bin/grep
checking for cut... /usr/bin/cut
checking for touch... /usr/bin/touch
checking for cat... /sbin/cat
checking for cp... /usr/bin/cp
checking for make... /opt/make/bin/make
checking for chmod... /sbin/chmod
checking for GNU make... GNU Make version 3.78.1, by Richard Stallman
and Roland McGrath.
/usr/bin/test[7]: test: Specify a parameter with this command.
/opt/make/bin/make
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for mode_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking for gettimeofday... yes
WARNING: --with-apache-src is undefined: assuming shared object build
checking for apxs... /usr/bin/test[7]: test: Specify a parameter with
this command.
configure: error: not found
{root@intrades}->
Does anyone now how to resolv this problems? or Do i need to
work whit another version of Jserv?
What can i do to make Apache 1.3.x work with Jserv. 1.x in HPUX
11?
Best Regards
Julio
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]