打包执行make package命令出错了,请大神指导一二


#1

错误信息提示:
Can’t locate IO/Compress/Lzma.pm in @INC (you may need to install the IO::Compress::Lzma module) (@INC contains: /usr/local/Cellar/perl/5.26.1/lib/perl5/site_perl/5.26.1/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/site_perl/5.26.1 /usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1/darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1 /usr/local/lib/perl5/site_perl/5.26.1/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.26.1) at /opt/theos/bin/dm.pl line 12.
BEGIN failed–compilation aborted at /opt/theos/bin/dm.pl line 12.
make: *** [internal-package] Error 2
:sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob::sob:
我是按照书上一步一步来的啊,大神来指导一下吧,对了执行make命令的时候报了两个警告,这个有影响吗?
make命令:

Making all for tweak NXDemo…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
==> Linking tweak NXDemo (armv7)…
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 [-Wdeprecated]
==> Generating debug symbols for NXDemo (armv7)…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
==> Linking tweak NXDemo (arm64)…
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of iOS 7 [-Wdeprecated]
==> Generating debug symbols for NXDemo (arm64)…
==> Merging tweak NXDemo…
==> Signing NXDemo…


#2

? warning不等于报错


#3

:sob:那make package是什么原因啊


#4

你是如何看待make package成功的?


#5

大哥,成功是succeed,有error有failed肯定不成功啊,我翻译了一下错误信息
无法在@INC中找到IO / Compress / Lzma.pm(您可能需要安装IO :: Compress :: Lzma模块)(@INC包含:/usr/local/Cellar/perl/5.26.1/lib/ perl5 / site_perl / 5.26.1 / darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/site_perl/5.26.1 /usr/local/Cellar/perl/5.26.1/ lib / perl5 / 5.26.1 / darwin-thread-multi-2level /usr/local/Cellar/perl/5.26.1/lib/perl5/5.26.1 /usr/local/lib/perl5/site_perl/5.26.1/ darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.26.1)位于/opt/theos/bin/dm.pl第12行。
BEGIN失败编译在/opt/theos/bin/dm.pl第12行中止。
make:*** [internal-package]错误2


#6

从http://www.iosre.com/t/tweak-make-make-package-make-internal-package-error-2/1273/9 看的可能是dm.pl文件的问题,按上面的方法操作后还没解决,
后来又试了试https://www.jianshu.com/p/751444520848 的方法,完美解决。