C compiler cannot create executables - Linux

Table of Contents


小弟我最近在mac 上裝 PECL

執行./configure 時

出現了下面的error 有google了一下 但還是不知道如何解決

checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-apple-darwin11.3.0
checking target system type... i386-apple-darwin11.3.0
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem:
C compiler cannot create executables.

請各問大大解惑一下 謝謝!


--

All Comments

Skylar Davis avatarSkylar Davis2012-04-10
是不是沒有裝gcc呀?
Hedda avatarHedda2012-04-12
我有裝xcode xcode裡面好像有附 gcc
Carol avatarCarol2012-04-16
xcode是llvm才對吧
Genevieve avatarGenevieve2012-04-17
不過會建立一個 gcc 的 symlink (指向 llvm-gcc-4.x)
找不到應該是因為你沒裝 command line tools