Chinaunix

标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码 [打印本页]

作者: stonebing    时间: 2004-06-25 15:34
标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码
rpm -ivh kernel-source-2.4.20-8.i386.rpm

结果它报下面的错:
warning:kernel-source-2.4.20-8.i386.rpm:V3 DSA signature: NOKEY,key ID db42a60e
error: Failed dependencies:
gcc >; = 2.96-98 is needed by kernel-source-2.4.20-8


哪位大人能帮忙解决呀?!!!在线等
作者: q1208c    时间: 2004-06-25 15:38
标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码
装个gcc 呀!
作者: stonebing    时间: 2004-06-30 13:55
标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码
---created "makefile" in /zhang/gcc-2.95.3
./configure:line 7:cc command not found
***the command 'cc -o conftest -g conftest.c' failed
***you must set the enviroment variable CC to  a working compiler.
---
上面就是在执行的时候报的错。不明白如何SET ENVIROMNET。
作者: jgkc    时间: 2004-06-30 13:57
标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码
晕~~~~请问你系统怎么装起来的
作者: stonebing    时间: 2004-06-30 14:02
标题: /usr/src下没有redhat文件夹,想加载linux2.4的源代码
就是这么装起来的。而且用的也挺好的,做过zebra,ftp,iptables,nat 等服务。都没有任何问题啊!!!楼上的能不能讲讲清楚啊!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2