NiohuruzhShin
2021-09-27 21:05
采纳率: 0%
浏览 64

安装perl的devel::size模块的时候失败

报错如下:

(base) nio@ ~ % cd /Users/nio/Devel-Size-0.83 
(base) nio@ Devel-Size-0.83 % perl Makefile.PL 
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Devel::Size
Writing MYMETA.yml and MYMETA.json
(base) nio@ Devel-Size-0.83 % nmake
zsh: command not found: nmake
(base) nio@shenzhenghaodeMacBook-Pro Devel-Size-0.83 % make
cp lib/Devel/Size.pm blib/lib/Devel/Size.pm
Running Mkbootstrap for Size ()
chmod 644 "Size.bs"
"/Users/nio/miniconda3/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Size.bs blib/arch/auto/Devel/Size/Size.bs 644
"/Users/nio/miniconda3/bin/perl" "/Users/nio/miniconda3/lib/5.26.2/ExtUtils/xsubpp"  -typemap '/Users/nio/miniconda3/lib/5.26.2/ExtUtils/typemap' -typemap '/Users/nio/Devel-Size-0.83/typemap'  Size.xs > Size.xsc
mv Size.xsc Size.c
x86_64-apple-darwin13.4.0-clang -c   -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.9 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"0.83\" -DXS_VERSION=\"0.83\" -fPIC --sysroot=/opt/MacOSX10.9.sdk "-I/Users/nio/miniconda3/lib/5.26.2/darwin-thread-multi-2level/CORE"  -DALIGN_BITS=3 Size.c
**/bin/sh: x86_64-apple-darwin13.4.0-clang: command not found**
make: *** [Size.o] Error 127

求各位同行帮看看!
macos catalina version=10.15.7
perl version=5.26.2
cc='x86_64-apple-darwin13.4.0-clang'
感激不尽

1条回答 默认 最新

相关推荐 更多相似问题