[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: where does rpm look for perl modules?



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
> /opt/rpmbuild/RPMS/x86_64/dba-mysql-1.0.0-1.x86_64.rpm
> 
> 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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]