httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject AIX porting, various levels, creating a DESTDIR build and related "issues"
Date Mon, 26 Dec 2011 17:17:01 GMT
Hi all,

I am getting back to doing "recent" ports to AIX 5.3+ and am running into
various minor issues. I do not wish to call any of them a "bug",
but would like to discuss the best approach to get some modifications
worked on so that they go away. This may be a modification in my
understanding (aka learning).

Note: when I use  --enable-maintainer-mode I get some "errors" from the IBM
compiler that stop all activity. I am not concerned with those now.

As I would like to create an installable package I am exporting DESTDIR and
then running "make install"

If I do this immediately (with no install in the normal (runtime) position
I get an error early on during the install (see example 1 below) - while
the "normal" install completes with no errors.
Example 1:

> ....
> Making install in apr-util
> Making all in xml/expat
> Target "all" is up to date.
> Target "local-all" is up to date.
>         /data/prj/httpd-2.2.21/srclib/apr/build/mkdir.sh
> /data/prj/build/http_2221/opt/apache2/include
> /data/prj/build/http_2221/var/apache2/lib/pkgconfig
> /data/prj/build/http_2221/var/apache2/lib
> /data/prj/build/http_2221/var/apache2/bin
>         for f in /data/prj/httpd-2.2.21/srclib/apr-util/include/*.h
> /data/prj/httpd-2.2.21/srclib/apr-util/include/*.h; do  build/install.sh -c
> -m 644 ${f} /data/prj/build/http_2221/opt/apache2/include;  done
>         build/install.sh -c -m 644 apr-util.pc
> /data/prj/build/http_2221/var/apache2/lib/pkgconfig/apr-util-1.pc
>         list='xml/expat'; for i in $list; do  ( cd $i ; make
> DESTDIR=/data/prj/build/http_2221 install );  done
>         /bin/sh ./conftools/mkinstalldirs
> /data/prj/build/http_2221/var/apache2/lib
> /data/prj/build/http_2221/opt/apache2/include
>         /bin/sh ./libtool  --mode=install conftools/install-sh -c
> libexpat.la /data/prj/build/http_2221/var/apache2/lib/libexpat.la
> conftools/install-sh -c .libs/libexpat.a
> /data/prj/build/http_2221/var/apache2/lib/libexpat.a
> conftools/install-sh -c .libs/libexpat.lai
> /data/prj/build/http_2221/var/apache2/lib/libexpat.la
> libtool: install: warning: remember to run `libtool --finish
> /var/apache2/lib'
>         conftools/install-sh -c -m 644 ./lib/expat.h
> /data/prj/build/http_2221/opt/apache2/include
> Target "install" is up to date.
>         /bin/sh /data/prj/httpd-2.2.21/srclib/apr/libtool --mode=install
> build/install.sh -c -m 755 libaprutil-1.la/data/prj/build/http_2221/var/apache2/lib
> libtool: install: warning: relinking `libaprutil-1.la'
> (cd /data/prj/httpd-2.2.21/srclib/apr-util; /bin/sh
> /data/prj/httpd-2.2.21/srclib/apr/libtool  --silent --mode=relink cc
> -qlanglvl=extc89 -g -qHALT=E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE
> -D_USE_IRS -D_LARGEFILE64_SOURCE
> -I/data/prj/httpd-2.2.21/srclib/apr-util/include
> -I/data/prj/httpd-2.2.21/srclib/apr-util/include/private
> -I/data/prj/httpd-2.2.21/srclib/apr/include
> -I/data/prj/httpd-2.2.21/srclib/apr-util/xml/expat/lib -version-info 3:12:3
> -Wl,-brtl -o libaprutil-1.la -rpath /var/apache2/lib
> buckets/apr_brigade.lo buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo
> buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo
> buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo
> buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo
> buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo
> buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo
> crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_sha1.lo crypto/getuuid.lo
> crypto/uuid.lo dbd/apr_dbd.lo dbm/apr_dbm.lo dbm/apr_dbm_sdbm.lo
> dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo
> dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo hooks/apr_hooks.lo
> ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo memcache/apr_memcache.lo
> misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo
> misc/apr_thread_pool.lo misc/apu_dso.lo misc/apu_version.lo
> strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo xml/apr_xml.lo
> -lpthread /data/prj/httpd-2.2.21/srclib/apr-util/xml/expat/libexpat.la-liconv /data/prj/httpd-2.2.21/srclib/apr/
> libapr-1.la -lpthread -inst-prefix-dir /data/prj/build/http_2221)
> cc: 1501-228 input file /var/apache2/lib/libexpat.a not found
> cc: 1501-228 input file /var/apache2/lib/libapr-1.so not found
> libtool: install: error: relink `libaprutil-1.la' with the above command
> before installing it
> 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.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> root@x105:[/data/prj/httpd-2.2.21]
>
>
After completing the normal install, exporting DESTDIR and "make install"
still do not complete.

Example 2:

> mkdir /data/prj/build/http_2221/etc/apache2/original
> mkdir /data/prj/build/http_2221/etc/apache2/original/extra
> Installing HTML documents
> mkdir /data/prj/build/http_2221/var/apache2/htdocs
> cp: /data/prj/build/http_2221/var/apache2/htdocs/index.html: A system call
> received a parameter that is not valid.
> Installing error documents
> mkdir /data/prj/build/http_2221/var/apache2/error
> cp: /data/prj/build/http_2221/var/apache2/error/HTTP_BAD_GATEWAY.html.var:
> A system call received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/error/HTTP_BAD_REQUEST.html.var:
> A system call received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/error/HTTP_FORBIDDEN.html.var: A
> system call received a parameter that is not valid.
> ....
> cp: /data/prj/build/http_2221/var/apache2/error/include: A system call
> received a parameter that is not valid.
> Installing icons
> mkdir /data/prj/build/http_2221/var/apache2/icons
> cp: /data/prj/build/http_2221/var/apache2/icons/README: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/icons/README.html: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/icons/a.gif: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/icons/a.png: A system call
> received a parameter that is not valid.
> ...
>
cp: /data/prj/build/http_2221/var/apache2/icons/world2.gif: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/icons/world2.png: A system call
> received a parameter that is not valid.
> mkdir /data/prj/build/http_2221/var/apache2/logs
> mkdir /data/prj/build/http_2221/var/apache2/run
> Installing CGIs
> mkdir /data/prj/build/http_2221/var/apache2/cgi-bin
> cp: /data/prj/build/http_2221/var/apache2/cgi-bin/printenv: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/var/apache2/cgi-bin/test-cgi: A system call
> received a parameter that is not valid.
> Installing header files
> Installing build system files
> Installing man pages and online manual
> mkdir /data/prj/build/http_2221/usr
>
mkdir /data/prj/build/http_2221/usr/share
> mkdir /data/prj/build/http_2221/usr/share/man
> mkdir /data/prj/build/http_2221/usr/share/man/man1
> mkdir /data/prj/build/http_2221/usr/share/man/man8
> mkdir /data/prj/build/http_2221/var/apache2/manual
> cp: /data/prj/build/http_2221/usr/share/man/man1/dbmmanage.1: A system
> call received a parameter that is not valid.
> cp: /data/prj/build/http_2221/usr/share/man/man1/htdbm.1: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/usr/share/man/man1/htdigest.1: A system call
> received a parameter that is not valid.
> cp: /data/prj/build/http_2221/usr/share/man/man1/htpasswd.1: A system call
> received a parameter that is not valid.
> make: 1254-004 The error code from the last command is 1.
>
> Are these "bugs", or am I not understanding something. I am ready to
investigate - would appreciate hints on where to start.

Sincerely,
Michael

Mime
View raw message