Hi,

I've been trying to build the rpms for net-snmp 5.4 on a rh8 system.
net-snmp compiles and links fine (so I have all the prerequisites installed)
I have > 200 systems out there in the wild that will need updating, and of course
they have no compilers, so I always make binary rpms for them.

After being sure that all compiles correctly, I run the net-snmp.spec file
from the dist directory:

rpmbuild -ba ./dist/net-snmp.spec

very close to the end, we get:

Processing files: net-snmp-perlmods-5.4-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*

Now, it happens that these man pages are in /tmp/net-snmp-root/usr/man/man3
(note the missing /share) although net-snmp's own man pages are in the /share directory.


Perl on rh8 is 5.8.0, and we have many additional perl modules installed. I always
make rpms of them (using cpan2rpm) to distribute them.

I had to comment out the PreReqs in the spec file, because although beecrypt-devel and elfutils-devel are installed, rpm wouldn't recognize them. If I comment out the lines that
refer to the "missing" man pages, the rpms build fine, but complain:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/net-snmp-root
warning: Installed (but unpackaged) file(s) found:
  /usr/man/man3/NetSNMP::ASN.3pm.gz
  /usr/man/man3/NetSNMP::OID.3pm.gz
  /usr/man/man3/NetSNMP::TrapReceiver.3pm.gz
  /usr/man/man3/NetSNMP::agent.3pm.gz
  /usr/man/man3/NetSNMP::agent::default_store.3pm.gz
  /usr/man/man3/NetSNMP::default_store.3pm.gz
  /usr/man/man3/NetSNMP::netsnmp_request_infoPtr.3pm.gz
  /usr/man/man3/SNMP.3.gz

so I'm missing the man pages in the rpms.

Does anyone have a suggestion how to fix this? I've seen other people
on this list say they just build net-snmp form source and made the rpms.
Sounds like it should work. Won't work for me.

Thanks very much for any help you may provide.

Mike


begin:vcard
fn:Mike Schmidt
n:Schmidt;Mike
org:Intello Technologies Inc. 
adr;quoted-printable;quoted-printable:;;580 1=C3=A8re Rue;Saint-Jean-sur-Richelieu;Qu=C3=A9;J2X 3B4;Canada
email;internet:[EMAIL PROTECTED]
title:Vice-President
tel;work:450-358-2266 x223
tel;cell:514-835-9497
x-mozilla-html:FALSE
url:http://www.intello.com
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to