httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject building httpd-2.0.63 on AIX 6.1 - stuck: make install fails after buildconf
Date Sun, 20 Dec 2009 01:20:49 GMT
my best guess is that it is libtool related, but i am hoping the devs here
have some suggestions to help out.

AIX 6.1, xlC 7

for buildconf ...
autoconf (GNU Autoconf) 2.64
automake (GNU automake) 1.11
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)


I do not know libtool, and dont really want to learn it.

Steps followed.

1. download and unpack tarball
2. update config.guess from autoconf 2.64 sources
3. ./configure --prefix=/usr/local/apache2 --enable-layout=Apache
--enable-modules=so --enable-mods-shared=most
4. make

to here all looks fine -but all the shared modules are .a files rather than
.so

5. export DESTDIR=/data/prj/build/httpd2063; make install

this runs fine, but, as the shared modules are .a rather than .so the
command httpd -t complains about missing modules

6. make distclean; ./buildconf
7. ./configure --prefix=/usr/local/apache2 --enable-layout=Apache
--enable-modules=so --enable-mods-shared=most
8. make

now the modules are make as .so files however, make install fails

9. rm -rf /data/prj/build/httpd2063
10. export DESTDIR=/data/prj/build/httpd2063; make install

everything is fine until ....
make[1]: Entering directory `/data/prj/httpd-2.0.63/srclib/apr-util'
make[1]: Leaving directory `/data/prj/httpd-2.0.63/srclib/apr-util'
if [ ! -d /data/prj/build/httpd2063/usr/local/apache2/include ]; then \
            /data/prj/httpd-2.0.63/srclib/apr/build/mkdir.sh
/data/prj/build/httpd2063/usr/local/apache2/include; \
        fi;
cp -p /data/prj/httpd-2.0.63/srclib/apr-util/include/*.h
/data/prj/build/httpd2063/usr/local/apache2/include
if [ -n "/data/prj/httpd-2.0.63/srclib/apr-util" ]; then \
                cp -p /data/prj/httpd-2.0.63/srclib/apr-util/include/*.h
/data/prj/build/httpd2063/usr/local/apache2/include; \
        fi;
if [ ! -d /data/prj/build/httpd2063/usr/local/apache2/lib ]; then \
            /data/prj/httpd-2.0.63/srclib/apr/build/mkdir.sh
/data/prj/build/httpd2063/usr/local/apache2/lib; \
        fi;
list=''; for i in $list; do \
                ( cd $i ; make DESTDIR=/data/prj/build/httpd2063 install );
\
        done
/bin/sh /data/prj/httpd-2.0.63/srclib/apr/libtool --mode=install cp
libaprutil-0.la /data/prj/build/httpd2063/usr/local/apache2/lib
libtool: install: warning: relinking `libaprutil-0.la'
(cd /data/prj/httpd-2.0.63/srclib/apr-util; /bin/sh
/data/prj/httpd-2.0.63/srclib/apr/libtool --silent --mode=relink cc
-qlanglvl=extc89 -g -qHALT=E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE
-I/data/prj/httpd-2.0.63/srclib/apr-util/include
-I/data/prj/httpd-2.0.63/srclib/apr-util/include/private
-I/data/prj/httpd-2.0.63/srclib/apr/include -I/usr/local/include
-version-info 9:17:9 -Wl,-brtl -o libaprutil-0.la -rpath
/usr/local/apache2/lib  buckets/apr_buckets_flush.lo
buckets/apr_buckets_simple.lo buckets/apr_buckets_file.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_mmap.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets.lo
buckets/apr_buckets_refcount.lo buckets/apr_brigade.lo
buckets/apr_buckets_eos.lo buckets/apr_buckets_pipe.lo
buckets/apr_buckets_socket.lo buckets/apr_buckets_alloc.lo crypto/apr_md5.lo
crypto/apr_sha1.lo crypto/uuid.lo crypto/apr_md4.lo crypto/getuuid.lo
dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm.lo
dbm/sdbm/sdbm_pair.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm.lo
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_ndbm.lo encoding/apr_base64.lo
hooks/apr_hooks.lo ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo
uri/apr_uri.lo xml/apr_xml.lo misc/apr_reslist.lo misc/apr_queue.lo
misc/apr_rmm.lo misc/apr_date.lo misc/apu_version.lo
strmatch/apr_strmatch.lo xlate/xlate.lo -L/usr/local/lib /usr/local/lib/
libexpat.la -liconv /data/prj/httpd-2.0.63/srclib/apr/libapr-0.la -lm -lnsl
-lpthread -inst-prefix-dir /data/prj/build/httpd2063)
cc: 1501-228 input file /usr/local/apache2/lib/libapr-0.so not found
libtool: install: error: relink `libaprutil-0.la' with the above command
before installing it
make: *** [install] Error 1

=============
editing srclib/apr-util/libaprutil-0.la so that --silent is excluded
returns:

/bin/sh /data/prj/httpd-2.0.63/srclib/apr/libtool --mode=install cp
libaprutil-0.la /data/prj/build/httpd2063/usr/local/apache2/lib
libtool: install: warning: relinking `libaprutil-0.la'
(cd /data/prj/httpd-2.0.63/srclib/apr-util; /bin/sh
/data/prj/httpd-2.0.63/srclib/apr/libtool --mode=relink cc -qlanglvl=extc89
-g -qHALT=E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE
-I/data/prj/httpd-2.0.63/srclib/apr-util/include
-I/data/prj/httpd-2.0.63/srclib/apr-util/include/private
-I/data/prj/httpd-2.0.63/srclib/apr/include -I/usr/local/include
-version-info 9:17:9 -Wl,-brtl -o libaprutil-0.la -rpath
/usr/local/apache2/lib  buckets/apr_buckets_flush.lo
buckets/apr_buckets_simple.lo buckets/apr_buckets_file.lo
buckets/apr_buckets_pool.lo buckets/apr_buckets_mmap.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets.lo
buckets/apr_buckets_refcount.lo buckets/apr_brigade.lo
buckets/apr_buckets_eos.lo buckets/apr_buckets_pipe.lo
buckets/apr_buckets_socket.lo buckets/apr_buckets_alloc.lo crypto/apr_md5.lo
crypto/apr_sha1.lo crypto/uuid.lo crypto/apr_md4.lo crypto/getuuid.lo
dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm.lo
dbm/sdbm/sdbm_pair.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm.lo
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_ndbm.lo encoding/apr_base64.lo
hooks/apr_hooks.lo ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo
uri/apr_uri.lo xml/apr_xml.lo misc/apr_reslist.lo misc/apr_queue.lo
misc/apr_rmm.lo misc/apr_date.lo misc/apu_version.lo
strmatch/apr_strmatch.lo xlate/xlate.lo -L/usr/local/lib /usr/local/lib/
libexpat.la -liconv /data/prj/httpd-2.0.63/srclib/apr/libapr-0.la -lm -lnsl
-lpthread -inst-prefix-dir /data/prj/build/httpd2063)
generating symbol list for `libaprutil-0.la'
/usr/bin/nm -B -BCpg  buckets/.libs/apr_buckets_flush.o
buckets/.libs/apr_buckets_simple.o buckets/.libs/apr_buckets_file.o
buckets/.libs/apr_buckets_pool.o buckets/.libs/apr_buckets_mmap.o
buckets/.libs/apr_buckets_heap.o buckets/.libs/apr_buckets.o
buckets/.libs/apr_buckets_refcount.o buckets/.libs/apr_brigade.o
buckets/.libs/apr_buckets_eos.o buckets/.libs/apr_buckets_pipe.o
buckets/.libs/apr_buckets_socket.o buckets/.libs/apr_buckets_alloc.o
crypto/.libs/apr_md5.o crypto/.libs/apr_sha1.o crypto/.libs/uuid.o
crypto/.libs/apr_md4.o crypto/.libs/getuuid.o dbm/sdbm/.libs/sdbm_lock.o
dbm/sdbm/.libs/sdbm_hash.o dbm/sdbm/.libs/sdbm.o dbm/sdbm/.libs/sdbm_pair.o
dbm/.libs/apr_dbm_sdbm.o dbm/.libs/apr_dbm_gdbm.o dbm/.libs/apr_dbm.o
dbm/.libs/apr_dbm_berkeleydb.o dbm/.libs/apr_dbm_ndbm.o
encoding/.libs/apr_base64.o hooks/.libs/apr_hooks.o
ldap/.libs/apr_ldap_compat.o ldap/.libs/apr_ldap_url.o uri/.libs/apr_uri.o
xml/.libs/apr_xml.o misc/.libs/apr_reslist.o misc/.libs/apr_queue.o
misc/.libs/apr_rmm.o misc/.libs/apr_date.o misc/.libs/apu_version.o
strmatch/.libs/apr_strmatch.o xlate/.libs/xlate.o  | awk '{ if ((($2 == "T")
|| ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/libaprutil-0.exp
cc -qlanglvl=extc89 -o .libs/libaprutil-0.so.0.9.17
buckets/.libs/apr_buckets_flush.o buckets/.libs/apr_buckets_simple.o
buckets/.libs/apr_buckets_file.o buckets/.libs/apr_buckets_pool.o
buckets/.libs/apr_buckets_mmap.o buckets/.libs/apr_buckets_heap.o
buckets/.libs/apr_buckets.o buckets/.libs/apr_buckets_refcount.o
buckets/.libs/apr_brigade.o buckets/.libs/apr_buckets_eos.o
buckets/.libs/apr_buckets_pipe.o buckets/.libs/apr_buckets_socket.o
buckets/.libs/apr_buckets_alloc.o crypto/.libs/apr_md5.o
crypto/.libs/apr_sha1.o crypto/.libs/uuid.o crypto/.libs/apr_md4.o
crypto/.libs/getuuid.o dbm/sdbm/.libs/sdbm_lock.o dbm/sdbm/.libs/sdbm_hash.o
dbm/sdbm/.libs/sdbm.o dbm/sdbm/.libs/sdbm_pair.o dbm/.libs/apr_dbm_sdbm.o
dbm/.libs/apr_dbm_gdbm.o dbm/.libs/apr_dbm.o dbm/.libs/apr_dbm_berkeleydb.o
dbm/.libs/apr_dbm_ndbm.o encoding/.libs/apr_base64.o hooks/.libs/apr_hooks.o
ldap/.libs/apr_ldap_compat.o ldap/.libs/apr_ldap_url.o uri/.libs/apr_uri.o
xml/.libs/apr_xml.o misc/.libs/apr_reslist.o misc/.libs/apr_queue.o
misc/.libs/apr_rmm.o misc/.libs/apr_date.o misc/.libs/apu_version.o
strmatch/.libs/apr_strmatch.o xlate/.libs/xlate.o
-Wl,-blibpath:/usr/local/apache2/lib:/usr/vac/lib:/usr/lib:/lib
-L/usr/local/lib /usr/local/lib/libexpat.a -liconv
/usr/local/apache2/lib/libapr-0.so -lm -lnsl -lpthread -lc -Wl,-bnoentry
-qlanglvl=extc89 -qHALT=E -Wl,-brtl `if test "x-berok" != "x"; then echo
"-Wl,-berok"; else :; fi` -Wl,-bexport:.libs/libaprutil-0.exp -Wl,-G
cc: 1501-228 input file /usr/local/apache2/lib/libapr-0.so not found
libtool: install: error: relink `libaprutil-0.la' with the above command
before installing it
make: *** [install] Error 1
michael@x054:[/data/prj/httpd-2.0.63/srclib/apr-util]

I have repeated the steps above three times. Same result. Assistence is
greatly appreciated.

Mime
View raw message