On 31 Mar 2012, at 3:04 PM, Michael Felt wrote:

In any case I would like to propose the following layouts for AIX builds:

This should ideally go to the dev@apr.apache.org list, as this is an APR issue rather than an httpd one.

Index: apr/config.layout
===================================================================
--- apr/config.layout   (revision 1307078)
+++ apr/config.layout   (working copy)
@@ -229,3 +229,26 @@
     infodir:       ${exec_prefix}/share/info
     libsuffix:    -${APR_MAJOR_VERSION}
 </Layout>
+
+# AIX layout
+<Layout AIX>
+    prefix:        /opt
+    exec_prefix:   /opt
+    bindir:        ${exec_prefix}/bin
+    sbindir:       ${exec_prefix}/sbin
+    includedir:    ${exec_prefix}/include
+    libdir:        ${exec_prefix}/lib
+    libexecdir:    ${exec_prefix}/libexec
+    sysconfdir:    /etc/apr
+    datadir:       /var/apr
+    errordir:      ${datadir}/error
+    iconsdir:      ${datadir}/icons
+    htdocsdir:     ${datadir}/htdocs
+    mandir:        /usr/share/man
+    manualdir:     ${prefix}/apr/manual
+    localstatedir: /var
+    runtimedir:    ${localstatedir}/run
+    logfiledir:    ${localstatedir}/logs
+    proxycachedir: ${localstatedir}/proxy
+    installbuilddir: ${localstatedir}/build
+</Layout>


Index: apr-util/config.layout
===================================================================
--- apr-util/config.layout      (revision 1307079)
+++ apr-util/config.layout      (working copy)
@@ -230,3 +230,26 @@
     libsuffix:     -${APRUTIL_MAJOR_VERSION}
     installbuilddir: ${prefix}/usr/share/apache2/build
 </Layout>
+
+# AIX layout
+<Layout AIX>
+    prefix:        /opt
+    exec_prefix:   /opt
+    bindir:        ${exec_prefix}/bin
+    sbindir:       ${exec_prefix}/sbin
+    includedir:    ${exec_prefix}/include
+    libdir:        ${exec_prefix}/lib
+    libexecdir:    ${exec_prefix}/libexec
+    sysconfdir:    /etc/apr
+    datadir:       /var/apr
+    errordir:      ${datadir}/error
+    iconsdir:      ${datadir}/icons
+    htdocsdir:     ${datadir}/htdocs
+    mandir:        /usr/share/man
+    manualdir:     ${prefix}/apr/manual
+    localstatedir: /var
+    runtimedir:    ${localstatedir}/run
+    logfiledir:    ${localstatedir}/logs
+    proxycachedir: ${localstatedir}/proxy
+    installbuilddir: ${localstatedir}/build
+</Layout>

Additionally, I have some scripts for creating installp filesets. The will work with any AIX 5.X system,
AIX4 does not have the mkinstallp command. I still use it by letting an AIX4 system run through
the make install command, and then on an AIX5 system I run the mkinstallp part.

The two tarballs are attached.


<apr-buildaix.tar.xz><apr-util-buildaix.tar.xz>

Will take a look.

Regards,
Graham
--