LinuxSir.cn,穿越时空的Linuxsir!

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

记号!!安装glib-1.2.10-r5失败的解决办法!!

[复制链接]
发表于 2007-6-17 15:48:33 | 显示全部楼层 |阅读模式
emerge KDE时它依赖glib-1.2.10,但是emerge时总是出错:

&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing chmod-scripts commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10'
Making all in .
make[2]: Entering directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10'
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG    -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe -fPIC -Wall  -D_REENTRANT -c garray.c
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG    -O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe -fPIC -Wall  -D_REENTRANT -c gcache.c
./libtool: line 297: s,^.*/,,g: No such file or directory
./libtool: line 297: s,^.*/,,g: No such file or directory
./libtool: line 711: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1022: -e: command not found
./libtool: line 711: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1050: -e: command not found
./libtool: line 1074: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [gcache.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1022: -e: command not found
./libtool: line 1050: -e: command not found
./libtool: line 1074: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [garray.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-1.2.10-r5/work/glib-1.2.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/glib-1.2.10-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3699:   Called src_compile
  glib-1.2.10-r5.ebuild, line 54:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/glib-1.2.10-r5/temp/build.log'.

解决方法: export SED=sed
之后glib-1.2.10-r5可以编译通过了,ok。
发表于 2007-6-18 12:24:48 | 显示全部楼层
去掉USE里面的gtk就不会merge这个glib了吧。这好像还是为gtk1服务的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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