Re: rpm build question

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/10/1 Douglas Hussey <[email protected]>:
> I am using Red Hat Enterprise Linux Server release 5.
> I need to rebuild the latest net-snmp-5.5 (rebuild the RPM) . However, after
> the rpm build process I only end up with:
> net-snmp-5.5-1.x86_64.rpm
> net-snmp-debuginfo-5.5-1.x86_64.rpm
> net-snmp-devel-5.5-1.x86_64.rpm
> net-snmp-perlmods-5.5-1.x86_64.rpm

That's correct - the Net-SNMP binary RPM-based distribution essentially
bundles all of the core functionality into a single RPM (i.e. net-snmp).
This covers what some other distributions (e.g. Fedora/RedHat) divide
between multiple RPMs.



> I need utils and libs. How do I build those packages?
> These are needed for Red Hat.

They are not available as separate RPM packages when using the Net-SNMP
RPM configuration.   However the core net-snmp RPM spec includes the line

    Provides: net-snmp-libs, net-snmp-utils

So the core net-snmp RPM should be recognised by RedHat-based systems
as covering the functionality of these two RPMs as well.

Try
    rpm -q --provides -p net-snmp-5.5-1.x86_64.rpm

which should report this as such.
Installing our RPM should work fine.

Dave

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.