www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nielsen@hyperreal.org, Steve <...@enteract.com>
Subject mod_jserv/4110: running configure then make "out of the box" does not work
Date Wed, 24 Mar 1999 19:13:19 GMT

>Number:         4110
>Category:       mod_jserv
>Synopsis:       running configure then make "out of the box" does not work
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 24 11:20:01 PST 1999
>Last-Modified:
>Originator:     spn@enteract.com
>Organization:
apache
>Release:        1.3.4
>Environment:
HP-UX intdata2 B.10.20 A 9000/800
>Description:
creating cache ./config.cache
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.0-hp-hpux10.20
checking for ranlib... ranlib
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc -DHPUX -D_HPUX_SOURCE -Aa +z ) works... yes
checking whether the C compiler (cc -DHPUX -D_HPUX_SOURCE -Aa +z ) is a cross-compiler...
no
checking whether we are using GNU C... no
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking whether we are using GNU C... no
checking for cc option to produce PIC... +Z
checking if cc PIC flag +Z works... no
checking if cc static flag -Wl,-a -Wl,archive works... -Wl,-a -Wl,archive
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 /usr/ccs/bin/nm -p output... no
checking how to hardcode library paths into programs... relink
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... hpux10.20 dld.sl
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
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) cc
checking whether the C compiler (cc -DHPUX -D_HPUX_SOURCE -Aa +z ) works... yes
checking whether the C compiler (cc -DHPUX -D_HPUX_SOURCE -Aa +z ) is a cross-compiler...
no
checking whether we are using GNU C... (cached) no
checking for working const... yes
checking how to run the C preprocessor... cc -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
checking for java... /opt/java/bin/java
checking for javac... /opt/java/bin/javac
checking for jar... /opt/java/bin/jar
checking for Apache directory... /web.sysdev/apache
checking for Java Servlet classes... ../JSDK2.0/lib/jsdk.jar
checking for httpd.h... yes
checking for http_config.h... yes
checking for http_core.h... yes
checking for http_log.h... yes
checking for http_main.h... yes
checking for http_protocol.h... yes
checking for util_script.h... yes
checking for util_md5.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/java/Makefile
creating src/c/Makefile
creating docs/Makefile
creating example/Makefile
creating conf/jserv.properties
creating example/jserv.conf
creating example/example.properties
creating example/Hello.java
creating example/jserv.properties

Configuration complete.

Apache Directory: /web.sysdev/apache
Apache Version: 1.3
Module Type: dynamic (DSO will be used to link mod_jserv into server dynamically)
Apache include flags: -I/web.sysdev/apache/include


Run make to build jserv.

Then, to run the example put this in your httpd.conf:

Include /web.sysdev/src.new/Apache-JServ-1.0b3/example/jserv.conf

Then try visiting the URL:

http://intdata2:SERVER_PORT/example/Hello

If that works then you have successfully setup Apache JServ.
You might consider putting frequently used options into ./configure-options

For further information please read the documentation.
No suffix list.
Making all in src
No suffix list.
Making all in c
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c mod_jserv.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c mod_jserv.c
echo timestamp > mod_jserv.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_protocols.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_protocols.c
echo timestamp > jserv_protocols.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_ajpv11.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_ajpv11.c
cc: "jserv_ajpv11.c", line 206: warning 604: Pointers are not assignment-compatible.
cc: "jserv_ajpv11.c", line 206: warning 563: Argument #2 is not the correct type.
cc: "jserv_ajpv11.c", line 207: warning 604: Pointers are not assignment-compatible.
cc: "jserv_ajpv11.c", line 207: warning 563: Argument #1 is not the correct type.
echo timestamp > jserv_ajpv11.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_balance.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_balance.c
echo timestamp > jserv_balance.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_utils.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_utils.c
echo timestamp > jserv_utils.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_status.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_status.c
echo timestamp > jserv_status.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_wrapper.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_wrapper.c
echo timestamp > jserv_wrapper.lo
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_wrapper_unix.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_wrapper_unix.c
echo timestamp > jserv_wrapper_unix.lo
    cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -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 -DHA
VE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include  -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_mkimg.c
    cc -o jserv_mkimg jserv_mkimg.o
    ./jserv_mkimg jserv.gif jserv_image.c
    /bin/sh ../../libtool --mode=compile cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\"
-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_M
AIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1  -I. -I.    -I/web.sysdev/apache/include
 -DHPUX -D_HPUX
_SOURCE -Aa +z -c jserv_image.c
cc -DPACKAGE=\"Apache-JServ\" -DVERSION=\"1.0b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1
-DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DH
AVE_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_U
TIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -I. -I. -I/web.sysdev/apache/include -DHPUX -D_HPUX_SOURCE
-Aa +z -c jserv_image.c
echo timestamp > jserv_image.lo
    /bin/sh ../../libtool --mode=link cc  -DHPUX -D_HPUX_SOURCE -Aa +z  -o libjserv.la -rpath
/web.sysdev/jserv/lib -version-info 0:
0 mod_jserv.lo  jserv_protocols.lo jserv_ajpv11.lo jserv_balance.lo  jserv_utils.lo jserv_status.lo
jserv_wrapper.lo  jserv_wrapper_
unix.lo jserv_image.lo
mkdir .libs
ar cru .libs/libjserv.a
ranlib .libs/libjserv.a
creating libjserv.la
(cd .libs && ln -s ../libjserv.la libjserv.la)
    cp ./.libs/libjserv.so ./mod_jserv.so
cp: cannot access ./.libs/libjserv.so: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
>How-To-Repeat:
Download apache 1.3.4 and jserv 1.0b3 and try to install
>Fix:
Sorry for the verbosity of the description. I figured more info is better than 
not enough :).
It looks like when compiling for DSO there is no target for libjserv.so in the
src/c/Makefile. So it never gets created and hence the problem above. 
Might this be a problem in the configure process?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message