+7 707 858 58 37
help@vpsadm.ru
How install perl-Imager to centos 7 with yum (error Can’t locate Imager.pm in @INC)

I have centos 7 with perl 5.16.3 and move website from old debian 6 with perl 5.10.

Website show this error in logs:

 Can't locate Imager.pm in @INC (@INC contains:

I try search perl-Imager in repos, but not found.

I try search this module on external services such as rpmfind — but for centos 6 and older available only.

I found this resource http://dries.eu/rpms/perl-Imager/perl-Imager

… but there I see
«No build yet for CentOS 7 x86_64»

Okay.

I try to find this module as rpm on fedora.
go to the https://rpms.remirepo.net/rpmphp/zoom.php?rpm=perl-Imager#

And try to install few versions rpm to my centos 7.

I have an error of installation:

This package for newest perl version

And with package for Fedora 19 it’s sucessfully.

https://koji.fedoraproject.org/koji/buildinfo?buildID=420830

Because this package for perl 5.16.3.

So:

wget https://kojipkgs.fedoraproject.org//packages/perl-Imager/0.96/1.fc19/x86_64/perl-Imager-0.96-1.fc19.x86_64.rpm

yum localinstall perl-Imager-0.96-1.fc19.x86_64.rpm

Enjoy!

p.s: sorry for my poor english 🙂

Отправить ответ

Notify of
avatar
Марк
Гость

Wow, the article in English is something new 🙂 I’ll play along, I’m in the topic 🙂

seoonly.ru
Гость

Мерси!!

wpDiscuz