Hi,
I am new to the list and new to tomcat/apache.
I installed apache 1.3.17 and tomcat 2.3.1 on our HP server, running hp-ux
11.00 (64bit).
Both are running well standalone with simple configurations. We need to
make tomcat
working with apache. Now I am working on building mod_jk and had some
problems.
Instructions I used include Tomcat - A Minimalistic User's Guide,
Tomcat-Apache HOWTO,
and mod_jk-howto.html. Finally I found build-hpux.sh and build-hpux-cc.sh
in
jacarta-tomcat-3.3-m2-src.tar.
When I run build-hpux.sh, or execute the following command
$APACHE_HOME/bin/apxs -o mod_jk.so -I../common -I/opt/java/include
-I/opt/java/include/hp-ux
-c *.c ../common/*.c
I have received the same error message:
Can't locate strict.pm @INC (@INC contains:
/opt/perl5/lib/5.6.1/PA-RISC1 ... )
at /usr/local/apache/bin/apxs line 68.
BEGIN failed--comilation aborted at /usr/local/apache/bin/apxs line
68.
Line 68 or apex:
use strict;
Does anybody know what this mean and how should I fix it?
When I comment off this line, and run the same script or apxs directly,
I had some other error messsages:
(bundled) cc: warning 480: The -A option is available only with the
C/ANCI C product; ignored.
...
(bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.
apxs: Break: Command failed with rc=1
Then I changed apxs on line 76: q(cc) --> q(gcc)
This time the error messages are related to gcc:
gcc: +z No such file or directory
gcc: unrecognized option '-02'
...
apxs: Break: Command failed with rc=1
I do not know much about perl. It seems I had a wrong apxs.
Is there any easy way to fix it? Or I have to recompile the apache
completely.
Or there might be some other way I can get the mod_jk I need for hp-ux?
Thanks a lot for any information and help!
Alice
Xiaobu Alice Lian
Database Engineer
Agere Systems
[EMAIL PROTECTED]
(484)397-2583
I