diff options
author | Graham Leggett <minfrin@apache.org> | 2012-02-27 22:31:32 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2012-02-27 22:31:32 +0000 |
commit | e06efbc2007e391834ce2a49ca10c2fd3eee714b (patch) | |
tree | 21d06b1479d0beb0809cf762b15730b411a061fd /build/aix/README | |
parent | 59abd5dc83bd9b66f9b97379536fc81faa5b8eeb (diff) | |
download | httpd-e06efbc2007e391834ce2a49ca10c2fd3eee714b.tar.gz |
AIX: Add missing build scripts.
Submitted by: Michael Felt <mamfelt gmail com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1294372 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/aix/README')
-rw-r--r-- | build/aix/README | 66 |
1 files changed, 50 insertions, 16 deletions
diff --git a/build/aix/README b/build/aix/README index 8cc75a5903..3b87bd149c 100644 --- a/build/aix/README +++ b/build/aix/README @@ -1,32 +1,66 @@ The script buildaix.ksh will attempt to build a AIX installp fileset -out of a source tree for httpd. +out of a source tree for ASF project REQUIREMENTS: -fileset bos.adt.insttools + Fileset Level State Type Description (Uninstaller) + ---------------------------------------------------------------------------- + bos.adt.insttools 5.3.7.2 C F Tool to Create installp + Packages + Fileset Level State Type Description (Uninstaller) + ---------------------------------------------------------------------------- + rpm.rte 3.0.5.41 C F RPM Package Manager -RECOMMENDED: -Toolbox filesets zlib and zlib-devel -Toolbox fileset coreutils +Additional: +Preferred: download zlib sources and copy zlib.h and zconf.h to /opt/include +and, if configure cannot find them directly, add symbolic links from /usr/include to /opt/include To build a package, make sure you are in the root of the source tree, and run: build/aix/buildaix.ksh -## coming - argument to leave the DESTDIR results for manual -## modifications to the template (to create seperate filesets) - -An AIX fileset named <PKG>.<NAME>.<version>.<architecture>.I will be -created in the build/aix directory. Also included is the .template file. +An AIX fileset named $PKG.$NAME.$ARCH.$VERSION.I will be +created in the build/aix directory. the .template file created is also there. KNOWN issues: on AIX libtool is known to have issues with the install command. -many of these issues can be resolved by inserting the GNU install command -earlier in the PATH variable. Testing has shown that this may still -have issues when installing to DESTDIR. To compensate for this -the buildaix.ksh also does a "regular" make install before executing -the make DESTDIR=$TEMPDIR install command +Some of these issues have been resolved by extracting the apr/apu utilities +from the projects (i.e. NOT using the embedded version) +In case of problems I recommend that you install the GNU 'install' program (part of coreutils) +If make DESTDIR=$TEMPDIR install command continues to fail, try 'make install' and then run +the buildaix.ksh command again TODO +Add Copyright display/banner Add Apache LICENSE to fileset and require acceptance -Add test for bos.adt.insttools at start of build script +Add special instructions for TCB - to ignore /etc/* /var/httpd/htdocs/* +Add _config_i scripts to setup autostart +Add _pre_i scripts to verify pre-requisites, required users/groups, etc. + +# This layout is intended to put customizeable data in /etc and /var +# the file listing will be used to create an exceptions file to modify +# the behavior of syschk checksum generation. +# AIX layout +<Layout AIX> + prefix: /opt/httpd + exec_prefix: /opt/httpd + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + libdir: ${exec_prefix}/lib + libexecdir: ${exec_prefix}/libexec + mandir: /usr/share/man + sysconfdir: /etc/httpd + datadir: /var/httpd + installbuilddir: ${datadir}/build + errordir: ${datadir}/error + htdocsdir: ${datadir}/htdocs + cgidir: ${datadir}/cgi-bin + iconsdir: ${prefix}/icons + manualdir: ${prefix}/manual + includedir: ${prefix}/include + localstatedir: /var/httpd + runtimedir: ${localstatedir}/run + logfiledir: ${localstatedir}/logs + proxycachedir: ${localstatedir}/proxy +</Layout> + |