You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Michael Felt <ma...@gmail.com> on 2012/02/26 12:52:47 UTC
Proposal to add build scripts for AIX
As part of building scripts for the httpd project I also developed seperate
scripts for apr and apr-util.
The process, once the scripts and layout are added is quite simple:
+++++++++++++++++
root@x105:[/]cd /data/prj/apr*6
root@x105:[/data/prj/apr-1.4.6]build/aix/buildaix.ksh
+ ./configure --enable-layout=AIX > build/aix/configure.out
rm: cannot remove `conftest*': No such file or directory
grep: can't open /data/prj/apr-1.4.6/libtool
rm: cannot remove `libtoolT': No such file or directory
+ make > build/aix/make.out
+ make install DESTDIR=/var/tmp/root/apr.1.4.6 > build/aix/install.out
mkdir /var/tmp/root/apr.1.4.6
mkdir /var/tmp/root/apr.1.4.6/opt
mkdir /var/tmp/root/apr.1.4.6/opt/lib
mkdir /var/tmp/root/apr.1.4.6/opt/bin
mkdir /var/tmp/root/apr.1.4.6/var
mkdir /var/tmp/root/apr.1.4.6/var/apr
mkdir /var/tmp/root/apr.1.4.6/var/apr/build-1
mkdir /var/tmp/root/apr.1.4.6/opt/lib/pkgconfig
mkdir /var/tmp/root/apr.1.4.6/opt/include
libtool: install: warning: remember to run `libtool --finish /opt/lib'
+ build/aix/mkinstallp.ksh /var/tmp/root/apr.1.4.6 >
build/aix/mkinstallp.out
find: 0652-019 The status on ./apr.1.4.6/etc is not valid.
==============================
ASF.apr:ASF.apr.rte:1.4.5.0::I:C:::::N:apr version 1.4.5 for powerpc Apache
Software Foundation::::0::
ASF.apr:ASF.apr.rte:1.4.6.0::I:T:::::N:apr version 1.4.6 for powerpc Apache
Software Foundation::::0::
==============================
root@x105:[/data/prj/apr-1.4.6]
+++++++++++++++++
Note: I see an 'error' in one scripts logic above - apr does nopt have any
config files (so no .../etc to be found by 'find', I'll correct that.
Note that a new version can be installed over an old version, even with
multiple versions in the same directory, the newest is selected
automatically.
+++++++++++++++++
root@x105:[/data/prj/apr-1.4.6]lslpp -L ASF.apr.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
ASF.apr.rte 1.4.5.0 C F apr version 1.4.5 for
powerpc
Apache Software
Foundation
State codes:
A -- Applied.
B -- Broken.
C -- Committed.
E -- EFIX Locked.
O -- Obsolete. (partially migrated to newer version)
? -- Inconsistent State...Run lppchk -v.
Type codes:
F -- Installp Fileset
P -- Product
C -- Component
T -- Feature
R -- RPM Package
root@x105:[/data/prj/apr-1.4.6]installp -d build/aix -a ASF.apr.rte
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 1. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
Selected Filesets
-----------------
ASF.apr.rte 1.4.6.0 # apr version 1.4.6 for
powerp...
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
2 Selected to be installed, of which:
1 Passed pre-installation verification
1 Already installed (directly or via superseding filesets)
----
1 Total to be installed
+-----------------------------------------------------------------------------+
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
ASF.apr.rte 1.4.6.0
Finished processing all filesets. (Total time: 5 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
ASF.apr.rte 1.4.5.0 Already installed
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
ASF.apr.rte 1.4.6.0 USR APPLY
SUCCESS
ASF.apr.rte 1.4.6.0 ROOT APPLY
SUCCESS
root@x105:[/data/prj/apr-1.4.6]lslpp -L ASF.apr.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
ASF.apr.rte 1.4.6.0 C F apr version 1.4.6 for
powerpc
Apache Software
Foundation
State codes:
A -- Applied.
B -- Broken.
C -- Committed.
E -- EFIX Locked.
O -- Obsolete. (partially migrated to newer version)
? -- Inconsistent State...Run lppchk -v.
Type codes:
F -- Installp Fileset
P -- Product
C -- Component
T -- Feature
R -- RPM Package
++++++++++++
Hoping there is some interest!
Sincerely,
Michael Felt
(Please tell me how to pack (also for apr-util), and whether there is a
need for the results - installable file and/or templates generated.
++++++++++++
root@x105:[/data/prj/apr-1.4.6]ls -lR build/aix
build/aix:
total 2368
-rw-r--r-- 1 root system 1947 Feb 14 18:09 ASF.apr.1.4.5.template
-rw-r--r-- 1 root system 1947 Feb 26 2012 ASF.apr.1.4.6.template
-rw-r--r-- 1 root system 1102336 Feb 14 18:09 ASF.apr.powerpc.1.4.5.I
-rw-r--r-- 1 root system 1213952 Feb 26 2012 ASF.apr.powerpc.1.4.6.I
-rw-r--r-- 1 michael system 1771 Feb 9 18:18 README.aix
-rw-r--r-- 1 michael system 342 Feb 7 07:56 aixinfo
-rwxr-xr-x 1 michael system 2151 Feb 9 18:21 buildaix.ksh
-rw-r--r-- 1 root system 22519 Feb 26 2012 configure.out
-rw-r--r-- 1 root system 2122 Feb 26 2012 install.out
-rw-r--r-- 1 root system 36843 Feb 26 2012 make.out
-rwxr----- 1 michael system 5970 Feb 9 18:03 mkinstallp.ksh
-rw-r--r-- 1 root system 4785 Feb 26 2012 mkinstallp.out
Re: Proposal to add build scripts for AIX
Posted by Graham Leggett <mi...@sharp.fm>.
On 26 Feb 2012, at 11:52, Michael Felt <ma...@gmail.com> wrote:
> As part of building scripts for the httpd project I also developed seperate scripts for apr and apr-util.
>
> The process, once the scripts and layout are added is quite simple:
Assuming you've got svn to build, send through some diffs, otherwise send me through the tar files and I'll add them for you.
Regards,
Graham
--