RE: where does rpm look for perl modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rpm checks the local RPM database. If you use yum, it would check loca rpm
db and configured repositories.

For your package to find that perl module, it would need to be available or
already installed via an rpm.

I don't recall off hand but I believe there is a utility that will build a
basic RPM by pulling from CPAN.


Greg Swift
Sent with mobile device, please pardon errors.



-------- Original Message --------

>From :      rpm-list-bounces@xxxxxxxxxxxxx
To :         rpm-list@xxxxxxxxxxxxx
Cc :
Sent on : 07/22/2010 10:09:20 PM
Subject : where does rpm look for perl modules?



Hello  everyone:



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.



[@clubstdby.no.sohu.com ~]# ls  /usr/lib/perl5/site_perl/5.8.8/Tie/

IxHash.pm

[@clubstdby.no.sohu.com ~]# ls  /usr/lib/perl5/vendor_perl/5.8.8/Tie/

IxHash.pm



Perl scripts in  dba-mysql-1.0.0-1.x86_64.rpm runs  normally on this
machine.



[@clubstdby.no.sohu.com ~]# uname  -a

Linux clubstdby.no.sohu.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux

[@clubstdby.no.sohu.com ~]# cat  /etc/redhat-release

Red Hat Enterprise Linux Server  release 5.2 (Tikanga)



How and where should I install  Tie::IxHash? And then
dba-mysql-1.0.0-1.x86_64.rpm  dependence check can be correct.



Thanks.



Gu  Lei
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux