无法在osx 10.6.8上安装padwalker

时间:2014-02-28 08:55:13

标签: macos perl

我想在我的mac上安装padwalker,以便我可以在eclipse中使用它(helios)

$ make -version是3.81

从cpan& amp;安装PadWalker直接通过make命令给我以下错误

PadWalker.xs: In function ‘fetch_from_stash’:
PadWalker.xs:179: warning: format not a string literal and no format arguments
    lipo: can't open input file: /var/folders/xB/xBJ-fz33GWibK4FbV4AAwk+++TI/-Tmp-//ccl9TEXl.out (No such file or directory)
make: *** [PadWalker.o] Error 2
  ROBIN/PadWalker-1.98.tar.gz
  /usr/bin/make -- NOT OK
Warning (usually harmless): '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:
 ROBIN/PadWalker-1.98.tar.gz                  : make NO

我很抱歉,但我真的在网上寻找答案,但没有找到任何答案。 有人建议使用cpanm,但这也没用[/ p>

1 个答案:

答案 0 :(得分:0)

我有一个肮脏的把戏。 使用cpan,我仍然无法安装它。

但是我下载了PadWalker-1.98.tar.gz

打开Makefile.PL并删除行MIN_PERL_VERSION => “5.008001”,

我做了$ perl Makefile.PL

参考https://rt.cpan.org/Public/Bug/Display.html?id=69506

我打开生成的Makefile&删除了Makefile中'-arch ppc'的所有实例。

最后 $化妆 &安培; $ make install

现在我能够在eclipse中查看局部变量