安装Wx :: Perl :: SplashFast或任何Wx perl模块让我在mac OS El Capitan 10.11.5上疯狂

时间:2016-05-27 12:01:26

标签: macos perl perl-module wxwidgets

我一次又一次地尝试安装任何Perl Wx模块,包括Wx::Perl::SplashFast,但没有成功。我有一个需要这个模块的程序,我已经成功安装了所有必需的模块Wx以及任何相关的模块。

我使用sudo cpan -f Wx::Perl::SplashFast并收到错误:

make: *** [Wx.o] Error 1
  MDOOTSON/Wx-0.9928.tar.gz
  /usr/bin/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

请注意我在系统路径中安装了wxpython /usr/local/lib/wxPython-3.0.2.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx 和其他需要wxpython工作正常的程序。安装这些Perl模块是一项挑战。

有人可以帮忙吗?

编辑: 这是来自失败的cpanm Wx的日志:

    cpanm (App::cpanminus) 1.7042 on perl 5.018002 built for darwin-2level
Work directory is /Users/STGNU/.cpanm/work/1464453743.57963
You have make /usr/bin/make
You have LWP 6.15
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Wx () on cpanmetadb ...
--> Working on Wx
Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9928.tar.gz
-> OK
Unpacking Wx-0.9928.tar.gz
Entering Wx-0.9928
Checking configure dependencies from META.json
Checking if you have Alien::wxWidgets 0.25 ... Yes (0.67)
Configuring Wx-0.9928
Running Makefile.PL
Searching configuration for:
wxWidgets (any version) for (any toolkit); compiler compatibility: gcc 3.4; 

Available configurations:
wxWidgets 3.000002 for mac; compiler compatibility: nc 0; options: no debug, unicode, no mslu
Compilation failed in require at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.
-> N/A
-> FAIL Configure failed for Wx-0.9928. See /Users/STGNU/.cpanm/work/1464453743.57963/build.log for details.

0 个答案:

没有答案