where does rpm look for perl modules?

一切有为法。如梦幻泡影。如露亦如电。应作如是观。 gulei.om at gmail.com
Fri Jul 23 04:17:18 UTC 2010


Thanks a lot! Very clear.

Gu Lei

2010/7/23 <Greg_Swift at aotx.uscourts.gov>

>
> 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 at lists.rpm.org
> To :         rpm-list at lists.rpm.org
> 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 at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100723/151f8aae/attachment.html>


More information about the Rpm-list mailing list