Thanks for the steps. I did see the src.rpm but was unsure how to go about using it. I built 5.1.2 by hand and it's working - even the Perl code although you already knew that. :) Maybe I'll uninstall it and build the src.rpm.


  Thanks for the pointers!

  Shane


Robert Story wrote:

On Thu, 31 Mar 2005 15:30:54 -0500 Shane wrote:
SD> But I'm back to the same problem - there is SD> only RH9 and FC2 RPMs available. Does anyone know what kind of dark SD> arts are required to create a local RPM? Is it safe to build and SD> install a package without an RPM? This is the first time I've dealt SD> with RPMs and I'm uncertain what works and what doesn't. Any pointers?


If you want to install without a RPM, you need to make sure you remove the
existing RPM first, so you don't end up with two versions installed. Other
packages will depend on the Net-SNMP RPMs, so you will have to specify --nodeps
to get it to work. So, do something like this:

1) get the latest version of Net-SNMP
2) unpack it, run configure and make to build it
3) remove old RPMs

   $ rpm --nodeps net-snmp net-snmp-util net-snmp-perl net-snmp-libs \
       net-snmp-devel

   Not all systems will have all these RPMs installed, so remove any that
   cause rpm to fail.

4) run make install to install the new version.


Alternatively, grab the latest Net-SNMP src.rpm, and then

  $ rpmbuild --rebuild -with perl net-snmp-5.2.1.src.rpm



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to