LinuxSir.cn,穿越时空的Linuxsir!

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

我的USE有什么问题吗?

[复制链接]
发表于 2005-8-8 22:54:47 | 显示全部楼层 |阅读模式
USE="mmx sse nptl nptlonly cjk truetype unicode acpi alsa X kde gtk2 real opengl -gnome"

从stage1-x86-2005.0开始的,XML-Parser编译出错,gentoo、rox都用不了了。

localhost ~ # emerge dev-perl/XML-Parser
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/XML-Parser-2.34 to /
>>> md5 files   ;-) XML-Parser-2.34.ebuild
>>> md5 files   ;-) XML-Parser-2.31.ebuild
>>> md5 files   ;-) XML-Parser-2.31-r1.ebuild
>>> md5 files   ;-) files/digest-XML-Parser-2.31
>>> md5 files   ;-) files/digest-XML-Parser-2.34
>>> md5 files   ;-) files/digest-XML-Parser-2.31-r1
>>> md5 src_uri ;-) XML-Parser-2.34.tar.gz
>>> Unpacking source...
>>> Unpacking XML-Parser-2.34.tar.gz to /var/tmp/portage/XML-Parser-2.34/work
>>> Source unpacked.
* Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for XML:arser::Expat
Writing Makefile for XML:arser
make: Warning: File `/usr/lib/perl5/5.8.6/i686-linux/Config.pm' has modification time 3.4e+03 s in the future
Makefile out-of-date with respect to /usr/lib/perl5/5.8.6/i686-linux/Config.pm /usr/lib/perl5/5.8.6/i686-linux/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/bin/perl5.8.6 Makefile.PL "REFIX=/usr" "INSTALLDIRS=vendor" "DESTDIR=/var/tmp/portage/XML-Parser-2.34/image/"
Checking if your kit is complete...
Looks good
Writing Makefile for XML:arser::Expat
Writing Makefile for XML:arser
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile] Error 1

!!! ERROR: dev-perl/XML-Parser-2.34 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

localhost ~ #
 楼主| 发表于 2005-8-8 22:57:55 | 显示全部楼层
make.conf

CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

GENTOO_MIRRORS="http://gentoo.gg3.net/ http://mirror.gentoo.gr.jp/ http://mirror.gentoo.ru/pub/mirror/gentoo/"
SYNC="rsync://rsync.gg3.net/gentoo-portage/"

USE="mmx sse nptl nptlonly cjk truetype unicode acpi alsa X kde gtk2 real opengl -gnome"

LINGUAS="zh_CN"
回复 支持 反对

使用道具 举报

发表于 2005-8-8 22:58:51 | 显示全部楼层
你的时间不对啊。把时间设置检查一下。再校正一下时间。
`/usr/lib/perl5/5.8.6/i686-linux/Config.pm' has modification time 3.4e+03 s in the future
你试试touch /usr/lib/perl5/5.8.6/i686-linux/Config.pm
然后在emerge dev-perl/XML-Parser。
回复 支持 反对

使用道具 举报

发表于 2005-8-8 23:03:21 | 显示全部楼层
这个可能很大问题的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-8 23:08:49 | 显示全部楼层
执行了touch /usr/lib/perl5/5.8.6/i686-linux/Config.pm,还是同样的错误

ln -sf /usr/share/zoneinfo/PRC /etc/localtime
然后编辑 /etc/conf.d/clock
CLOCK="local"

date 显示的时间是正确的
回复 支持 反对

使用道具 举报

发表于 2005-8-8 23:24:56 | 显示全部楼层
[PHP] make: Warning: File `/usr/lib/perl5/5.8.6/i686-linux/Config.pm' has modification time 3.4e+03 s in the future[/PHP]

和USE没关系,这一行已经告诉你问题出在那里,是时间戳不对
从stage1开始是很容易出现这个毛病,因为,当你将localtime设为中国区时间时,系统会自动+8小时,,然后你在把时间校正,会造成文件时间戳不对,多数程序编译时会有警告,但仍然可以通过,XML-Parser则不能通过,办法有两个
一:
等8小时后在编译,将没有问题
二:
在安装时,做时区设定这一步时,即
ln -sf /usr/share/zoneinfo/PRC /etc/localtime
先将时间往回调8小时,这样,链接后,系统自动+8小时,就是正常时间
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-9 07:57:54 | 显示全部楼层
果然如此,多谢!
回复 支持 反对

使用道具 举报

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

本版积分规则

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