尝试通过 cpan 安装 Qwizard 时出现类似于https://rt.cpan.org/Public/Bug/Display.html?id=121401的错误
cpan[1]> install QWizard
Reading '/Users/haroldbennett/.cpan/Metadata'
Database was generated on Mon, 27 Aug 2018 02:17:02 GMT
Running install for module 'QWizard'
Checksum for
/Users/<username>/.cpan/sources/authors/id/H/HA/HARDAKER/QWizard-3.15.tar.gz ok
Scanning cache /Users/<username>/.cpan/build for sizes ....... DONE
Configuring H/HA/HARDAKER/QWizard-3.15.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
ERROR from evaluation of
/Users/<username>/.cpan/build/QWizard-3.15-1/Generator_base/Makefile.PL:
panic: attempt to copy freed scalar 7fabf00040b0 to 7fabf02a7e58 at
/opt/local/lib/perl5/5.26/Carp.pm line 229.
Warning: No success on command[/opt/local/bin/perl5.26 Makefile.PL]
HARDAKER/QWizard-3.15.tar.gz
/opt/local/bin/perl5.26 Makefile.PL -- NOT OK
Failed during this command:
HARDAKER/QWizard-3.15.tar.gz : writemakefile NO
'/opt/local/bin/perl5.26 Makefile.PL' returned status 512
我曾尝试使用 force 选项(我不喜欢此选项),但是当我尝试在代码中使用它时,该模块看起来仍未安装。“无法在 @INC 中找到 QWizard.pm”,这让我相信强制选项是白费力气。
我的问题是,简而言之,我怎样才能安装这个模块?
Mac OS X version 10.13.6 (17G65)
Perl version 5.26.2 built for darwin-thread-multi-2level
QWizard-3.15