[問題] 找不到gcc?(已經確定有裝了....)

看板Linux作者 (深藍)時間15年前 (2009/02/01 00:05), 編輯推噓3(304)
留言7則, 5人參與, 最新討論串1/3 (看更多)
我今天嚐試要在我的EeePC上裝Perl-5.10.0(原本有5.8.8但是想換新版) 結果在安裝的過程中光是在./Configure的時候就過不了 一直出現.... ... Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. /usr/bin/ld: crt1.o: No such file: 沒有此一檔案或目錄 collect2: ld returned 1 exit status You need to find a working C compiler. Either (purchase and) install the C compiler supplied by your OS vendor, or for a free C compiler try http://gcc.gnu.org/ I cannot continue any further, aborting. 本來以為是沒有裝gcc的關係 所以就去把gcc裝了起來 結果還是一樣的訊息耶??? 是不是因為安裝的時後找不到gcc呢?? 我是個超級新手 是因為Perl才開始學linux的.....>"< 我查文查很久了 還是不知道該怎麼辦 還請各位大大解惑!! 感謝!!!m(_ _)m -- The world is a dangerous place, not because those who do evil, but because those who look on and do nothing. ---Albert Einstein -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 116.59.251.216

02/01 00:40, , 1F
你如何確定你有裝gcc??
02/01 00:40, 1F

02/01 00:41, , 2F
我是用Synaptic裝的...不是那個安裝起來就可以了嗎?@@
02/01 00:41, 2F

02/01 00:46, , 3F
還是要怎麼確定到底有沒有裝起來呢?
02/01 00:46, 3F

02/01 00:48, , 4F
要不要試試看 compat-gcc-34?
02/01 00:48, 4F

02/01 00:53, , 5F
不太懂樓上的意思 可以麻煩說清楚一點嗎? 感謝!
02/01 00:53, 5F

02/01 01:12, , 6F
gcc --version 試試看
02/01 01:12, 6F

02/01 04:05, , 7F
我記得 eeepc 的 synaptic 有錯誤,改以 apt 就可以裝 gcc 了
02/01 04:05, 7F
文章代碼(AID): #19X7RElK (Linux)
文章代碼(AID): #19X7RElK (Linux)