砍敺 IT_man 2015-10-31 15:49 蝺刻摩 ( u8 ?9 z# I5 f% h: i0 }
8 M0 I: H6 j. d; }& a( T" i
憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:% f f6 n' |7 v$ A( m
checking for C compiler ... not found
* m2 T P' d7 H7 r5 v! M./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
8 h) r5 S8 Q/ z8 f: k5 @舐頂蝯望芸鋆 C compiler && C++ compiler S. u' I' ^+ e8 U) P
Solution:: V) t, f- j2 S, c1 l: j( c
yum install gcc (C compiler)
) ] }, W9 }0 s' Dyum install gcc-c++ (C++ compiler)
+ @) e. ]( l9 i- l2 @; k
. x, {/ C8 v% t# |2 w+ A% C" h2 L& q' \, H( v3 H, D
摰
- q# {1 ]( u& ?# y |
|