2017-02-17 57 views
0

失敗的過程中安裝WWW ::捲曲::易我安裝Perl模塊「WWW ::捲曲::易」,但它變得錯誤我也fource使用安裝,但它變得同樣的錯誤。爲什麼這是發生的事情,請幫我解決。在CPAN

我在CPAN使用這些命令 的perl -MCPAN -e殼 強制安裝WWW ::捲曲::易

cpan[1]> force install WWW::Curl::Easy 
Reading '/root/.cpan/Metadata' 
    Database was generated on Thu, 16 Feb 2017 05:17:02 GMT 
Running install for module 'WWW::Curl::Easy' 
Checksum for /root/.cpan/sources/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz ok 
Scanning cache /root/.cpan/build for sizes 
............................................................................DONE 
Configuring S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz with Makefile.PL 
Locating required external dependency bin:curl-config... missing. 
Unresolvable missing external dependency. 
Please install 'curl-config' seperately and try again. 
NA: Unable to build distribution on this platform. 
No 'Makefile' created SZBALINT/WWW-Curl-4.17.tar.gz 
    /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK 
Failed during this command: 
SZBALINT/WWW-Curl-4.17.tar.gz    : writemakefile NO -- No 'Makefile' created 
+0

請安裝「捲曲配置」 seperately,然後再試一次。 – Pradeep

+0

考查[此](http://blogs.perl.org/users/samuel_kaufman/2013/12/resolving-non-perl-dependencies-for-perl-modules-in-debianubuntu.html)。 – AbhiNickz

+0

謝謝你們,但我該如何安裝'curl-config'? – Ganesh

回答

0

這是告訴你問題

定位所需的外部依賴bin:curl-config ...缺失。

無法解析缺失的外部依賴。請安裝「捲曲配置」

seperately,然後再試一次。

所以安裝捲曲配置,然後再試一次。始終檢查依賴關係。 安裝curl-config方法取決於操作系統。

紅帽比如它會

yum install curl 
0

我用這個和它的安裝 「WWW ::捲曲::易」 模塊沒有任何錯誤

的apt-get安裝的libwww-curl- perl的