砍敺 IT_man 2015-10-31 15:49 蝺刻摩
[" q+ L/ m1 x4 o" N5 f% Y) j$ _5 e# u3 Y7 F" W
憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:
# x8 x1 y- j' u0 o0 s8 pchecking for C compiler ... not found
" k6 g, @0 b5 z. k5 `, h./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.) m+ Z& o0 p8 A( J% p
舐頂蝯望芸鋆 C compiler && C++ compiler/ a. {# K7 r/ ?- y% f, \$ |2 _" e9 j% _
Solution:5 y* A$ F7 g' y
yum install gcc (C compiler)% H9 e& D+ Z+ ~! x! o- f
yum install gcc-c++ (C++ compiler)9 ?$ Z; s- m8 S, y, S7 B
/ H; |- i! }8 ?. ]
2 z: f! c" H8 V4 b
摰
* @. F. {7 p6 w9 ~1 @6 J |
|