|
报错如下
- root@veket:~/下载/PAR-Packer-1.059$ perl Makefile.PL perl Makefile.PL
- make
- make test
- make install
- Can't exec "cc": 没有那个文件或目录 at /root/.cache/activestate/60b08778/lib/perl5/5.36.0/ExtUtils/CBuilder/Base.pm line 342.
- No compiler found, won't generate 'script/parl!
- Writing MYMETA.yml and MYMETA.json
- Generating a Unix-style Makefile
- Writing Makefile for PAR::Packer
- Writing MYMETA.yml and MYMETA.json
- Skip blib/lib/PAR/Filter.pm (unchanged)
- Skip blib/lib/PAR/Packer.pm (unchanged)
- Skip blib/lib/PAR/Filter/Obfuscate.pm (unchanged)
- Skip blib/lib/PAR/Filter/PatchContent.pm (unchanged)
- Skip blib/lib/App/Packer/PAR.pm (unchanged)
- Skip blib/lib/PAR/StrippedPARL/Base.pm (unchanged)
- Skip blib/lib/PAR/Filter/Bytecode.pm (unchanged)
- Skip blib/lib/pp.pm (unchanged)
- Skip blib/lib/PAR/Filter/PodStrip.pm (unchanged)
- Skip blib/lib/PAR/Filter/Bleach.pm (unchanged)
- make[1]: 进入目录“/root/下载/PAR-Packer-1.059/t/data”
- Skip ../blib/lib/Double/Colon/Foo/Bar/Quux.pm (unchanged)
- Skip ../blib/lib/Double/Colon/Barnie.pm (unchanged)
- Skip ../blib/lib/Double/Colon/Fred.pm (unchanged)
- Skip ../blib/lib/XSFoo.pm (unchanged)
- Skip ../blib/lib/Double/Colon.pm (unchanged)
- Skip ../blib/lib/Myfile.pm (unchanged)
- Running Mkbootstrap for XSFoo ()
- chmod 644 "XSFoo.bs"
- "/root/.cache/activestate/60b08778/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XSFoo.bs ../blib/lib/auto/XSFoo/XSFoo.bs 644
- cc -c -I. -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/root/.cache/activestate/60b08778/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC "-I/root/.cache/activestate/60b08778/lib/perl5/5.36.0/x86_64-linux/CORE" XSFoo.c
- /bin/sh:行1: cc:未找到命令
- make[1]: *** [Makefile:328:XSFoo.o] 错误 127
- make[1]: 离开目录“/root/下载/PAR-Packer-1.059/t/data”
- make: *** [Makefile:517:subdirs] 错误 2
- make[1]: 进入目录“/root/下载/PAR-Packer-1.059/t/data”
- "/root/.cache/activestate/60b08778/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XSFoo.bs ../blib/lib/auto/XSFoo/XSFoo.bs 644
- cc -c -I. -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/root/.cache/activestate/60b08778/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC "-I/root/.cache/activestate/60b08778/lib/perl5/5.36.0/x86_64-linux/CORE" XSFoo.c
- /bin/sh:行1: cc:未找到命令
- make[1]: *** [Makefile:328:XSFoo.o] 错误 127
- make[1]: 离开目录“/root/下载/PAR-Packer-1.059/t/data”
- make: *** [Makefile:517:subdirs] 错误 2
- make[1]: 进入目录“/root/下载/PAR-Packer-1.059/t/data”
- "/root/.cache/activestate/60b08778/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XSFoo.bs ../blib/lib/auto/XSFoo/XSFoo.bs 644
- cc -c -I. -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/root/.cache/activestate/60b08778/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION="0.01" -DXS_VERSION="0.01" -fPIC "-I/root/.cache/activestate/60b08778/lib/perl5/5.36.0/x86_64-linux/CORE" XSFoo.c
- /bin/sh:行1: cc:未找到命令
- make[1]: *** [Makefile:328:XSFoo.o] 错误 127
- make[1]: 离开目录“/root/下载/PAR-Packer-1.059/t/data”
- make: *** [Makefile:517:subdirs] 错误 2
复制代码
报错
我查了一下是找不到gcc?
可是
系统集成了gcc和g++的 |
|