tid=21243& 本帖最後由 IT_man 於 2015-10-31 15:49 編輯 & y h: k/ t a! s, M6 l3 m& g
* I" j4 N; F% t& c: g: n2 H3 \
假如使用 源碼安裝套件時需用到 ./configure 組套,but 一開始便出現以下錯誤而跳出:8 u, i! \6 v+ |
checking for C compiler ... not found
: ~3 K, h( Z) g./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.3 @ @3 N" G5 r3 \1 e+ k
原因是系統未安裝 C compiler && C++ compiler
4 B1 z+ ^- V; R, }6 B5 lSolution:/ \5 `- M/ @- s& I
yum install gcc (C compiler)) I2 r' U' V. I2 Q5 m( T: s0 x: R4 w
yum install gcc-c++ (C++ compiler)
9 N! W1 |& {5 X, S9 R
+ n T9 G1 |: A
8 q: C7 N" E* e# I7 y* l搞定8 \! [6 w3 r+ H3 ^) g5 t; r0 i5 y* O2 d
|