where does rpm look for perl modules?
jos at xos.nl
Tue Sep 14 07:49:39 UTC 2010
On Fri, Jul 23, 2010 at 10:45:10AM +0800, Gu Lei(Tech) wrote:
> Where does rpm look for perl modules?
> [@clubstdby.no.sohu.com Tie-IxHash-1.22]# rpm -ivh
> error: Failed dependencies:
> perl(Tie::IxHash) is needed by dba-mysql-1.0.0-1.x86_64
> dba-mysql-1.0.0-1.x86_64.rpm is made by myself using rpmbuild.
> Tie::IxHash has been installed by make and make install both in site and
> vendor directories.
In the RPM database it looks for something providing "perl(Tie::IxHash)".
So you should not install these things "manually" as RPM won't see them.
Did you try
yum install /opt/rpmbuild/RPMS/x86_64/dba-mysql-1.0.0-1.x86_64.rpm
as Fedora for example includes a perl-Tie-TxHash package providing
"perl(Tie::IxHash)" (you should remove your manually installed Perl
modules first then).
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the Rpm-list