
bugzilla at apache
Nov 25, 2009, 5:12 AM
Post #1 of 1
(197 views)
Permalink
|
|
[Bug 48281] New: Compilation issue with shared modules on AIX 6.1
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=48281 Summary: Compilation issue with shared modules on AIX 6.1 Product: Apache httpd-2 Version: 2.2.14 Platform: Other OS/Version: AIX Status: NEW Severity: normal Priority: P2 Component: Runtime Config AssignedTo: bugs [at] httpd ReportedBy: jeremy.jacque [at] maximo I was trying to compile apache under AIX 6.1 (gcc/g++ 4.2.0) with some shared modules but they were built static (ie: libmod_cache.a) It seems to be due to the srclib/apr/configure script in which many test are done using syntax like this : case $host_os in aix[4-9]*) ... aix5*) ... and so on. It works under AIX 5.3 because the configure script shows : checking build system type... powerpc-ibm-aix5.3.0.0 checking host system type... powerpc-ibm-aix5.3.0.0 checking target system type... powerpc-ibm-aix5.3.0.0 Configuring APR library Platform: powerpc-ibm-aix5.3.0.0 but with AIX 6.1 it looks like this : checking build system type... rs6000-ibm-aix checking host system type... rs6000-ibm-aix checking target system type... rs6000-ibm-aix Configuring APR library Platform: rs6000-ibm-aix Here is my env : export MAKE=gmake export OBJECT_MODE=64 export CFLAGS='-maix64 -mcpu=powerpc64 -O2' export CPPFLAGS='-maix64 -mcpu=powerpc64 -I/opt/freeware/include' export CXXFLAGS='-maix64 -mcpu=powerpc64 -O2' export LDFLAGS='-maix64 -mcpu=powerpc64 -L/usr/lib -L/opt/freeware/lib -Wl,-blibpath:LIBDIR:/usr/vac/lib:/usr/lib/threads:/usr/lib:/lib:/opt/freeware/lib:/apache/modules:/apache/lib' export PATH=/usr/bin:/usr/sbin:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/opt/freeware/bin:/usr/vac/bin:/usr/linux/bin export CC=gcc export CXX=g++ export CONFIG_SHELL=/usr/bin/bash ./configure --prefix=/apache \ --disable-autoindex --disable-asis \ --disable-actions --disable-cgid --disable-imagemap \ --disable-status --disable-userdir --enable-so --with-mpm=prefork \ --disable-include --disable-auth-basic \ --disable-authn-file --disable-authn-default --disable-authz-groupfile \ --disable-authz-user --disable-filter --disable-info \ --enable-mods-shared='ssl cache mem_cache deflate rewrite' -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe [at] httpd For additional commands, e-mail: bugs-help [at] httpd
|