mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-24 02:19:53 +00:00
build for 7.1
Former-commit-id: c6ef04799edbf3b3c8be18a68276d611a3067d51
This commit is contained in:
parent
d098e662e0
commit
beda5f597f
@ -1,11 +1,13 @@
|
||||
Build notes
|
||||
|
||||
The original source is from http://www.net-snmp.org/download.html
|
||||
The source had to be modified to support AIX 71 because it had
|
||||
coded compiler directives only through aix5 in the
|
||||
/net-snmp-5.5/agent/mibgroup/host/* files. Search for aix6.
|
||||
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.
|
||||
|
||||
Use the modified net-snmp-5.4.2.1.tar.gz 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.
|
||||
|
||||
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
|
||||
|
115
AIX/net-snmp/7.1/configproblems
Normal file
115
AIX/net-snmp/7.1/configproblems
Normal file
@ -0,0 +1,115 @@
|
||||
6.1
|
||||
configure:4772: checking build system type
|
||||
configure:4790: result: powerpc-ibm-aix6.1.0.0
|
||||
configure:4798: checking host system type
|
||||
configure:4812: result: powerpc-ibm-aix6.1.0.0
|
||||
configure:4820: checking target system type
|
||||
configure:4834: result: powerpc-ibm-aix6.1.0.0
|
||||
|
||||
7.1
|
||||
configure:4772: checking build system type
|
||||
configure:4790: result: rs6000-ibm-aix
|
||||
configure:4798: checking host system type
|
||||
configure:4812: result: rs6000-ibm-aix
|
||||
configure:4820: checking target system type
|
||||
configure:4834: result: rs6000-ibm-aix
|
||||
|
||||
6.1
|
||||
|
||||
configure:9819: checking dynamic linker characteristics
|
||||
configure:10421: result: aix6.1.0.0 ld.so
|
||||
configure:10445: checking how to hardcode library paths into programs
|
||||
configure:10470: result: immediate
|
||||
|
||||
|
||||
7.1
|
||||
|
||||
configure:9819: checking dynamic linker characteristics
|
||||
configure:10421: result: no
|
||||
configure:10445: checking how to hardcode library paths into programs
|
||||
configure:10470: result: unsupported
|
||||
|
||||
|
||||
6.1
|
||||
configure:11324: checking if libtool supports shared libraries
|
||||
configure:11326: result: yes
|
||||
configure:11329: checking whether to build shared libraries
|
||||
configure:11350: result: yes
|
||||
configure:11353: checking whether to build static libraries
|
||||
configure:11357: result: yes
|
||||
configure:11451: creating libtool
|
||||
configure:15009: checking if libtool supports shared libraries
|
||||
configure:15011: result: yes
|
||||
configure:15014: checking whether to build shared libraries
|
||||
configure:15034: result: yes
|
||||
configure:15037: checking whether to build static libraries
|
||||
configure:15041: result: yes
|
||||
|
||||
|
||||
7.1
|
||||
|
||||
configure:11324: checking if libtool supports shared libraries
|
||||
configure:11326: result: no
|
||||
configure:11329: checking whether to build shared libraries
|
||||
configure:11350: result: no
|
||||
configure:11353: checking whether to build static libraries
|
||||
configure:11357: result: yes
|
||||
configure:11451: creating libtool
|
||||
configure:15009: checking if libtool supports shared libraries
|
||||
configure:15011: result: no
|
||||
configure:15014: checking whether to build shared libraries
|
||||
configure:15034: result: no
|
||||
configure:15037: checking whether to build static libraries
|
||||
configure:15041: result: yes
|
||||
|
||||
|
||||
6.1
|
||||
|
||||
configure:15465: checking whether the f77 linker (/bin/ld) supports shared libra
|
||||
ries
|
||||
configure:15881: f77 -o conftest -g -brtl conftest.f >&5
|
||||
** main === End of Compilation 1 ===
|
||||
1501-510 Compilation successful for file conftest.f.
|
||||
configure:15887: $? = 0
|
||||
configure:15891: test -z
|
||||
|| test ! -s conftest.err
|
||||
configure:15894: $? = 0
|
||||
configure:15897: test -s conftest
|
||||
configure:15900: $? = 0
|
||||
configure:16429: result: yes
|
||||
|
||||
7.1
|
||||
|
||||
configure:15465: checking whether the f77 linker (/bin/ld) supports shared libra
|
||||
ries
|
||||
configure:16429: result: no
|
||||
|
||||
|
||||
6.1
|
||||
|
||||
configure:16496: checking dynamic linker characteristics
|
||||
configure:17046: result: aix6.1.0.0 ld.so
|
||||
configure:17070: checking how to hardcode library paths into programs
|
||||
configure:17095: result: immediate
|
||||
|
||||
|
||||
7.1
|
||||
configure:16496: checking dynamic linker characteristics
|
||||
configure:17046: result: no
|
||||
configure:17070: checking how to hardcode library paths into programs
|
||||
configure:17095: result: unsupported
|
||||
|
||||
6.1
|
||||
configure:32572: checking for potential embedded Perl support
|
||||
configure:32588: result: enabled
|
||||
configure:32596: checking if we can install the Perl modules
|
||||
configure:32608: result: yes -- and embeddable
|
||||
|
||||
|
||||
7.1
|
||||
|
||||
configure:32572: checking for potential embedded Perl support
|
||||
configure:32580: result: disabled
|
||||
configure:32596: checking if we can install the Perl modules
|
||||
configure:32620: result: no
|
||||
ing if we can install the Perl modules
|
51104
AIX/net-snmp/7.1/configure.fix
Executable file
51104
AIX/net-snmp/7.1/configure.fix
Executable file
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@ Summary: Tools and servers for the SNMP protocol
|
||||
Name: net-snmp
|
||||
Version: 5.4.2.1
|
||||
# update release for vendor release. (eg 1.fc6, 1.rh72, 1.ydl3, 1.ydl23)
|
||||
Release: 3
|
||||
Release: 3
|
||||
URL: http://www.net-snmp.org/
|
||||
License: BSDish
|
||||
Group: System Environment/Daemons
|
||||
@ -62,6 +62,9 @@ Install the net-snmp-perl package, if you want to use mib2c or SNMP with perl.
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
|
||||
cp configure configure.org
|
||||
cp /build/net-snmp/configure.fix configure
|
||||
export CC=cc_r
|
||||
export PATH=/usr/vac/bin:$PATH
|
||||
./configure \
|
||||
@ -77,11 +80,11 @@ export PATH=/usr/vac/bin:$PATH
|
||||
--with-sys-location="Unknown" \
|
||||
--with-sys-contact="root@localhost" \
|
||||
--with-default-snmp-version="3" \
|
||||
--with-cflags="-Daix6=aix6 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -D_LARGE_FILES -qlonglong -q32 -I/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE" \
|
||||
--libdir="/opt/freeware/lib"
|
||||
|
||||
cp libtool libtool.orig
|
||||
sed -e "s/hardcode_direct=yes/hardcode_direct=no/" libtool.orig > libtool
|
||||
|
||||
chmod +x %{__find_requires}
|
||||
make %{?smp_mflags}
|
||||
|
||||
@ -176,7 +179,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mib2c
|
||||
%{_bindir}/tkmib
|
||||
%{_perl_dir}/lib/site_perl/5.8.8/aix-thread-multi/*
|
||||
%{_perl_dir}/lib/site_perl/5.10.1/aix-thread-multi/*
|
||||
%attr(0644,root,root) %{_mandir}/man1/mib2c.1
|
||||
%attr(0644,root,root) %{_mandir}/man1/tkmib.1
|
||||
%attr(0644,root,root) /usr/share/man/man3/*SNMP*.3
|
||||
|
Loading…
Reference in New Issue
Block a user