On Tue, Oct 6, 2009 at 10:53 PM, Michael Felt <[email protected]> wrote:
> Michael Felt wrote: > >> Rainer Jung wrote: >> >>> On 06.10.2009 21:22, Jeff Trawick wrote: >>> >>> >>>> mich...@x054:[/data/prj/http-2.2.14.bad/srclib/apr/build]grep -c aix >>>> *.m4 | grep -v :0 >>>> apr_hints.m4:5 >>>> libtool.m4:53 >>>> ltdl.m4:2 >>>> Most of these are in the form: >>>> aix[[4-9]]*) >>>> >>>> I saw a few aix5 ones, no aix6 specific ones. So you may have a good >>>> starting point. >>>> >>>> in aclocal.m4 for libtool.m4 I did not find a specific aix6) switch >>>> (also the aix[[4-9]]* format. >>>> >>>> regading the new libtool - is it enough to jst run ./buildconf - are >>>> there extra arguments I should be giving? Is there any logged output. >>>> >>>> >>>> should be; confirm by looking in configure to see if the new stuff is in >>>> there >>>> >>>> >>> >>> I just checked the latest libtool 1.x (1.5.26) which only has aix[4-9] >>> patterns, nothing aix5 specific. Another source of trouble could be >>> autoconf (e.g. config.guess) and automake. Recent versions (2.64 resp. >>> 1.10.2) seem to respect AIX 6 in their script. >>> >>> I don't have an AIX system at hand at the moment, but last time I build >>> on AIX 6.1 I was astonished, that they used .a as a suffix for shared >>> libs. They have two types of shared libs, depending on when symbol >>> resolution is done. >>> >>> My notes tell me, that at that time I changed the contents of libtool in >>> the following way: >>> >>> hardcode_action=immediate -> hardcode_action=relink >>> hardcode_direct=yes -> hardcode_direct=no >>> hardcode_minus_L=no -> hardcode_minus_L=yes >>> >>> I don't remember whether that was actually necessary. >>> >>> Regards, >>> >>> Rainer >>> >>> >> I had autoconf 2.63 installed (I believe buildconf wanted at least 2.50). >> Automake I do not have installed, so I'll install that and try again. >> Step 1 - unpack the archive again, and run buildconf. I'll capture the >> output to nohup.out - and check in a configure (directory) for additional >> logs. >> >> I have a POWER4 (AIX 6.1) and and POWER5 (with ivm and partitions, AIX 6.1 >> and AIX 5.3) so I can test several setups in parallel. Just provide simple >> instructions. the libtool people seem to have put great effort into aix5 and >> ia64. And a lot of the code seems to be gcc related. I'll look into getting >> two partitions (5.3 and 6.1) with a gcc compiler and see how things run. >> I know the xlC v7 compiler is oldish (withdrawn from support 30-09-09) but >> it is what I have. >> >> Suggestions welcome! >> >> btw: I believe AIX documentation says they use .so for shared objects, but >> also support .a as a shared object archive. And of course, the docs I found >> are on my other computer - that I cannot access at the moment. As I get >> further I'll be working on a FAQ for http://www.rootvg.net (I am >> webmaster there, and I am working on this build for that portal.) btw - my >> other goal is to build a binary distrubtion for AIX and publish it via >> rootvg.net. >> > mich...@x054:[/data/prj]diff http*14/build http*14.bad/build > Only in http-2.2.14.bad/build: config_vars.mk > Only in http-2.2.14.bad/build: config_vars.sh > Common subdirectories: httpd-2.2.14/build/pkg and http-2.2.14.bad/build/pkg > Common subdirectories: httpd-2.2.14/build/rpm and http-2.2.14.bad/build/rpm > Only in http-2.2.14.bad/build: rules.mk > Common subdirectories: httpd-2.2.14/build/win32 and > http-2.2.14.bad/build/win32 > > mich...@x054:[/data/prj]ls -l http*14*/configure > -rwxr-xr-x 1 michael www 654523 Oct 05 20:38 > http-2.2.14.bad/configure > -rwxr-xr-x 1 michael www 654523 Oct 06 20:50 > httpd-2.2.14/configure > > So, the configure file are the same, but having automake installed seems to > influenced the contents of the build directory at least. > Next, the configure.log > > mich...@x054:[/data/prj/httpd-2.2.14]grep "\./configure\[" nohup.conf* ./configure[4131]: ./srclib/apr-util/apu-1-config: not found ./configure[4147]: ./srclib/apr-util/apu-1-config: not found ./configure[4148]: ./srclib/apr-util/apu-1-config: not found ./configure[4149]: ./srclib/apr-util/apu-1-config: not found ./configure[5725]: ./srclib/apr-util/apu-1-config: not found ./configure[5863]: 6000-ibm-aix: bad number ./configure[21518]: ./srclib/apr-util/apu-1-config: not found ./configure[21519]: ./srclib/apr-util/apu-1-config: not found mich...@x054:[/data/prj/httpd-2.2.14]cd .. mich...@x054:[/data/prj]r ls ls -l http*14*/config*.log -rw------- 1 michael www 361544 Oct 05 21:22 http-2.2.14.bad/config.log -rw------- 1 michael www 360251 Oct 06 21:15 httpd-2.2.14/config.log The make job seems to proceed, but ends the same as yesterday... .... nawk -f /data/prj/httpd-2.2.14/srclib/apr/build/make_exports.awk /data/prj/httpd-2.2.14/srclib/apr/include/apr_allocator.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_atomic.h /data/pr j/httpd-2.2.14/srclib/apr/include/apr_dso.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_env.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_errno.h /data/prj/httpd-2.2.14/srclib/apr/in clude/apr_file_info.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_file_io.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_fnmatch.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_genera l.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_getopt.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_global_mutex.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_hash.h /data/prj/htt pd-2.2.14/srclib/apr/include/apr_inherit.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_lib.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_mmap.h /data/prj/httpd-2.2.14/srclib/apr/incl ude/apr_network_io.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_poll.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_pools.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_portable.h / data/prj/httpd-2.2.14/srclib/apr/include/apr_proc_mutex.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_random.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_ring.h /data/prj/httpd-2.2. 14/srclib/apr/include/apr_shm.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_signal.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_strings.h /data/prj/httpd-2.2.14/srclib/apr/include/a pr_support.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_tables.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_thread_cond.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_thread_mutex .h /data/prj/httpd-2.2.14/srclib/apr/include/apr_thread_proc.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_thread_rwlock.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_time.h /data/pr j/httpd-2.2.14/srclib/apr/include/apr_user.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_version.h /data/prj/httpd-2.2.14/srclib/apr/include/apr_want.h > exports.c xlc -E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I./include -I/data/prj/httpd-2.2.14/srclib/apr/include/arch/unix -I./include/arch/unix -I/data/prj/httpd-2.2.14/s rclib/apr/include/arch/unix -I/data/prj/httpd-2.2.14/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp xlc -E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I./include -I/data/prj/httpd-2.2.14/srclib/apr/include/arch/unix -I./include/arch/unix -I/data/prj/httpd-2.2.14/s rclib/apr/include/arch/unix -I/data/prj/httpd-2.2.14/srclib/apr/include exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp xlc -E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -I./include -I/data/prj/httpd-2.2.14/srclib/apr/include/arch/unix -I./include/arch/unix -I/data/prj/httpd-2.2.14/s rclib/apr/include/arch/unix -I/data/prj/httpd-2.2.14/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out sed 's,^\(apr_build.*=\).*$,\1/usr/local/apache2/build,' < build/ apr_rules.mk > build/apr_rules.out make[3]: Leaving directory `/data/prj/httpd-2.2.14/srclib/apr' make[2]: Leaving directory `/data/prj/httpd-2.2.14/srclib/apr' Making all in apr-util make[2]: Entering directory `/data/prj/httpd-2.2.14/srclib/apr-util' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/data/prj/httpd-2.2.14/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/prj/httpd-2.2.14/srclib' make: *** [all-recursive] Error 1 In short, the build fails. No clue what is wrong.
