a dependency is not being detected?

Fulko Hew <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I've been perplexed by yum....

I have a package (rpm) I've created.  One if its dependencies is
'perl-SNMP-Session'. When I build my package the process reports
(trimmed for brevity):

Requires: /bin/sh /usr/bin/perl bash chkconfig coreutils grep
initscripts mysql-server perl >= 0:5.002 perl(AutoLoader)
...
perl(SNMP_Session)
...

To install, I use: 'yum install --nogpgcheck MyPackage.rpm'

On Fedora boxes (example F12) it detects the missing dependency
and also installs perl-SNMP-Session, but on an RHEL 5.4 box it
doesn't report the missing dependency.

Note: The RHEL 5.4 box does have the mrtg package installed,
and that package has a copy of the relevant files I need,
(but the mrtg package doesn't install them into a location that Perl can
find.)

# rpm -qa --filesbypkg | grep SNMP_Session
mrtg     /usr/lib/mrtg2/SNMP_Session.pm

Using the 'verbose' flag during yum install, it says:

looking for ('perl(SNMP_Session)', None, (None, None, None)) as a
requirement of MyPackage.noarch 0-1.0-5 u

but:  'yum list "*SNMP_Session*"' reports it as 'available', _not_
'installed':

Available Packages:
perl-SNMP_Session.noarch     1.12-3.el5.1    epl

So the question is...
if its not installed, why isn't it being required/found as a missing
dependency?

TIA
Fulko

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
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.