免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2484 | 回复: 3
打印 上一主题 下一主题

install kernel-souce error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-16 03:45 |只看该作者 |倒序浏览
[root@localhost kernel_souce]# rpm -ivh kernel-headers*
warning: kernel-headers-2.2.14-12bc.i386.rpm: V3 DSA signature: NOKEY, key ID 205130df
Preparing...                ########################################### [100%]
        file /usr/include/asm from install of kernel-headers-2.2.14-12bc conflicts with file from package glibc-kernheaders-2.4-7.20
        file /usr/include/linux from install of kernel-headers-2.2.14-12bc conflicts with file from package glibc-kernheaders-2.4-7.20
[root@localhost kernel_souce]# rpm -ivh kernel-source-2.2.14-12bc*
warning: kernel-source-2.2.14-12bc.i386.rpm: V3 DSA signature: NOKEY, key ID 205130df
error: Failed dependencies:
        kernel-headers = 2.2.14 is needed by kernel-source-2.2.14-12bc





[root@localhost linux-2.2.24]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.2.24/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >;>; ./kconfig.tk
./tkparse < ../arch/i386/config.in >;>; kconfig.tk
KERNTYPE=`sed -n 's_^/\* Kernel type \(.*\) \*/_\1_p' /boot/kernel.h 2>;/dev/null`; \
if [ -f configs/*-ERNTYPE.config ]; then \
        conf=`echo configs/*-ERNELTYPE.config`; \
        echo "set defaults \"\"" >;>; kconfig.tk; \
else \
        echo "set defaults \"arch/i386/defconfig\"" >;>; kconfig.tk; \
fi
echo "set ARCH \"i386\"" >;>; kconfig.tk
cat tail.tk >;>; kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.2.24/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127

论坛徽章:
0
2 [报告]
发表于 2003-12-16 04:13 |只看该作者

install kernel-souce error

Goatdemon        why cant i do "make xconfig" when compiling my kernel, ive redownloaded various tar.bz2 kernel files and have gotten the same error, on this last try i attempted to install from the tar.gz file. i can do make menuconfig(me too ) but i'd rather figure out the problem. here are the error messages i recieve....

linux linux-2.4.22 linux-2.4.22.tar.gz(hehe,i used 2.2.14   )
[root@myhost src]# cd linux-2.4.22
[root@myhost linux-2.4.22]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.22/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >;>; ./kconfig.tk
./tkparse < ../arch/i386/config.in >;>; kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >;>; kconfig.tk
echo "set ARCH \"i386\"" >;>; kconfig.tk
cat tail.tk >;>; kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.22/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
digiot        "make: wish: Command not found"

Sounds like a missing, incomplete, or misplaced tcl/tk install, specifically 'wish'. I wouldn't know how to fix that in Arch, but I'd look for something like that.
LSD        Yeah, xconfig needs Tcl/Tk before it'll work. I'd imagine fixing it on Arch would be as simple as just using pacman to install tcl and tk:

  1. pacman -Ss tcl
  2. pacman -Ss tk
复制代码

Goatdemon        thanks, it worked.

论坛徽章:
0
3 [报告]
发表于 2003-12-16 04:31 |只看该作者

install kernel-souce error

>; However, dselect says ncurses-bin is indeed installed.  Can anyone
>; suggest what I might fix or do to correct this?
>;
>; Thanks,
>; Bret
>;
You're trying to compile things, so you need the development packages -
libncurses4-dev for menuconfig, tk8.4-dev for xconfig.  Both of these
are listed in the description field for the kernel source, and
libncurses-dev is a recommended package for the kernel source packages.
Since you obviously haven't done this before, or else those packages
would already be installed, note that you'll probably also need to
install bin86, which is needed to compile kernels on x86 platforms (this
is noted in the description for Manoj Srivastava's excellent
kernel-package package, which automates everything else about compiling
a kernel and making a Debian package out of it.

论坛徽章:
0
4 [报告]
发表于 2003-12-16 05:05 |只看该作者

install kernel-souce error

I'm OK
on the site  :  ftp://159.226.80.8/pub/Linux/redhat/release/7.3/os/i386/RedHat/RPMS/
ctrl +f     seatch "tcl"  and "tk"
finded :
tcl-8.3.3-67.i386.rpm
tcllib-1.0-67.i386.rpm
tk-8.3.3-67.i386.rpm
down
rpm ivh tcl-*
....
file /usr/share/man/mann/variable.n.gz from install of tcl-8.3.3-67 conflicts with file from package tcl-8.3.3-74
......
rpm ivh tcllib*

rpm ivh tk*
Preparing... ########################################### [100%]
   1.                                                                            ############ [100%]

cd /usr/src/linux-2.2.24
make xconfig     ( ok     )
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP