2011-07-22 15 views
2

私はcpanモジュールインストーラをインストールしようとしていますが、パッケージを作成する際に問題が発生しました。perl cpanmのインストールに問題があります

は私が走った:

sudo cpan App::cpanminus 

マイ結果:

// lots of other successful stuff 
CPAN: Module::CoreList loaded ok (v2.43) 
'YAML' not installed, will not store persistent state 

CPAN.pm: Going to build M/MI/MIYAGAWA/App-cpanminus-1.4008.tar.gz 

Checking if your kit is complete... 
Looks good 
Writing Makefile for App::cpanminus 
make: *** No rule to make target `/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop. 
MIYAGAWA/App-cpanminus-1.4008.tar.gz 
make -- NOT OK 
Running make test 
Can't test without successful make 
Running make install 
Make had returned bad status, install seems impossible 

私の問題が何であるか任意のアイデア?

答えて

9
CPANのための

install instructionsマイナス実行すると言う:

curl -L http://cpanmin.us | perl - --sudo App::cpanminus 

または、あなたが代わりにシステムのperlのローカルperlの欠けている場合:CPANマイナスの主な利点ことを考えると

curl -L http://cpanmin.us | perl - App::cpanminus 

それは、cpanを動作させるためにcpanを構成することの騒ぎを避け、インストールするためにcpanを使用することは、それが価値があるように思われます。

関連する問題