where does rpm look for perl modules?
devzero2000
pinto.elia at gmail.com
Fri Jul 23 08:03:55 UTC 2010
On Fri, Jul 23, 2010 at 5:44 AM, <Greg_Swift at aotx.uscourts.gov> wrote:
>
> 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.
Yes. It is trivial to build a rpm for a perl module.
http://cpanspec.sourceforge.net/
or if you use Fedora yum install cpanspec
hth
>
>
> 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
>
More information about the Rpm-list
mailing list