I'm having a hard time trying to configure and build Apache JServ.
This is what I have:
Apache-JServer 1.0b3
Apache 1.3.4
AIX 4.3
Apache configure options:
--prefix=/usr/local/apache
--enable-module=so
--enable-shared=max
JServ configure options: (output is at the bottom)
--with-apache-install=/usr/local/apache
--with-jsdk=/usr/local/apache/classes/jsdk.jar
--prefix=/usr/local/jserv
--enable-apache-conf
Now the build process (make) stops with this message:
[host:]make
Making all in src
Making all in c
cp ./.libs/libjserv.so ./mod_jserv.so
cp: ./.libs/libjserv.so: A file or directory in the path name does not
exist.
make: 1254-004 The error code from the last command is 1.
Stop.
The file libserv.so does not exist anywhere on the system. Neither does the
.libs library.
Any idea where it should come from ?
Any help is greatly appreciated.
JServ configuration output:
===============================================================
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/installbsd -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 host system type... powerpc-ibm-aix4.3.1.0
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -B
checking whether ln -s works... (cached) yes
checking whether we are using GNU C... no
checking for cc option to produce PIC... none
checking if cc static flag -bnso -bI:/lib/syscalls.exp works... none
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 -B output... yes
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... aix4.3.1.0 ld.so
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
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/installbsd -c
checking whether ln -s works... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -g ) works... yes
checking whether the C compiler (cc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking for working const... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for ANSI C header files... (cached) yes
checking for gettimeofday... (cached) yes
checking for java in /usr/lpp/J1.1.6/bin... /usr/lpp/J1.1.6/bin/java
checking for javac in /usr/lpp/J1.1.6/bin... /usr/lpp/J1.1.6/bin/javac
checking for jar in /usr/lpp/J1.1.6/bin... /usr/lpp/J1.1.6/bin/jar
checking for Apache directory... /usr/local/apache
checking for Java Servlet classes... /usr/local/apache/classes/jsdk.jar
checking for httpd.h... (cached) yes
checking for http_config.h... (cached) yes
checking for http_core.h... (cached) yes
checking for http_log.h... (cached) yes
checking for http_main.h... (cached) yes
checking for http_protocol.h... (cached) yes
checking for util_script.h... (cached) yes
checking for util_md5.h... (cached) yes
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: /usr/local/apache
Apache Version: 1.3
Module Type: dynamic (DSO will be used to link mod_jserv into server
dynamically)
Apache include flags: -I/usr/local/apache/include
Run make to build jserv.
Then, to run the example put this in your httpd.conf:
Include /usr/local/JServ/Apache-JServ-1.0b3/example/jserv.conf
Then try visiting the URL:
http://w3test: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.
===============================================================
Sincerely,
Morten Christensen
[EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]