在安装期间试图为perl模块编写Makefile时反复失败



我正在尝试安装一些perl模块作为Circos设置的一部分。我在终端中使用cpan安装模块,虽然初始设置似乎很顺利,但在编写Makefile时,在安装的最后一步中所有模块都失败了。

错误如下:

Checking if your kit is complete...
Looks good
Writing Makefile for Font::TTF
Can't exec "make": No such file or directory at /System/Library/Perl/5.12/CPAN/Distribution.pm line 2026.
MHOSKEN/Font-TTF-1.02.tar.gz
make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
MHOSKEN/Font-TTF-1.02.tar.gz                 : make NO

我认为唯一的选择可能是手动安装模块而不是使用cpan,但我认为在这里提出一个问题可能值得一试。

似乎/System/Library/Perl/5.12/CPAN/Distribution。PM正在试图找到你系统的"make"命令。既然你使用的是Mac OS/X是"make"实际安装或你需要添加一些开发工具?

进一步讨论G. Cito的回答/问题:

如果你在Mac OS/X上,这个旧的答案可能对你有用,因为在相应的情况下会抛出完全相同的错误:

https://stackoverflow.com/a/6767528/2352071

最新更新