Originally posted by: kiko75
Could you help me to solve this problem :
My compilation of apache 2.2 is ok in a AIX 5.3 platform and KO on a AIX 6.1
I use the last gcc compiler (xlc is not installed)
Here are some of my script :
...
export CC=gcc
export CFLAGS="-DSYSV -D_AIX61 -D_ALL_SOURCE -O2"
...
...
./configure --host="powerpc-ibm-aix6.1.0.0" --target="powerpc-ibm-aix6.1.0.0" --build="powerpc-ibm-aix6.1.0.0" --prefix=$BASE \
--enable-mods-shared="all cache case-filter case-filter-in cgid \
charset-lite deflate disk-cache echo file-cache \
mem-cache suexec ldap ssl isapi auth_digest \
dumpio logio proxy proxy_connect proxy_ftp proxy_http" \
--enable-so \
--with-z=$BLIB/zlib \
--with-iconv=$BLIB/libiconv \
--with-ssl=$BLIB/ssl \
--enable-ldap=shared \
--enable-authnz-ldap=shared \
--with-apr=$BAP \
--with-apr=/wastest/home/instest/apr/ \
--with-included-apr \
--with-mpm=worker \
2>&1 | tee configure_httpd.log
The result is :
...
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CPP to "cc -qlanglvl=extc89 -E"
adding "-qHALT=E" to CFLAGS
adding "-U__STR__" to CPPFLAGS
adding "-D_THREAD_SAFE" to CPPFLAGS
adding "-D_USE_IRS" to CPPFLAGS
adding "-D_LARGEFILE64_SOURCE" to CPPFLAGS
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
checking for powerpc-ibm-aix6.1.0.0-gcc... gcc
checking whether the C compiler works... no
configure: error: in `/wastest/produits/src_apache2.4.2/httpd-2.4.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
+ tee configure_httpd.log
+ --with-apr=/apache/produits/apache/2.4.2/apache --with-included-apr --with-mpm=worker
+ 2>& 1
./build_apache_242.sh
621: --with-apr=/apache/produits/apache/2.4.2/apache: not found
...
Thank you for your help