Operating System - HP-UX
1830356 Members
2252 Online
110001 Solutions
New Discussion

Apache for HPUX11 (mod_jk)

 
Janet Norton
Occasional Contributor

Apache for HPUX11 (mod_jk)

I am having difficulties compiling mod_jk on hpux 11. I tried installing apache1.3.14 & jakarta-tomcat-3.3. Both where running but I had no luck compiling mod_jk. So I downloaded apache2.0 web server (which includes tomcat) from hp web site and have the same problem (apxs error) shown below.

Any tips or suggestions on how to compile mod_jk would be greatly appreciated.

Installed:
Apache2 2.0.00.00
gcc 3.0.1
libtool 1.3.5
perl 5.6.1

# ./build-unix.sh
APACHE_HOME=/opt/apache2
Compiling mod_jk
/opt/libtool/bin/libtool --silent --mode=compile /opt/gcc/bin/gcc -O2 -DNO_DBM_REWRITEMAP -I/opt/apache2/include -I../common -I/opt/apache2/include/apr-util -I/opt/jdk1.3/include -I/opt/jdk1.3/include/hp-ux -c -o jk_ajp12_worker.lo jk_ajp12_worker.c && touch jk_ajp12_worker.slo
In file included from /usr/include/netdb.h:72,
from ../common/jk_global.h:82,
from ../common/jk_logger.h:65,
from ../common/jk_ajp12_worker.h:65,
from jk_ajp12_worker.c:63:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:484: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:486: parse error before "bsize_t"
In file included from /usr/include/sys/mp.h:55,
from /usr/include/sys/malloc.h:59,
from /usr/include/net/netmp.h:53,
from /usr/include/sys/socketvar.h:62,
from ../common/jk_global.h:90,
from ../common/jk_logger.h:65,
from ../common/jk_ajp12_worker.h:65,
from jk_ajp12_worker.c:63:
/usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
apxs:Break: Command failed with rc=65536
Installing mod_jk.so into /opt/apache2/libexec
cp: cannot access mod_jk.so: No such file or directory
Done. Install by running ./install-unix.sh
3 REPLIES 3
Janet Norton
Occasional Contributor

Re: Apache for HPUX11 (mod_jk)

Thanks for the info.

I am using tomcat-3.3 which fixed these security issues. Tomcat and Apache are running OK, my problem is compiling the servlet connector mod_jk so Apache will use Tomcat. HP provides a binary for mod_serv which mod_jk replaces. Any help compiling mod_jk would be appreciated (see above posting for error detail).
someone_4
Honored Contributor

Re: Apache for HPUX11 (mod_jk)

I had problems trying to compile apahce before. But then someone pointed me to this link
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=category&group_name=ISS

Here you will find apache 1.3.19.23 compiled . And it is free. The best part its is a depot. download it upload it to your system and swinstall. You are done.

Richard