我正在尝试从源代码构建Alien-wxWidgets 0.69,但是无论我做什么,它都会失败。我用过:
perl ./Build.PL --wxWidgets-extraflags="--with-macosx-versin-min=10.11"
./Build
perl Build test
perl Build install
这是构建输出:
`Cloning into 'Alien-wxWidgets
remote: Counting objects: 1954, done.
remote: Total 1954 (delta 0), reused 0 (delta 0), pack-reused 1954
Receiving objects: 100% (1954/1954), 844.04 KiB | 848.00 KiB/s, done.
Resolving deltas: 100% (1243/1243), done.
--2018-07-16 02:49:37-- https://cpan.metacpan.org/authors/id/M/MD/MDOOTSON/Alien-wxWidgets-0.69.tar.gz
Resolving cpan.metacpan.org (cpan.metacpan.org)... 151.101.18.217
Connecting to cpan.metacpan.org (cpan.metacpan.org)|151.101.18.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 671819 (656K) [application/x-gzip]
Saving to: ‘Alien-wxWidgets-0.69.tar.gz’
Alien-wxWidgets-0.69.tar.gz 100%[====================================================>] 656.07K 4.16MB/s in 0.2s
2018-07-16 02:49:37 (4.16 MB/s) - ‘Alien-wxWidgets-0.69.tar.gz’ saved [671819/671819]
wxWidgets 3.0.4 seems to be installed in '/usr/local/wxWidgets', so it should be safe to
answer 'no' to the following question:
Do you want to fetch and build wxWidgets from sources? [no ]
no
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-wxWidgets' version '0.69'
Building Alien-wxWidgets
-lwxscintilla-3.0 at inc/My/Build/Any_wx_config_Bakefile.pm line 38.
-lwxscintilla-3.0 at inc/My/Build/Any_wx_config_Bakefile.pm line 38.
Building Alien-wxWidgets
-lwxscintilla-3.0 at inc/My/Build/Any_wx_config_Bakefile.pm line 38.`
值得一提的是,我已经安装了自制软件,并成功地从源代码成功构建了wxWidgets 3.0.4,并运行了一些wxWidgets演示,并且一切正常。我在路径中有wx-confing。看看从终端调用它时得到什么:
$ wx-config-3 --cflags
-I/usr/local/wxWidgets/lib/wx/include/osx_cocoa-unicode-static-3.0 -I/usr/local/wxWidgets/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__
能否请您帮助我理解错误-lwxscintilla-3.0 at inc/My/Build/Any_wx_config_Bakefile.pm line 38.
的含义以及如何解决该错误?谢谢。