README revision 38360b6ed72fed582499a472a28ec56e44d277d4
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinThe script buildaix.ksh will attempt to build a AIX installp fileset
38360b6ed72fed582499a472a28ec56e44d277d4minfrinout of a source tree for ASF project
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinREQUIREMENTS:
38360b6ed72fed582499a472a28ec56e44d277d4minfrin Fileset Level State Type Description (Uninstaller)
38360b6ed72fed582499a472a28ec56e44d277d4minfrin ----------------------------------------------------------------------------
38360b6ed72fed582499a472a28ec56e44d277d4minfrin bos.adt.insttools 5.3.7.2 C F Tool to Create installp
38360b6ed72fed582499a472a28ec56e44d277d4minfrin Fileset Level State Type Description (Uninstaller)
38360b6ed72fed582499a472a28ec56e44d277d4minfrin ----------------------------------------------------------------------------
38360b6ed72fed582499a472a28ec56e44d277d4minfrin rpm.rte 3.0.5.41 C F RPM Package Manager
38360b6ed72fed582499a472a28ec56e44d277d4minfrinPreferred: download zlib sources and copy zlib.h and zconf.h to /opt/include
38360b6ed72fed582499a472a28ec56e44d277d4minfrinand, if configure cannot find them directly, add symbolic links from /usr/include to /opt/include
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinTo build a package, make sure you are in the root of the source tree,
38360b6ed72fed582499a472a28ec56e44d277d4minfrinAn AIX fileset named $PKG.$NAME.$ARCH.$VERSION.I will be
38360b6ed72fed582499a472a28ec56e44d277d4minfrincreated in the build/aix directory. the .template file created is also there.
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinKNOWN issues:
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinon AIX libtool is known to have issues with the install command.
38360b6ed72fed582499a472a28ec56e44d277d4minfrinSome of these issues have been resolved by extracting the apr/apu utilities
38360b6ed72fed582499a472a28ec56e44d277d4minfrinfrom the projects (i.e. NOT using the embedded version)
38360b6ed72fed582499a472a28ec56e44d277d4minfrinIn case of problems I recommend that you install the GNU 'install' program (part of coreutils)
38360b6ed72fed582499a472a28ec56e44d277d4minfrinIf make DESTDIR=$TEMPDIR install command continues to fail, try 'make install' and then run
38360b6ed72fed582499a472a28ec56e44d277d4minfrinthe buildaix.ksh command again
b45c2b86612fd10c2b08965bb99e66a3c0e43480minfrinAdd Apache LICENSE to fileset and require acceptance
38360b6ed72fed582499a472a28ec56e44d277d4minfrinAdd special instructions for TCB - to ignore /etc/* /var/httpd/htdocs/*
38360b6ed72fed582499a472a28ec56e44d277d4minfrinAdd _config_i scripts to setup autostart
38360b6ed72fed582499a472a28ec56e44d277d4minfrinAdd _pre_i scripts to verify pre-requisites, required users/groups, etc.
38360b6ed72fed582499a472a28ec56e44d277d4minfrin# This layout is intended to put customizeable data in /etc and /var
38360b6ed72fed582499a472a28ec56e44d277d4minfrin# the file listing will be used to create an exceptions file to modify
38360b6ed72fed582499a472a28ec56e44d277d4minfrin# the behavior of syschk checksum generation.
38360b6ed72fed582499a472a28ec56e44d277d4minfrin# AIX layout
38360b6ed72fed582499a472a28ec56e44d277d4minfrin<Layout AIX>
38360b6ed72fed582499a472a28ec56e44d277d4minfrin bindir: ${exec_prefix}/bin
38360b6ed72fed582499a472a28ec56e44d277d4minfrin sbindir: ${exec_prefix}/sbin
38360b6ed72fed582499a472a28ec56e44d277d4minfrin libdir: ${exec_prefix}/lib
38360b6ed72fed582499a472a28ec56e44d277d4minfrin libexecdir: ${exec_prefix}/libexec
38360b6ed72fed582499a472a28ec56e44d277d4minfrin installbuilddir: ${datadir}/build
38360b6ed72fed582499a472a28ec56e44d277d4minfrin errordir: ${datadir}/error
38360b6ed72fed582499a472a28ec56e44d277d4minfrin htdocsdir: ${datadir}/htdocs
38360b6ed72fed582499a472a28ec56e44d277d4minfrin cgidir: ${datadir}/cgi-bin
38360b6ed72fed582499a472a28ec56e44d277d4minfrin iconsdir: ${prefix}/icons
38360b6ed72fed582499a472a28ec56e44d277d4minfrin manualdir: ${prefix}/manual
38360b6ed72fed582499a472a28ec56e44d277d4minfrin includedir: ${prefix}/include
38360b6ed72fed582499a472a28ec56e44d277d4minfrin localstatedir: /var/httpd
38360b6ed72fed582499a472a28ec56e44d277d4minfrin runtimedir: ${localstatedir}/run
38360b6ed72fed582499a472a28ec56e44d277d4minfrin logfiledir: ${localstatedir}/logs
38360b6ed72fed582499a472a28ec56e44d277d4minfrin proxycachedir: ${localstatedir}/proxy