砍敺 IT_man 2015-10-31 15:49 蝺刻摩 4 L9 p) z( y" u6 B
" M [6 w* M* F+ E" W憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:
/ C# ]8 d- ~+ a) Pchecking for C compiler ... not found
+ |5 Z; q8 F# t2 h# Q./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
' M0 f3 F" [' o; b- _ f3 I, ^; y舐頂蝯望芸鋆 C compiler && C++ compiler& d; W% }. Y5 l
Solution:( Y/ d" w0 Z Y7 @) z" M
yum install gcc (C compiler)
/ g: k, Z, i7 |% K; C o7 g+ Ayum install gcc-c++ (C++ compiler)
2 E% G- o% C! w8 `) Y6 D; n4 E
' |* S: H- e* A. g4 e5 ^6 j, l
1 i k/ x I4 ]& |9 I7 A摰. }. \4 w! J7 i4 ^
|
|