httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <>
Subject Building 2.3.4.alpha on AIX 6.1
Date Thu, 10 Dec 2009 15:12:18 GMT
Ok, the vote thread was interesting, but very long.
Thanks for the hints - they helped, but.... I was still having issues.

To get as clean a build environment I started with a new one. Hopefully,
this will reveal any hidden dependencies (hidden to me at least). Your help
in resolving these missing "links" is greatly appreciated.

1. Installed a new server with AIX 6.1.2, added bos.adt.libm and
bos.adt.syscalls, and then installed vac.C.
# lslpp -L | grep vac
  vac.Bnd              C     F    IBM XL C Media Defined
  vac.C               C     F    IBM XL C Compiler     C     F    IBM XL C iFOR/LS
  vac.aix50.lib       C     F    IBM XL C Compiler
  vac.lib              C     F    IBM XL C Compiler
  vac.lic              C     F    IBM XL C Licence Files
  vac.msg.en_US.C      C     F    IBM XL C Compiler
Messages -
  vacpp.cmp.rte        C     F    IBM XL C/C++ Compiler
  vacpp.licAgreement    C     F    IBM XL C++ Electronic

2. Now I build and install pcre- at /opt/aixt.

3. Run ./configure as:
  $ ./configure --prefix=/opt/aixt/apache2 --enable-layout=Apache
--enable-module=so --enable-mods-shared=most --with-pcre=/opt/aixt

The command seemed to work - but that was because it did not stop when had
some errors. Since make distclean did not work the next step was:

4. rm the /data/prj/httpd-2.3.4-alpha directory, restore from downloads and
repeat configure and watch...

perhaps expat is a hidden (to me) dependency:

configuring package in xml/expat now
checking build system type... rs6000-ibm-aix
checking host system type... rs6000-ibm-aix
checking target system type... rs6000-ibm-aix
syntax error
at line 3321 : `(' unexpected
configure failed for xml/expat
srclib/apr-util configured properly
./configure[4544]: ./srclib/apr-util/apu-1-config:  not found
./configure[4560]: ./srclib/apr-util/apu-1-config:  not found
./configure[4561]: ./srclib/apr-util/apu-1-config:  not found
./configure[4562]: ./srclib/apr-util/apu-1-config:  not found
./configure[4563]: ./srclib/apr-util/apu-1-config:  not found
checking for gcc... cc -qlanglvl=extc89
checking whether to enable mod_rewrite... shared (most)
  adding "-I$(top_srcdir)/modules/mappers" to INCLUDES
  adding "-Wl,-uXML_Parse" to HTTPD_LDFLAGS
  adding "-Wl,-bE:/data/prj/alpha/httpd-2.3.4-alpha/server/httpd.exp" to
  setting UTIL_LDFLAGS to "-Wl,-uXML_Parse"
./configure[26206]: ./srclib/apr-util/apu-1-config:  not found
creating test/Makefile
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/
config.status: creating build/pkg/pkginfo
config.status: creating build/
config.status: creating include/ap_config_auto.h
config.status: executing default commands

So, try make again - there is a Makefile at least.

This runs for a bit and stops with this error:
        cc -qlanglvl=extc89 -E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE
-D_LARGEFILE64_SOURCE   -I./include
-I/data/prj/alpha/httpd-2.3.4-alpha/srclib/apr/include  exports.c | grep
"ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp
        cc -qlanglvl=extc89 -E -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE
-D_LARGEFILE64_SOURCE   -I./include
-I/data/prj/alpha/httpd-2.3.4-alpha/srclib/apr/include  export_vars.c | sed
-e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
        sed 's,^\(location=\).*$,\1installed,' < apr-1-config >
        sed 's,^\(apr_build.*=\).*$,\1/opt/aixt/apache2/build,' < build/ > build/apr_rules.out
Target "local-all" is up to date.
Target "all" is up to date.
Making all in apr-util
make: 1254-002 Cannot find a rule to create target all from dependencies.
make: 1254-004 The error code from the last command is 1.

make: 1254-004 The error code from the last command is 1.

Suggestions/Questions welcome.

View raw message