Osc*_*mez 2 c compiler-construction perl osx-lion xcode4.3
我最近升级到Lion和XCode 4.3,现在我用perl做的任何需要C编译器的东西都无法构建:
root# perl Makefile.PL
Couldn't find your C compiler
Compilation failed in require at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
Run Code Online (Sandbox Code Playgroud)
我的c编译器设置为:
root# perl -V:cc
cc='llvm-gcc-4.2';
Run Code Online (Sandbox Code Playgroud)
XCode 4.3上有什么改变吗?我现在如何为Perl设置C编译器?