砍敺 IT_man 2015-10-31 15:49 蝺刻摩
( P- M0 D; n. Z. m
1 e; U+ V" a; b% j6 Z2 E3 z憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:3 l3 T F6 K" |. X( P5 u9 ]) w; R
checking for C compiler ... not found. N5 U/ A, A, n& D
./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
8 }$ l" Q$ m, _) s" x5 Z% w/ a舐頂蝯望芸鋆 C compiler && C++ compiler4 @' M9 M9 a! i1 ~: o9 G
Solution:# m4 {1 Y2 y5 E1 |4 ^
yum install gcc (C compiler)
# Z" `- }7 _- b* ]yum install gcc-c++ (C++ compiler)- Y5 h. Z2 K- W9 V: n; x/ b4 I" _
! Q" w! P) Y3 f' p' _, B
; K. }" K/ ]6 ~7 j& z. Q! ?
摰
7 E4 D: v/ n! G9 w" ` |
|