2010-07-13 16:07:14 +00:00
|
|
|
Build notes
|
|
|
|
|
2010-07-23 16:10:29 +00:00
|
|
|
Note you must have a C compiler and a fortran compiler installed from AIX
|
|
|
|
|
2010-07-23 16:00:24 +00:00
|
|
|
Note the net-snmp "configure" script did not work on AIX 7.1.
|
|
|
|
We have modified it to work and put it in configure.fix
|
|
|
|
The Spec file copies this script over the shipped configure script in the
|
|
|
|
build directory before it is run. See the net-snmp.5.4.2.1.spec in this directory.
|
2010-07-16 11:17:52 +00:00
|
|
|
|
2010-07-23 16:00:24 +00:00
|
|
|
The configproblems file shows where the configuration was failing before
|
|
|
|
we modified this script. If a new release is picked up, the new release
|
|
|
|
"configure" script will also have to be modified.
|
2010-07-16 11:17:52 +00:00
|
|
|
|
2010-07-24 22:10:33 +00:00
|
|
|
mkdir -p /build/net-snmp
|
|
|
|
cp configure.fix /build/net-snmp/configure.fix
|
2010-07-13 16:07:14 +00:00
|
|
|
cp net-snmp-5.4.2.1.tar.gz /opt/freeware/src/packages/SOURCES
|
|
|
|
cp net-snmp.5.4.2.1.spec /opt/freeware/src/packages/SPECS
|
|
|
|
cp net-snmp-find-requires.patch /opt/freeware/src/packages/SOURCES
|
|
|
|
run rpm -bb net-snmp.5.4.2.1.spec
|
|
|
|
|
|
|
|
* patch was created using "diff -c net-snmp-5.4.2.1.orig/net-snmp-5.4.2.1/dist/find-requires net-snmp-5.4.2.1/dist/find-requires" command
|
|
|
|
|
|
|
|
Will build the following rpms:
|
|
|
|
net-snmp-5.4.2.1-3.aix7.1.ppc.rpm
|
|
|
|
net-snmp-devel-5.4.2.1-3.aix7.1.ppc.rpm
|
|
|
|
net-snmp-perl-5.4.2.1-3.aix7.1.ppc.rpm
|