-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
I had the same problem. I found the solution in the mail archives
(http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/).
Here's a snippet to help solve the problem:
> One of the build scripts in src/scripts/build/unix/ltconfig needs a
change
> in order
> to build on HPUX. On line 1182 if you change all the ".sl"'s to ".so"'s
it
> will build. I am
> working with the jserv group to get this changed in the source.
Also, I found out that after you compile JServ, the ApacheJServ.jar file
will be corrupt. The solution: use the ApacheJServ.jar file that exists
before compiling.
Of course, I had problems compiling 1.3.9 of Apache...
kevin
[EMAIL PROTECTED]
-----Original Message-----
From: Kay Kasper [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 31, 1999 9:43 AM
To: [EMAIL PROTECTED]
Subject: problems to generate libjserv.so under HP-UX 11.0
-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hi,
I tried to compile JServ-1.0 (with Apache 1.3.9 already successfully
compiled)
under HP-UX 11.0 and get during the make procedure the following output and
error message:
/bin/sh ../../libtool --mode=link cc -g -Ae -o libjserv.la -rpath
/tmp/jserv/lib -version-info 0:0 mod_jserv.lo jserv_protocols.lo
jserv_ajpv11.lo jserv_balance.lo jserv_mmap.lo jserv_watchdog.lo
jserv_utils.lo jserv_status.lo jserv_wrapper.lo jserv_wrapper_unix.lo
jserv_image.lo
mkdir .libs
/usr/bin/ld -b +h libjserv.sl.0 +s +b /tmp/jserv/lib -o
.libs/libjserv.sl.0.0
mod_jserv.lo jserv_protocols.lo jserv_ajpv11.lo jserv_balance.lo
jserv_mmap.lo
jserv_watchdog.lo jserv_utils.lo jserv_status.lo jserv_wrapper.lo
jserv_wrapper_unix.lo jserv_image.lo
(cd .libs && ln -s libjserv.sl.0.0 libjserv.sl.0)
(cd .libs && ln -s libjserv.sl.0.0 libjserv.sl)
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.
Up to that point everything compiled without problems. The message is
correct.
There is no libjserv.so that could be copied. Why???
I used the following options:
./configure --prefix=/tmp/jserv \
--with-apache-install=/opt/apache/v139 \
--with-jdk-home=/opt/java \
--with-jsdk=/opt/java/JSDK2.0/lib/jsdk.jar
and in the Makefiles I added as a compiler option "-Ae" (otherwise I get
compiler errors).
Thanks for your help
Kay Kasper
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]