砍敺 IT_man 2015-10-31 15:49 蝺刻摩 # f0 u5 L1 p2 P& d
& _1 D9 D/ a% Y+ P+ @# D憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:
9 r9 b9 S( r( Hchecking for C compiler ... not found* d1 o* w" p- c8 b3 V7 [
./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
3 w8 y5 n3 G6 y7 Z1 V V; w: v8 h9 H4 X舐頂蝯望芸鋆 C compiler && C++ compiler* _% R, d; i$ f% j2 Q$ B. C# y1 D
Solution:
" |- O/ Z, W3 q, A9 xyum install gcc (C compiler)* c( ]4 D8 W8 I+ a* p2 ~
yum install gcc-c++ (C++ compiler)
9 D" m5 Y. ?! o" Z& i- I( E2 p# G6 }6 F& e4 s% k1 A" y
: ?3 k) p' m W2 ^% R
摰+ V8 ]) D2 p, s: O
|
|