LinuxSir.cn,穿越时空的Linuxsir!

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

编译lfs到装glibc的时候报错,怎么办(赐教)

[复制链接]
发表于 2003-5-24 22:14:34 | 显示全部楼层
能覆盖掉的,而且第五章没有顺序,先编译哪个都行。如果是第六章出问题,就不能这样了,而是在出问题的包后面的都要再编译一次。
 楼主| 发表于 2003-5-26 07:20:43 | 显示全部楼层
hoho

pass !
 楼主| 发表于 2003-5-26 15:34:47 | 显示全部楼层

how to resolve this ?

Updating makefile...
make[1]: Leaving directory `/usr/src/perl-5.8.0/x2p'
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

makefile:856: *** missing separator.  Stop.
root:/usr/src/perl-5.8.0#
 楼主| 发表于 2003-5-26 17:42:51 | 显示全部楼层
如果这个通不过的话,后面就不能继续了
怎么办
发表于 2003-5-26 21:11:02 | 显示全部楼层
这个啊,我觉得还是有某个第五章的软件没装对,不是静态连接的,所以不能工作.用那个脚本查一下.(在哪?正在找……)
 楼主| 发表于 2003-5-26 22:37:55 | 显示全部楼层
斑竹
我现在有一个想法,    偷梁换柱
呵呵不知道行不行,既然在虚拟的下面不行,我先在主系统下面,configure
make好了之后,把整个文件一起cp过去,在chroot下执行
make install
只要我要的参数加上去,编译坑定不会有问题,安装之后会不会有问题啊?

如果斑竹找到哪个没有编译有问题,kkkkkkk告诉我,心急啊,这几天都没有好好学习了,让我魂牵梦绕啊 呵呵
上面幼稚的想法不知道可不可行

请大家斧正
发表于 2003-5-26 23:06:37 | 显示全部楼层
那个编译有问题的还是要你来找啊,我这里又看不到你的系统,呵呵。用ldd命令找一下,就知道哪个不是静态连接的了。
你在主系统上编译,到LFS里安装,我觉得不太好,因为环境差异比较大,要不然还要chroot干什么,直接在主系统里编译完了,拷贝到LFS就行了。
 楼主| 发表于 2003-5-27 09:06:09 | 显示全部楼层

所有/static/bin都是not a dynamic executable

还要检查那些文件是否是动态的阿
发表于 2003-5-27 11:31:13 | 显示全部楼层
/static/sbin
 楼主| 发表于 2003-5-28 16:03:40 | 显示全部楼层
现在都最后 一步了阿
inux From Scratch: 版本 20021030
Chapter 8. 使 LFS 系统可以启动安装 Linux-2.4.19
运行make menuconfig

root:/usr/src/linux-2.4.19# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.19/scripts/lxdialog'
make[1]: Leaving directory `/usr/src/linux-2.4.19/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/i386/config.in

Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
make: *** [menuconfig] Error 1
root:/usr/src/linux-2.4.19#

可是我以前在自己的主系统里面编译内核没有错误阿,怎么会这样阿
怎么办
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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