LinuxSir.cn,穿越时空的Linuxsir!

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

emerge apmd error!

[复制链接]
发表于 2006-5-15 13:27:59 | 显示全部楼层 |阅读模式
localhost apmd # emerge apmd                 
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/apmd-3.2.2_p5 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking apmd_3.2.2.orig.tar.gz ;-)
>>> checking apmd_3.2.2-5.diff.gz ;-)
>>> Unpacking source...
>>> Unpacking apmd_3.2.2.orig.tar.gz to /var/tmp/portage/apmd-3.2.2_p5/work
>>> Unpacking apmd_3.2.2-5.diff.gz to /var/tmp/portage/apmd-3.2.2_p5/work
* Applying apmd_3.2.2-5.diff ...                                         [ ok ]
* Applying apmd-no-on_ac_power_script.patch ...                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/apmd-3.2.2_p5/work/apmd-3.2.2.orig ...
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmd.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib -version-info 1:0
apmsleep.c:60: warning: 'rcsid' defined but not used
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or directory
make: *** [libapm.la] Error 1
make: *** Waiting for unfinished jobs....
rm apm.o

!!! ERROR: sys-apps/apmd-3.2.2_p5 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  apmd-3.2.2_p5.ebuild, line 56:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
 楼主| 发表于 2006-5-15 13:32:04 | 显示全部楼层
现在系统的gcc被我升级到3.4.6,/usr/lib/gcc/i686-pc-linux-gnu/目录下只有3.4.6,怎么办?apmd装不上,gnome也不能装了。
回复 支持 反对

使用道具 举报

发表于 2006-5-15 14:03:02 | 显示全部楼层
eselect compiler list?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-15 15:53:10 | 显示全部楼层
楼上的兄弟, 什么意思?能否详细地说一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-15 16:49:48 | 显示全部楼层
zhllg,帮一下呀!
回复 支持 反对

使用道具 举报

发表于 2006-5-15 17:08:45 | 显示全部楼层
用那个命令看一下你现在的编译器的设置是什么
或者用gcc-config
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-15 17:10:21 | 显示全部楼层
gcc 为 2.4.6呀。
回复 支持 反对

使用道具 举报

发表于 2006-5-15 17:36:29 | 显示全部楼层
env-update && source /etc/profile ?
gcc -v什么结果
回复 支持 反对

使用道具 举报

发表于 2006-5-15 17:40:54 | 显示全部楼层
不用apmd,在make.conf里-apmd。呵呵。我以前就算这么做的!
回复 支持 反对

使用道具 举报

发表于 2006-5-15 17:41:43 | 显示全部楼层
哦,是-apm,写错了
回复 支持 反对

使用道具 举报

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

本版积分规则

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