-
1. Re: make not create .so in aix7.1 and httpd 2.2.14
jfclere Feb 27, 2013 5:56 AM (in response to jginer)It looks like the libtool you have is broken, where did you get the Apache httpd?
I guess libtool can't find the C compiler may be
-tag=CC could help.
What does apxs -q CC says? Do you have the same compiler?
-
2. Re: make not create .so in aix7.1 and httpd 2.2.14
jginer Feb 27, 2013 6:02 AM (in response to jfclere)It is the Apache distribution for IBM AIX compiles and distributes 'Expansion Pack'
Apache HTTP Server 2.2.14.0 httpd.base -
3. Re: make not create .so in aix7.1 and httpd 2.2.14
jfclere Feb 27, 2013 10:39 AM (in response to jginer)Ok (I was hoping you compile it your self) :-(
So What does apxs -q CC says? Do you have the same compiler?
-
4. Re: make not create .so in aix7.1 and httpd 2.2.14
jginer Feb 28, 2013 3:53 AM (in response to jfclere)(/usr/IBMAHS/bin)# ./apxs -q CC
xlC
(/usr/IBMAHS/bin)# xlC -qversion
ksh: xlC: not found.
(/usr/IBMAHS/bin)# lslpp -l|grep xlC
xlC.aix61.rte 12.1.0.0 COMMITTED IBM XL C++ Runtime for AIX 6.1
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 12.1.0.0 COMMITTED IBM XL C++ Runtime
xlC.rte 12.1.0.0 COMMITTED IBM XL C++ Runtime for AIX
xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2Does mean that the compiler is not installed?
-
5. Re: make not create .so in aix7.1 and httpd 2.2.14
jfclere Feb 28, 2013 4:22 AM (in response to jginer)Yes that seems to the problem.
-
6. Re: make not create .so in aix7.1 and httpd 2.2.14
jginer Feb 28, 2013 4:32 AM (in response to jfclere)Can we use another compiler (gcc)? How?
-
7. Re: make not create .so in aix7.1 and httpd 2.2.14
jfclere Feb 28, 2013 4:34 AM (in response to jginer)Using gcc isn't a good idea you have to use the same compiler for httpd and mod_cluster otherwise it won't work.
-
8. Re: make not create .so in aix7.1 and httpd 2.2.14
jginer May 3, 2013 5:58 AM (in response to jfclere)We install xlc:
xlc -qversion
IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72)
Version: 12.01.0000.0000
We repeat instructions of the documentation for each module (proxy, slotmem, manager, proxy_cluster), and only advertise was erroneous:
sh buildconf
Creating configure
./configure --with-apxs=/usr/IBMAHS/bin/apxs
checking for Apache httpd installation... APXS is /usr/IBMAHS/bin/apxs
apxs support is true
configure: creating ./config.status
config.status:creating Makefile
make
/usr/IBMAHS/build/libtool --silent --tag=CC --mode=link xlC -g -qHALT=E -Wl,-brtl -L/usr/include/openssl/lib -Wl,-brtl -L/usr/include/openssl/lib -lm -o mod_advertise.la -rpath /usr/IBMAHS/modules -module -avoid-version mod_advertise.lo
Usage: nm [-ACfhlprTv] [-B|-P] [-e|-g|-u] [-d|-o|-x|{-t [d|x|o]}]
[-X{32|64|32_64|d64|any}] [--] File ...
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
make: 1254-004 The error code from the last command is 8.
Stop.
Any suggestion?
-
9. Re: make not create .so in aix7.1 and httpd 2.2.14
jfclere May 3, 2013 7:56 AM (in response to jginer)The only difference in the makefile is that advertise has only a single source file... Weird :-(
Would it be possible to run:
/usr/IBMAHS/build/libtool with --debug to see what failed in the build.
-
10. Re: make not create .so in aix7.1 and httpd 2.2.14
jginer May 8, 2013 7:00 AM (in response to jfclere)Hi,
One week later, we try it again and the archive .so is created.
We only do a "make clean" before to repeat the instructions.
Thank you for your help.
Regards,