LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Randoll

在用konppix安装时的几个问题。

[复制链接]
 楼主| 发表于 2003-11-17 01:28:25 | 显示全部楼层
我在安装的时候发现一个这样的问题上面说:在安装glibc前,你必须用 cd 命令进入 glibc-2.3.2 目录然后解压 glibc-linuxthreads 压缩包,别把 glibc-linuxthreads 解压到通常的 /usr/src 目录下了。

硬盘已经格了,这上面格了这上面说的/usr/src是knoppix里的路径吗?

一头雾水
 楼主| 发表于 2003-11-17 01:31:25 | 显示全部楼层
最主要的是,我并没有看到这个文件。。

先不管那么多了,装装看吧~

阿们
 楼主| 发表于 2003-11-17 01:41:56 | 显示全部楼层
knoppix@ttyp0[glibc-2.3.2]$ make
Makeconfig:84: sysdeps/../config.make: 没有那个文件或目录
Makerules:782: “include” 没有文件名
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make: *** [sysdeps/../config.status] 错误 1

这次是这样的提示了。。而且不能继续下去了

今天晚上看来是没系了

希望高手们帮帮忙,我明天继续努力
发表于 2003-11-17 08:35:14 | 显示全部楼层
glibc要在单独的目录里编译,你要看仔细.
那个/usr/src是无所谓的,正确做法:
在某个目录下把glibc解压,然后进入glibc-2.3.2,再解压glibc-linuxthreads
 楼主| 发表于 2003-11-17 10:10:21 | 显示全部楼层
我上面出错也是因为这个吗?

我在从来一边试试。
发表于 2003-11-17 10:12:36 | 显示全部楼层
你上面还没有运行configure就运行make了。
也有可能是因为你运行configure的目录不对,应该在glibc-build目录下运行。
 楼主| 发表于 2003-11-18 13:34:56 | 显示全部楼层
这次编译比较成功,但是在GLIBC-2.3.2还是出现问题了
提示这样的:
make[2]: *** [/mnt/lfs/glibc-build/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-2.3.2'
make: *** [all] Error 2

我进行MAKE CHECK的检查,错误提示:
make[2]: *** No rule to make target `/mnt/lfs/glibc-build/elf/soinit.os', needed by `/mnt/lfs/glibc-build/libc.so'.  Stop.
make[2]: Leaving directory `/mnt/lfs/glibc-2.3.2/iconv'
make[1]: *** [iconv/tests] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-2.3.2'
make: *** [check] Error 2

我还要不要继续了呢?

我刚才configure了,没有错误的。。
真不明白
 楼主| 发表于 2003-11-18 13:39:50 | 显示全部楼层
我又继续make install了。结果
make[2]: *** [/mnt/lfs/glibc-build/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-2.3.2'
make: *** [install] Error 2

不知道会不会失败。对了。如果我从这里开始失败,我从新编译的时候从这里接着行吗?还是必须从头来?

谢谢
发表于 2003-11-18 13:56:07 | 显示全部楼层
make都出错了,怎么还能make install呢。关键还是看仔细点,这个版本我编译过很多次了,只有make check的时候出过错,其他都没错的。比如说编译的位置啊这些,要灵活理解。
 楼主| 发表于 2003-11-18 13:58:59 | 显示全部楼层
这次麻烦大了,我的tools/lib/没有ld-linux.so.2
不知道那里的问题。请高手帮忙指点一下吧。我开始的时候真的没发现什么问题,都按照书上作的~>_<~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表