tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Tinnes <...@tinnes.us>
Subject Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
Date Wed, 05 Jan 2005 17:25:27 GMT
Mladen,

No luck, alas. Same error. But thank you for the pointer, all the same.

[root@host]# make
Making all in common
make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc 
-I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 
-DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DHAVE_APR 
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include 
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2 -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
gcc: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: linker 
input file unused because linking not done
cc1: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: No such 
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make: *** [all-recursive] Error 1


On Jan 4, 2005, at 11:30 PM, Mladen Turk wrote:

> Perhaps the error is caused by space between -I and /usr/local/java
> Have no idea why this happening. I've tested the build on
> RH9 not on RHE3.
>
> Edit the common/Makefile.in and remove the spaces:
> From:
> JAVA_INCL=-I @JAVA_HOME@/include -I @JAVA_HOME@/include/@OS@
> To:
> JAVA_INCL=-I@JAVA_HOME@/include -I@JAVA_HOME@/include/@OS@
>
> Tell me if that helps.
>
> Mladen.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message