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

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
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