【发布时间】:2012-02-10 19:47:24
【问题描述】:
亲爱的 perl 程序员朋友们好日子。
我在 OpenSuse 12.1(这是一个在欧洲使用的 linux 系统)上的 WWW::Mechanize::Firefox 有严重的安装问题:查看我在命令行中注意到的问题:
cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.
cpan[1]> install WWW::Mechanize::Firefox;
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 09 Feb 2012 23:13:21 GMT
HTTP::Date not available
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Fetching with HTTP::Tiny:
http://artfiles.org/cpan.org/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Warning: Cannot install WWW::Mechanize::Firefox;, don't know what it is.
Try the command
i /WWW::Mechanize::Firefox;/
to find objects with matching identifiers.
嗯 - 程序想告诉我什么?
我有点迷茫
btw 这是什么意思:我还需要安装 mozRepl
更新查看更新 - 你怎么看?
cpan[2]> ^Cinstall WWW::Mechanize::Firefox
Caught SIGINT, trying to continue
Running install for module 'WWW::Mechanize::Firefox'
Running make for C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz
Giving up on '/root/.cpan/sources/authors/id/C/CO/CORION/WWW-Mechanize-Firefox-0.58.tar.gz'
Note: Current database in memory was generated on Thu, 09 Feb 2012 23:13:21 GMT
cpan[3]>
【问题讨论】:
-
您的第一个失败,因为没有名为
WWW::Mechanize::Firefox;的模块。去掉分号,然后再试一次。我不知道你的^C和SIGINT在你的第二个问题中是怎么回事。只需从头开始(或从命令行执行cpan install WWW::Mechanize::Firefox)。 -
亲爱的 CanSpice - 非常感谢,我会再试一次。感谢您的大力支持-我回来报告所有发现。来自古老的欧洲的问候!
标签: perl makefile mechanize gnu-make opensuse