tid=21243& 本帖最後由 IT_man 於 2015-10-31 15:49 編輯
( \0 K# c7 X' s4 J
* K) \+ J/ k- \8 y- c% P假如使用 源碼安裝套件時需用到 ./configure 組套,but 一開始便出現以下錯誤而跳出: M" D1 G! v4 m6 b% w4 M
checking for C compiler ... not found, W7 B) ]+ }* Z, `6 h
./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.6 h, H4 W9 U: u0 }
原因是系統未安裝 C compiler && C++ compiler- I) [& I8 ]" G8 I- K1 f/ H- `
Solution:5 v' K# B* U3 ~ [" `/ ~
yum install gcc (C compiler)' B! ?0 ?1 q3 ^% P P
yum install gcc-c++ (C++ compiler)5 r, E( L. i5 Z7 ^
4 y, ^2 Q+ g/ c3 J6 ^ j
( G) L: Z) P8 b, K6 Z# O X
搞定
4 L7 ]7 B6 Y# V$ I0 ^ |