砍敺 IT_man 2015-10-31 15:49 蝺刻摩 1 n1 h% T) t! O- g8 w
( R, o; W) w/ n3 \ a憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:+ u) ?7 u4 N v% q4 B8 h/ W
checking for C compiler ... not found8 e* h9 r) T1 f, G% J, p, |3 c
./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
; W' o7 {0 ]$ E舐頂蝯望芸鋆 C compiler && C++ compiler
- }. ]8 ^1 J; u0 r! h9 ^Solution:
+ v7 _$ \, m/ C/ j! d- D' c5 z: vyum install gcc (C compiler) U8 L0 L% ]7 Z, a
yum install gcc-c++ (C++ compiler)( \8 T0 l, W' z8 A
, X* ]3 X Z) ~* s+ O" b0 K6 u/ h" d r5 P( ~
摰0 n$ M; y$ c! n8 i
|
|