I'm trying to install net-snmp onto a system which has had its compiler
removed so physically building on that system isn't an option. My plan
is to build an rpm on an identical system which does have the compiler
and then copy/install the rpm. However, when I do my rpmbuild I get an
error. It looks like it got most of the way through and so I think
everything did compile correctly:
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
/usr/bin/strip: /tmp/net-snmp-root/usr/lib/st9lY1VY/DynaLoader.a:
Invalid operation
/usr/bin/strip: /tmp/net-snmp-root/usr/lib/st3lZ6Yb/DynaLoader.a:
Invalid operation
error: Bad exit status from /var/tmp/rpm-tmp.12900 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.12900 (%install)
When I build from source using "./configure --with-perl-modules" it
builds just fine.
I can see from the spec file there are more options in the configure
line and I even tried modifying it to just "%configure
--with-perl-modules" and it takes me through the configuration options
just like the build from the tar file does. It then looks like it
builds all the components the same way and now it blows up at:
Processing files: net-snmp-devel-5.4.1-1
Processing files: net-snmp-perlmods-5.4.1-1
error: File not found by glob: /tmp/net-snmp-root/usr/share/man/man3/*::*
error: File not found by glob: /tmp/net-snmp-root/usr/share/man/man3/SNMP*
Processing files: net-snmp-debuginfo-5.4.1-1
Provides: libnetsnmp.so.15.1.0.debug libnetsnmpagent.so.15.1.0.debug
libnetsnmphelpers.so.15.1.0.debug libnetsnmpmibs.so.15.1.0.debug
libnetsnmptrapd.so.15.1.0.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
RPM build errors:
File not found by glob: /tmp/net-snmp-root/usr/share/man/man3/*::*
File not found by glob: /tmp/net-snmp-root/usr/share/man/man3/SNMP*
any guidance on how to get past this would be greatly appreciated.
-mark
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders