Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Dave Shield
On 10/04/2008, Mark Seger [EMAIL PROTECTED] wrote: 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

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Mark Seger
Dave Shield wrote: On 10/04/2008, Mark Seger [EMAIL PROTECTED] wrote: 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

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Mark Seger
/usr/bin/strip: /tmp/net-snmp-root/usr/lib/st9lY1VY/DynaLoader.a: Invalid operation I'm getting something similar: /usr/bin/strip: Unable to recognise the format of the input file `/tmp/net-snmp-root/usr/lib/libnetsnmptrapd.a(DynaLoader.a)' But the build process

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Dave Shield
On 11/04/2008, Mark Seger [EMAIL PROTECTED] wrote: export STRIP=true rpmbuild .. I tried this and now it's failing the same way I described above in not being able to find the man pages - the directory IS there as are some man pages, but non containing '::' in their names or

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Mark Seger
oops, I had been using the hacked version so I just finished rerunning it after exporting STRIP=true and it failed at the man page section. here are the errors again: Processing files: net-snmp-devel-5.4.1-1 Processing files: net-snmp-perlmods-5.4.1-1 error: File not found by glob:

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Dave Shield
On 11/04/2008, Mark Seger [EMAIL PROTECTED] wrote: oops, I had been using the hacked version so I just finished rerunning it after exporting STRIP=true and it failed at the man page section. Firstly, I would suggest that you start again with a completely clean installation of the source RPM.

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-11 Thread Mark Seger
good call! I reinstalled the src rpm, exported STRIP and it built with no errors! sounds like a release note is called for. 9-) -mark Dave Shield wrote: On 11/04/2008, Mark Seger [EMAIL PROTECTED] wrote: oops, I had been using the hacked version so I just finished rerunning it after

won't build from src.rpm, but building from tar.gz works fine

2008-04-10 Thread Mark Seger
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.

Re: won't build from src.rpm, but building from tar.gz works fine

2008-04-10 Thread Thomas Anders
Mark Seger wrote: However, when I do my rpmbuild I get an error. Could you please tell us what system (OS version) you're using and what exact steps you've taken in both cases? Also, a longer snippet from the output before the error would be helpful. +Thomas