砍敺 IT_man 2015-10-31 15:49 蝺刻摩 # j( h' C& o& J* R2 l @
# u& B8 c* Y, V; n
憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:
5 i- f! S) H0 xchecking for C compiler ... not found
' G9 X% T( b- l j6 e- Q2 [./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
% @# V# c2 H0 P0 B舐頂蝯望芸鋆 C compiler && C++ compiler0 R0 s% f7 h6 V2 @3 J, h0 u3 H& J
Solution:
- W! l0 r h; z# Q2 B- D- J- t! ryum install gcc (C compiler)1 G. k% t5 L( X6 C" l
yum install gcc-c++ (C++ compiler)+ m! U, Y* E4 e) c; g
4 c* s3 }2 s6 T3 ^/ w
- T' c2 C8 T+ j3 C* f, J摰0 Z8 L; ~9 Y* d' o ~& N
|
|