LinuxSir.cn,穿越时空的Linuxsir!

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

求助:CLFS-1.0.0-x86_64-64 编译临时perl时出错

[复制链接]
发表于 2008-6-4 22:26:02 | 显示全部楼层 |阅读模式
按10.4. Temporary Perl-5.8.8中的说明编译临时perl,执行make perl utilities命令出错:
make[1]: Entering directory `/sources/perl-5.8.8'
cp ext/re/re.pm lib/re.pm
make[1]: Leaving directory `/sources/perl-5.8.8'

        Making DynaLoader (static)
Processing hints file hints/linux.pl
Unable to find a perl 4.94065645841247e-324 (by these names: ../../miniperl miniperl perl perl5 perl5.8.8, in these dirs: ../.. /bin /usr/bin /sbin /usr/sbin /tools/bin /tools/sbin /tools/bin)
Writing Makefile for DynaLoader
make[1]: Entering directory `/sources/perl-5.8.8/ext/DynaLoader'
/bin/sh: /sources/perl-5.8.8/ext/DynaLoader/0: No such file or directory
make[1]: *** [../../lib/.exists] Error 127
make[1]: Leaving directory `/sources/perl-5.8.8/ext/DynaLoader'
make config failed, continuing anyway...
make[1]: Entering directory `/sources/perl-5.8.8/ext/DynaLoader'
/bin/sh: /sources/perl-5.8.8/ext/DynaLoader/0: No such file or directory
make[1]: *** [../../lib/.exists] Error 127
make[1]: Leaving directory `/sources/perl-5.8.8/ext/DynaLoader'
make: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2

请教各位牛人,这是什么原因,如何解决?

环境说明:
主机:DELL Insprion 6400,openSuSE 10.3 32bit
目标机:在同一主机上, 纯64位
CLFS BOOK: Version 1.0.0-x86_64-Pure64
发表于 2008-6-4 23:41:33 | 显示全部楼层
Post by laowang_buaa;1859135
请教各位牛人,这是什么原因,如何解决?

环境说明:
主机:DELL Insprion 6400,openSuSE 10.3 32bit
目标机:在同一主机上, 纯64位
CLFS BOOK: Version 1.0.0-x86_64-Pure64

玩笑开过头了点。
印象中DELL Insprion 6400的CPU是T2300,32位架构。
你交叉编译的64位系统怎么可能在同一主机上运行?

PS:牛人,现在的精确定义是“象牛一样干活的人”,属于被国人糟蹋的又一个词,请不要再使用。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-16 00:37:26 | 显示全部楼层

用笨方法解决了,各位兄弟有没有更好的解决方案?

不得已,手工修改出错处的Makefile文件,问题解决了。详细的说明在http://linuxman.blog.ccidnet.com ... emid-332977.html。
希望能有更好的解决方案!
回复 支持 反对

使用道具 举报

发表于 2008-6-16 01:50:06 | 显示全部楼层
把下面信息贴一下
uname -a
cat /proc/cpuinfo
证明你不是在开玩笑好不好。

假设你的机子真的是64位的,你的解法仍有问题。
不算支持测试的软件,temp perl是新建系统第一次启动,第一个编译的软件包,CLFS-1.0的方法已经很古老,如果你完全参考手册走,不应该出现这样的问题,所以一定是前面什么地方出了问题,建议停止后续步骤,应彻底检查前面所有步骤,这样的问题不可接受。
初次进行,切记:"Follow Book, Book Good."

官方没有提供较新的 CLFS-Sysroot 方式的 pure64 方法。
或者你可以参考我的方法 [color="Blue"]Sysroot 方式从源码构建完全本地编译的 GNU/Linux 系统
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-17 00:02:37 | 显示全部楼层
uname -a:
Linux (none) 2.6.17.13 #5 SMP Sat Apr 26 23:37:30 CST 2008 x86_64 GNU/Linux

cat /proc/cpuinfo:
processor        : 0
vendor_id        : GenuineIntel
cpu family        : 6
model                : 15
model name        : Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
stepping        : 6
cpu MHz                : 1662.520
cache size        : 2048 KB
physical id        : 0
siblings        : 1
core id                : 0
cpu cores        : 1
fpu                : yes
fpu_exception        : yes
cpuid level        : 10
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
bogomips        : 3332.34
clflush size        : 64
cache_alignment        : 64
address sizes        : 36 bits physical, 48 bits virtual
power management:
回复 支持 反对

使用道具 举报

发表于 2008-6-18 08:31:55 | 显示全部楼层
此DELL Insprion 6400,非最初版本6400,不知主板与最初版本是否同型。
也算个好消息,有米时可以考虑升级偶的acer 本本 T2300 到 64bit。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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