查看完整版本 : CentOS install perl(Win32::TieRegistry) and perl(perl)

3叔 2013-1-3 12:54 PM

CentOS install perl(Win32::TieRegistry) and perl(perl)

Hi All,

I have tried to install a perl module perl-PDF-API2 but failed due to dependencies
[color=#4169e1]error: Failed dependencies:[/color]
[color=#4169e1]        perl(Font::TTF) is needed by perl-PDF-API2-2.019-1.noarch [/color]
[color=#4169e1]        perl(Font::TTF::Font) is needed by perl-PDF-API2-2.019-1.noarch[/color]
[color=#4169e1]        perl(Win32::TieRegistry) is needed by perl-PDF-API2-2.019-1.noarch[/color]
[color=#4169e1]        perl(perl) is needed by perl-PDF-API2-2.019-1.noarch[/color]

The modules perl(Font::TTF) and perl(Font::TTF::Font) are installed successfully

For perl(Win32::TieRegistry), I tried to install perl-Sys-Hostname-Long which provides perl(Win32::TieRegistry)
[color=#4169e1]yum install perl-Sys-Hostname-Long[/color]
[color=#4169e1]
[/color]
The installation is successful but still getting the errors below.
[color=#4169e1]error: Failed dependencies:[/color]
[color=#4169e1]        perl(Win32::TieRegistry) is needed by perl-PDF-API2-2.019-1.noarch[/color]
[color=#4169e1]        perl(perl) is needed by perl-PDF-API2-2.019-1.noarch[/color]

I have no idea how to install perl(perl) and why perl(Win32::TieRegistry) is still needed.

Do you have any suggestions?

My CentOS version is 5.8

Many Thanks!

[[i] 本帖最後由 3叔 於 2013-1-3 12:56 PM 編輯 [/i]]

星海揚帆 2013-1-4 10:39 PM

Did you use yum?
Coz that should resolve all dependencies automatically

3叔 2013-1-8 03:33 PM

[quote]原帖由 [i]星海揚帆[/i] 於 2013-1-4 10:39 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=351051555&ptid=21332962][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
Did you use yum?
Coz that should resolve all dependencies automatically [/quote]
Yes. I use yum.
And now I uninstall the package by yum remove

And I downloaded a RPM package and installed it. It works.

But now, do you know how to install perl(perl)?
I'm not sure what it is and how to install it.
頁: [1]
查看完整版本: CentOS install perl(Win32::TieRegistry) and perl(perl)