免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1464 | 回复: 0
打印 上一主题 下一主题

glib-1.2.10-r5编译失败之解决方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-30 18:57 |只看该作者 |倒序浏览
k,让我郁闷了好一会儿的问题终于解决了,emerge mplayer时它依赖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
之后gtk1也可以编译通过了,ok。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/5017/showart_268412.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP