【发布时间】:2012-06-05 19:29:06
【问题描述】:
我最近升级到 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.
我的 c 编译器设置为:
root# perl -V:cc
cc='llvm-gcc-4.2';
XCode 4.3 有什么改变吗?我现在如何为 perl 设置 C 编译器?
【问题讨论】:
标签: c perl compiler-construction osx-lion xcode4.3