我正在尝试安装cpan模块安装程序,我遇到了制作软件包的问题.
我跑了:
sudo cpan App::cpanminus
Run Code Online (Sandbox Code Playgroud)
我的结果:
// 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
Run Code Online (Sandbox Code Playgroud)
知道我的问题是什么吗?
Que*_*tin 10
cpan 的安装说明减去说运行:
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
Run Code Online (Sandbox Code Playgroud)
或者,如果您想要一个本地perl而不是系统perl:
curl -L http://cpanmin.us | perl - App::cpanminus
Run Code Online (Sandbox Code Playgroud)
鉴于cpan减去的主要优点是它避免了配置cpan工作的所有麻烦,使用cpan来安装它似乎更痛苦然后它是值得的.
| 归档时间: |
|
| 查看次数: |
3788 次 |
| 最近记录: |