Thanks a lot! Very clear.<br><br>Gu Lei<br><br><div class="gmail_quote">2010/7/23  <span dir="ltr">&lt;<a href="mailto:Greg_Swift@aotx.uscourts.gov">Greg_Swift@aotx.uscourts.gov</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Rpm checks the local RPM database. If you use yum, it would check loca rpm<br>
db and configured repositories.<br>
<br>
For your package to find that perl module, it would need to be available or<br>
already installed via an rpm.<br>
<br>
I don&#39;t recall off hand but I believe there is a utility that will build a<br>
basic RPM by pulling from CPAN.<br>
<br>
<br>
Greg Swift<br>
Sent with mobile device, please pardon errors.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
-------- Original Message --------<br>
<br>
&gt;From :      <a href="mailto:rpm-list-bounces@lists.rpm.org">rpm-list-bounces@lists.rpm.org</a><br>
To :         <a href="mailto:rpm-list@lists.rpm.org">rpm-list@lists.rpm.org</a><br>
Cc :<br>
Sent on : 07/22/2010 10:09:20 PM<br>
Subject : where does rpm look for perl modules?<br>
<br>
<br>
<br>
Hello  everyone:<br>
<br>
<br>
<br>
Where does rpm look for perl  modules?<br>
<br>
<br>
<br>
[@<a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> Tie-IxHash-1.22]# rpm<br>
-ivh /opt/rpmbuild/RPMS/x86_64/dba-mysql-1.0.0-1.x86_64.rpm<br>
<br>
error: Failed  dependencies:<br>
<br>
        perl(Tie::IxHash) is needed  by dba-mysql-1.0.0-1.x86_64<br>
<br>
<br>
<br>
dba-mysql-1.0.0-1.x86_64.rpm is made by myself using  rpmbuild.<br>
<br>
<br>
<br>
Tie::IxHash has been installed by  make and make install both in site and<br>
vendor  directories.<br>
<br>
<br>
<br>
[@<a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> ~]# ls  /usr/lib/perl5/site_perl/5.8.8/Tie/<br>
<br>
IxHash.pm<br>
<br>
[@<a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> ~]# ls  /usr/lib/perl5/vendor_perl/5.8.8/Tie/<br>
<br>
IxHash.pm<br>
<br>
<br>
<br>
Perl scripts in  dba-mysql-1.0.0-1.x86_64.rpm runs  normally on this<br>
machine.<br>
<br>
<br>
<br>
[@<a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> ~]# uname  -a<br>
<br>
Linux <a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT<br>
2008 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
[@<a href="http://clubstdby.no.sohu.com" target="_blank">clubstdby.no.sohu.com</a> ~]# cat  /etc/redhat-release<br>
<br>
Red Hat Enterprise Linux Server  release 5.2 (Tikanga)<br>
<br>
<br>
<br>
How and where should I install  Tie::IxHash? And then<br>
dba-mysql-1.0.0-1.x86_64.rpm  dependence check can be correct.<br>
<br>
<br>
<br>
Thanks.<br>
<br>
<br>
<br>
Gu  Lei<br>
</div></div>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br>
_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</blockquote></div><br>