Hi,
 
I am encountering problems with the compilation of mod_jk under AIX 5.1
I use first the configure script and then a make.
The configure script gives me a warning :
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported 
*** to be unable to reliably create shared libraries on AIX.           
*** Therefore, libtool is disabling shared libraries support.  If you  
*** really care for shared libraries, you may want to modify your PATH 
*** so that a non-GNU linker is found, and then restart.               
 
The make runs ok. The only strange thing is that I do not get a mod_jk.so at the end. 
I wonder what libtool install is supposed to do; it doesn't seem to generate any .so? 
 
/usr/bin/libtool --mode=install cp mod_jk.la `pwd
cp .libs/mod_jk.a /connector/native/apache-1.3/mo
cp .libs/mod_jk.lai /connector/native/apache-1.3/
cp .libs/mod_jk.a /connector/native/apache-1.3/mo
ranlib /connector/native/apache-1.3/mod_jk.a     
chmod 644 /connector/native/apache-1.3/mod_jk.a  
 
 
There are already 2 other problems I encountered trying to compile mod_jk but I could 
fix them thanks to other reports.
 
1) the AIX make doesn't interpret $< correctly in the makefile. This gives an error of 
the kind :
 
gcc -DUSE_APACHE_MD5 -I ../common/ -I /usr/java131/include -I 
/usr/java131/include/aix4.3.3.0 -I/usr/local/apache/src/include 
-I/usr/local/apache/src/os/unix -g -O2 -I../common -c -DPIC -o mod_jk.lo
gcc: No input files
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
 
the solution is to use make from GNU
 
2) it is not ok to mix gcc compiler and native linker 
 
My configuration :
                                         
apache 1.3.27
GNU compiler and linker V2.9
connector mod_jk source V 1.2.1
make from GNU
GNU libtool 1.4.3
 
I wonder if somebody has an advice or could send me a binary mod_jk.so for standard 
(not SSL) Apache. I tried to find on the internet but the ones I downloaded didn't 
work.
 
Thanks,
 
David.
 
 
 


Reply via email to