tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yunming...@mergent.com
Subject RE: Any one knows how to compile, install mod_jk on Apache2 and T omca t4.0.3?
Date Thu, 16 May 2002 14:43:54 GMT
Thanks you.

I tried the link you gave to me.

I got an compiling error while "ant native"

It seems it would be ok if use gcc instead of cc compiler. But I don't know
how to tell ant to use gcc. 

Do you know how to tell ant to use gcc? 


Thank you again.


Yunming

-----------------------------------------------

Buildfile: build.xml

jkant:

native:

init:

apache20:
       [so] Compiling 19 out of 19
Compiling
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_a
jp12_worker.c
       [so] Compile failed 1
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_a
jp12_worker.c
       [so] Command:libtool --mode=compile cc -c -o
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/build/WEB-INF/jk/a
pache2/common/jk_ajp12_worker.o
-I/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common
-I/home/liy/local/Apache/include
-I/opt/devtools/java/j2sdk1_3_1/jre/../include -g -W -D_REENTRANT
-DCHUNK_SIZE=4096 -DREUSE_WORKER -DUSE_APACHE_MD5
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_a
jp12_worker.c
       [so] Output:
       [so] rm -f
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/build/WEB-INF/jk/a
pache2/common/.libs/jk_ajp12_worker.lo
cc -c
-I/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common
-I/home/liy/local/Apache/include
-I/opt/devtools/java/j2sdk1_3_1/jre/../include -g -W -D_REENTRANT
-DCHUNK_SIZE=4096 -DREUSE_WORKER -DUSE_APACHE_MD5
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_a
jp12_worker.c  -fPIC -DPIC -o
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/build/WEB-INF/jk/a
pache2/common/.libs/jk_ajp12_worker.lo

       [so] StdErr:
       [so] cc: illegal option -W-D_REENTRANT


BUILD FAILED

/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/build.xml:1
33: Compile failed
/home/liy/local/jakarta-tomcat-connectors-4.0.2-01-src/jk/native/common/jk_a
jp12_worker.c

Total time: 4 seconds

-----Original Message-----
From: Simon Stewart [mailto:sms@lateral.net]
Sent: Wednesday, May 15, 2002 6:28 PM
To: Tomcat Users List
Subject: Re: Any one knows how to compile, install mod_jk on Apache2 and
Tomca t4.0.3?


On Wed, 2002-05-15 at 23:15, Yunming.Li@mergent.com wrote:
> Hi, 
> If any one knows how to install mod_jk AJP on Apache2 and Tomcat4.0.3.
> Please show us here. Many people here are having problem with that. I even
> don't know if it will work for Apache2 and Tomcat4.0.3. 

IME, it doesn't work on Linux, but the way that I used to compile it is
up at http://www.pubbitch.org/jboss/

HTH,

Simon


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message