2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 17:41:51 +00:00
xcat-dep/AIX/net-snmp/7.1/Build-notes

27 lines
1.1 KiB
Plaintext
Raw Normal View History

Build notes
Note you must have a C compiler and a fortran compiler installed from AIX
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.
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.
mkdir -p /build/net-snmp
cp configure.fix /build/net-snmp/configure.fix
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