You are viewing a plain text version of this content. The canonical link for it is here.
Posted to packagers@httpd.apache.org by Michael Felt <ma...@gmail.com> on 2012/03/02 11:40:22 UTC

TESTING: build/aix/buildaix.ksh for httpd-2.2.22 - successful

TESTING: build/aix/buildaix.ksh (actually three custom build/aix
directories for  each of: apr 1.4.6, apr-util 1.4.1 and httpd 2.2.22)
This is followup to
https://mail.google.com/mail/?shva=1#search/label%3aaixtools-httpd+build+label%3aaixtools-httpd+build+aix+commit/135c4383c0a161ee
I am going to do some further clean-up work, and submit for inclusion into
apr "trunks" and httpd-2.2.22 (Vote needed for httpd I assume)

===== Results ====


short message: once we got gcc out of the way, the scripts ran successfully
using vac.C version 11

It seems that configure in some/all continue to call gcc even though cc is
in the path earlier; in other words, gcc seems to ALWAYS
be chosen in preference to any other complier (setting CC might prevent
that, but unsure).

Tried to load the 4.2.0-3 gcc, but it complained about a downlevel (we
could not find it - rpm.rte >= 6.1.0.0)
Another reason to not use these mysterious RPM (dependancies) files -
imho...

******* UPDATE ****** - while typing note, customer upgraded to gcc 4.2.0,
uninstalled all ASF.* filesets, and reran scripts *****
gcc failed with 4.2.0

update to latest gcc customer had failed on AIX 7.1
root@abcd1234:/tmp/apr-1.4.6> ./build/aix/buildaix.ksh
+ ./configure --enable-layout=AIX > build/aix/configure.out
rm: conftest*: No such file or directory
grep: can't open /tmp/apr-1.4.6/libtool
rm: libtoolT: No such file or directory
+ make > build/aix/make.out
collect2: library libgcc_s not found
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
+ make install DESTDIR=/var/tmp/root/apr.1.4.6 > build/aix/install.out
collect2: library libgcc_s not found
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make install returned an error
root@abcd1234:/tmp/apr-1.4.6> rpm -qa | grep gcc
libgcc-4.2.0-3
gcc-4.2.0-3

======== cannot install gcc 4.4.6 on AIX 7.1 ....
root@abcd1234:/tmp/apr-1.4.6> rpm -ihv
/software/LinuxToolBox/RPMS/gcc-4.4.6-1.aix6.1.ppc.rpm
/software/LinuxToolBox/RPMS/libgcc-4.4.6-1.aix6.1.ppc.rpm
error: failed dependencies:
       info is needed by gcc-4.4.6-1
       AIX-rpm < 6.2.0.0 is needed by gcc-4.4.6-1
       AIX-rpm < 6.2.0.0 is needed by libgcc-4.4.6-1
root@abcd1234:/tmp/apr-1.4.6>

===== What follows are errors encountered because gcc was in the PATH
(/usr/bin/gcc -> /opt/freeware/bin/gcc) even though
/usr/vac/bin was first directory in PATH variable. ==========


AIX oslevel: 7100-01-02-1150
AIX toolbox
gcc-4.0.0-1
libgcc-4.0.0-1

configure was defaulting to gcc even though vac was in the path earlier.
Only by moving /usr/bin/gcc to /usr/bin/gcc.foo
was the IBM compiler seen and used.

See error messages below (will try to get latest AIX Toolbox gcc installed
- from ftp.software.ibm.com
... snip
-rw-rw-r--    1 35092    200         4004237 Mar  2  2006
gcc-4.0.0-1.aix5.1.ppc.rpm
-rw-rw-r--    1 35092    200         3827777 Mar 26  2008
gcc-4.0.0-1.aix5.2.ppc.rpm
-rw-rw-r--    1 35092    200         3828578 Mar  2  2006
gcc-4.0.0-1.aix5.3.ppc.rpm
-rw-rw-r--    1 35092    200         4489625 Feb 21  2008
gcc-4.2.0-2.aix5.3.ppc.rpm
-rw-rw-r--    1 35092    200         4487292 Feb 21  2008
gcc-4.2.0-2.aix6.1.ppc.rpm
-rw-rw-r--    1 35092    200         4582111 Mar 26  2008
gcc-4.2.0-3.aix5.3.ppc.rpm
-rw-rw-r--    1 35092    200         4593640 Mar 26  2008
gcc-4.2.0-3.aix6.1.ppc.rpm
... snip

>From snip above, the compiler currently installed on the AIX 7.1 system was
only packaged for AIX 5.X, so not too surprising that something
might not be 100%

root@abcd1234:/tmp/apr-1.4.6> ./build/aix/buildaix.ksh
+ ./configure --enable-layout=AIX > build/aix/configure.out
rm: conftest*: No such file or directory
grep: can't open /tmp/apr-1.4.6/libtool
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h:     check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pthread.h: proceeding with the compiler's result
configure: WARNING: sys/shm.h: present but cannot be compiled
configure: WARNING: sys/shm.h:     check for missing prerequisite headers?
configure: WARNING: sys/shm.h: see the Autoconf documentation
configure: WARNING: sys/shm.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/shm.h: proceeding with the compiler's result
configure: WARNING: sys/file.h: present but cannot be compiled
configure: WARNING: sys/file.h:     check for missing prerequisite headers?
configure: WARNING: sys/file.h: see the Autoconf documentation
configure: WARNING: sys/file.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/file.h: proceeding with the compiler's result
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h:     check for missing prerequisite headers?
configure: WARNING: fcntl.h: see the Autoconf documentation
configure: WARNING: fcntl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: fcntl.h: proceeding with the compiler's result
configure: WARNING: semaphore.h: present but cannot be compiled
configure: WARNING: semaphore.h:     check for missing prerequisite headers?
configure: WARNING: semaphore.h: see the Autoconf documentation
configure: WARNING: semaphore.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: semaphore.h: proceeding with the compiler's result
rm: libtoolT: No such file or directory
+ make > build/aix/make.out
atomic/unix/mutex.c:34:5: warning: #warning Be warned: using stubs for all
atomic operations
file_io/unix/filedup.c: In function 'file_dup':
file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this
function)
file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported
only once
file_io/unix/filedup.c:49: error: for each function it appears in.)
file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in
this function)
file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this
function)
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
+ make install DESTDIR=/var/tmp/root/apr.1.4.6 > build/aix/install.out
file_io/unix/filedup.c: In function 'file_dup':
file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this
function)
file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported
only once
file_io/unix/filedup.c:49: error: for each function it appears in.)
file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in
this function)
file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this
function)
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make install returned an error
root@abcd1234:/tmp/apr-1.4.6>