LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 892|回复: 6

ft,又是关于glibc安装的问题 ̄ ̄我怎么碰到那么多问题

[复制链接]
发表于 2003-8-22 22:27:11 | 显示全部楼层 |阅读模式
老老实实按照上面说的作的阿 ̄ ̄(今天弄了半天多,没前进多少,郁闷)

Chapter 6.Installing Glibc-2.3.2
我的安装步骤:
先前已经删除了rm -rf glibc-*过了。
root:/$ tar xjvf glibc-2.3.2.tar.bz2
root:/$ cd glibc-2.3.2
root:/glibc-2.3.2$ tar xjvf ../glibc-linuxthreads-2.3.2.tar.bz2
root:/glibc-2.3.2$ mkdir ../glibc-build
root:/glibc-2.3.2$ cd ../glibc-build/
root:/glibc-build$ ../glibc-2.3.2/configure --prefix=/usr \
>     --disable-profile --enable-add-ons \
>     --libexecdir=/usr/bin --with-headers=/usr/include
configure: loading cache /dev/null
../glibc-2.3.2/configure: line 1: ../glibc-2.3.2/configure:: No such file or directory
../glibc-2.3.2/configure: line 1: /bin/pwd: No such file or directory
../glibc-2.3.2/configure: line 1: /bin/pwd: No such file or directory
configure: error: you must configure in a separate build directory
难道又是static的原因?又没法用file了。郁闷死了....
:confused: :confused: :comp :comp
发表于 2003-8-22 23:25:19 | 显示全部楼层
为什么没法用file?
 楼主| 发表于 2003-8-23 01:12:53 | 显示全部楼层
对了,可以不在chroot里看的阿,呵呵.
[root@localhost bin]# file /mnt/lfs/glibc-2.3.2/configure
/mnt/lfs/glibc-2.3.2/configure: Bourne shell script text executable
另外pwd确实没有这个文件的说.
ps:
我glibc没装,我bash的提示符是不是有点不对?
好像重起的时候忘记有没有mount proc了,有无关系?
现在也记不起前面的步骤了.该怎么办呢?
thx
发表于 2003-8-23 02:11:19 | 显示全部楼层
glibc第五章里装过一个,所以bash的提示符不是i have no name
你应该用file命令看看$LFS/static/bin/bash 和 $LFS/static/bin/pwd
 楼主| 发表于 2003-8-23 13:36:39 | 显示全部楼层
奇怪了,我的原来是i have no name形式的.后来重启过后,进去就不是这样的了.难道要重新编译了?
[root@localhost richardleo]# file /mnt/lfs/stage1/bin/bash
/mnt/lfs/stage1/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
[root@localhost richardleo]# file /mnt/lfs/stage1/bin/pwd
/mnt/lfs/stage1/bin/pwd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
发表于 2003-8-24 16:16:23 | 显示全部楼层
先不要chroot
在host系统里编译glibc后,用
make install_root=$LFS install
安装,省好多事。
 楼主| 发表于 2003-8-24 16:59:59 | 显示全部楼层
o~,let me try
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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