You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Ricker <be...@gmail.com> on 2005/07/13 22:53:46 UTC

Issue compiling mod_jk 1.2.10 on AIX

After 800 tries at getting APache compiled with the AIX C compiler
xlc_r, I now need to compile mod_k. I downloaded the sources for
connector 1.2.10.

I am trying to compile it on AIX 5L with uname -a "AIX hostname 2 5
00C04A2E4C00". I am using AIX's cc_r compiler per instructions from
http://people.apache.org/~trawick/tomcataix.html#mod_jk_gcc.

I think the compile is in some sort of loop. Here is the output from
truss that repeats over and over:

statx("/usr/bin/ln", 0x2FF211B8, 76, 0)         = 0
link("/tmp/sh3686418.1", "/tmp/sh3686418.3671") = 0
kfork()                                         = 3850378
_sigaction(20, 0x00000000, 0x2FF21210)          = 0
_sigaction(20, 0x2FF21210, 0x2FF21220)          = 0
kwaitpid(0x2FF21280, -1, 6, 0x00000000, 0x00000000) = 3850378
_sigaction(20, 0x00000000, 0x2FF21210)          = 0
_sigaction(20, 0x2FF21210, 0x2FF21220)          = 0
statx("/usr/bin/sleep", 0x2FF20F18, 76, 0)      = 0

It creates a link in /tmp, does that kfork stuff, and then sleeps
until the next symlink. The numbers on the tmp file keep going up
(i.e., the "3671" in the "/tmp/sh3686418.foo").

Here is the make it is hanging on:

/bin/sh /sys_apps_01/apache/server20Cent/versions/server2.0.47/build/libtool
--silent --mode=compile cc_r
-I/sys_apps_01/apache/server20Cent/versions/server2.0.47/include -g -g
-qHALT=E -DHAVE_APR
-I/apps_01/webapps/apache_compile/httpd-2.0.47/srclib/apr/include -g
-U__STR__ -D_THREAD_SAFE -D_USE_IRS -I /include -I /include/ -c
jk_ajp12_worker.c

My config was: "CC=cc_r" ./configure --with-apxs=/path/to/apache/bin/apxs"

I also tried to use Gcc and it hung just the same as cc_r did.

Any ideas,

Ben RIcker

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