XCode 4.3 - perl can't find C compiler after upgrade from XCode 4.2 -


i upgraded lion , xcode 4.3 , perl requires c compiler failing build:

root# perl makefile.pl  couldn't find c compiler compilation failed in require @ makefile.pl line 5. begin failed--compilation aborted @ makefile.pl line 5. 

my c compiler set to:

root# perl -v:cc cc='llvm-gcc-4.2'; 

is there changed on xcode 4.3?, how set c compiler perl now?.

the new version of xcode doesn't install binaries (such c compiler) can found in $path. you'll need go "downloads" section of xcode preferences , elect install command line tools.

more information from apple (look "command line tools optional").


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -