Hi everyone,
I was wondering if anyone has found the solution to this problem....
however, it may be worth noting that this is a new install of HP-UX11 and
has all the latest patches as a couple of weeks ago.
I have installed Apache 1.3.12 and tomcat 3.2beta6 on an Hp box running
HP-UX11. Both of these products work great separately, but building the
mod_jk module has been a bad experience. I first attempted building the
mod_jserv module using Tomcat 3.1 but ran into problems there when the build
command tried to build *.so files, where the HP was using *.sl libraries.
After doing some reading on the Apache site I elected to try the Tomcat3.2
beta and see what mod_jk had to offer. When running the apxs command I
get the following error ......
"cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite +z -DSHARED_CORE -DSHARED_MODULE -I/apps/apache/include
-I../jk -I/opt/java1.2/include -I/opt/java1.2/include/hp-ux -DHPUX -c
mod_jk.c
cpp: "../jk/jk_global.h", line 91: error 4036: Can't open include file
'sys/select.h'.
apxs:Break: Command failed with rc=65536"
My apxs command looks like this...
"/apps/apache/bin/apxs -o mod_jk.so -DHPUX -I../jk -I/opt/java1.2/include
-I/opt/java1.2/include/hp-ux -c *.c ../jk/*.c"
As far as I can tell, the distributed build scripts are looking for the
system call 'sys/select.sh' which used to exist in older versions of HP-UX.
However, when you do a man for 'select' it says that the system library that
contains this is 'sys/time.sh'. I have tried editing the "jk_global.h"
file in the "jk" directory several ways to let it look in the "sys/time.sh"
file for the needed include command. However, whatever I do just causes a
break further down the system.
So my question is simple in the end: Has anyone successfully compiled mod_jk
for use with Apache 1.3.x on an HP-UX11 box? and if so, am I missing
something, or did you come up with a cool trick of your own that you would
be interested in sharing with the rest of us? ;-)
Any help would be appreciated!
Brian