砍敺 IT_man 2015-10-31 15:49 蝺刻摩 8 s8 m! r9 B6 J2 \7 k3 c/ {. d% c5 c4 H
7 q- l. ^, r# ]( i憒雿輻 皞蝣澆鋆憟隞嗆典 ./configure 蝯憟,but 銝憪靘踹箇曆誑銝航炊頝喳:
4 W+ Z' L" n) F$ R2 b" o2 Wchecking for C compiler ... not found
3 }; V- S, e2 F$ N8 C! C./configure: error: C compiler gcc is not foundconfigure: error: You need a C++ compiler for C++ support.
( w, o) O7 b Y9 O/ R- X舐頂蝯望芸鋆 C compiler && C++ compiler! g6 g1 D$ v7 d* }% ?5 h+ O9 K
Solution:* _9 R z$ m8 Y9 t3 E
yum install gcc (C compiler)1 ~3 W0 K% x* \
yum install gcc-c++ (C++ compiler)5 U" T) g* x: C3 O
3 ]: `9 N* H1 {, `$ l3 m) _9 Z4 j4 @7 W, i5 O3 D2 l
摰8 I& `/ _) g1 V# Y" V3 e, H6 D) D" n
|
|