发新话题
打印

You must set the environment variable CC to a working compiler

You must set the environment variable CC to a working compiler

在安装gcc时候出现了 这个文问题
9 @! a$ d7 ^4 P' d2 D+ P( q4 X/ B! h9 }: D4 F, w0 s( b* t
[wu@localhost test]$ tool/gcc/gcc-3.1/configure --prefix=bin/gcc; @  ?5 h% _: F, J  G% k7 Z
Configuring for a i686-pc-linux-gnu host.; B. p1 y3 D- K6 ?4 p$ b- u! g
Created "Makefile" in /home/wu/test using "mt-frag"
8 a6 ?7 y) {" X0 }# K! ytool/gcc/gcc-3.1/configure: line 7: cc: command not found- F, u  b# R% I  M2 K5 b1 ]5 `
*** The command 'cc -o conftest -g   conftest.c' failed.8 ^6 a' p. ^7 {# d: O: J
*** You must set the environment variable CC to a working compiler.  _7 c2 ^: p# ?7 Q2 c) g
3 c' a8 o# z+ K5 M
系统没有C编译程序可用,该怎么 办?      

TOP

[QUOTE=wuswxia]在安装gcc时候出现了 这个文问题' c" Q: R4 ]" I' J

9 j. t+ j( F+ G7 W[wu@localhost test]$ tool/gcc/gcc-3.1/configure --prefix=bin/gcc9 v* Z+ M  q5 y4 K
Configuring for a i686-pc-linux-gnu host.
2 w1 z9 ~6 k" i8 A* F% tCreated "Makefile" in /home/wu/test using "mt-frag"2 c) N1 E4 c2 c' ]
tool/gcc/gcc-3.1/configure: line 7: cc: command not found
1 J( q3 L2 z% N- _" M  X) i*** The command 'cc -o conftest -g   conftest.c' failed.
2 w5 C" t* W8 t% g3 `7 z*** You must set the environment variable CC to a working compiler.
2 e2 [- @! S  P9 R4 [, U4 R" N% w) r3 M' E8 L4 W! Y' {# X5 |3 x
系统没有C编译程序可用,该怎么 办?[/QUOTE]
* r1 O" @, ^9 `& i2 q$ g" F没有rpm包吗?      
上帝说,有问题,找GOOGLE 写程序是很神圣的事情!同样只是装系统,卖菜的大娘会的事情不见得就跟卖菜一样了。

TOP

发新话题