LinuxSir.cn,穿越时空的Linuxsir!

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

安装 smplayer 时出现错误 烦请大家指点

[复制链接]
发表于 2009-5-20 20:04:54 | 显示全部楼层 |阅读模式
还没有输入法 见谅

i use the keyword x86 and emerge smplayer,it seems sth is wrong when emerging the qt-gui, i am not very clear, is it sth about USE, keyword?


make[1]: *** [../../../bin/linguist] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.4.2-r3/work/qt-x11-opensource-src-4.4.2/tools/linguist/linguist'
make: *** [sub-linguist-make_default-ordered] Error 2
*
* ERROR: x11-libs/qt-gui-4.4.2-r3 failed.
* Call stack:
*               ebuild.sh, line   48:  Called src_compile
*             environment, line 3078:  Called qt4-build_src_compile
*             environment, line 2788:  Called build_directories '
* src/gui
* tools/designer
* tools/linguist
* src/plugins/imageformats/gif
* src/plugins/imageformats/ico
* src/plugins/imageformats/jpeg
* src/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats/tiff'
 楼主| 发表于 2009-5-20 20:07:10 | 显示全部楼层
*             environment, line  465:  Called die
* The specific snippet of code:
*           emake || die "emake failed";
*  The die message:
*   emake failed
*
* 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/x11-libs/qt-gui-4.4.2-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4.4.2-r3/temp/environment'.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-21 11:37:45 | 显示全部楼层
似乎发现一些端倪,

大概在ebuild make install的时候调用
2812      build_directories "${QT4_TARGET_DIRECTORIES}"

QT4_TARGET_DIRECTORIES变量如下

91  QT4_TARGET_DIRECTORIES=$'\nsrc/gui\ntools/designer\ntools/linguist\nsrc/
plugins/imageformats/gif\nsrc/plugins/imageformats/ico\nsrc/plugins/imageformats
/jpeg\nsrc/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats
/tiff'


可能是没有这些目录造成的:
* src/gui
* tools/designer
* tools/linguist
* src/plugins/imageformats/gif
* src/plugins/imageformats/ico
* src/plugins/imageformats/jpeg
* src/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats/tiff'

所以在这里抛出错误
482  build_directories ()
   483  {
   484      local dirs="$@";
   485      for x in ${dirs};
   486      do
   487          cd "${S}"/${x};
   488          "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed";
   489          emake || die "emake failed";
   490      done
   491  }


我应该如何办呢? 好像编译其他软件也会出现这类错误。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-21 11:39:02 | 显示全部楼层
是应该在机子上手动创建这些目录吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-21 12:14:58 | 显示全部楼层
无视我上面的吧,我把emerge --info 和log等文件附上来.

err message:

make: *** [sub-linguist-make_default-ordered] Error 2
*
* ERROR: x11-libs/qt-gui-4.4.2-r3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3102:  Called qt4-build_src_compile
*             environment, line 2812:  Called build_directories '
* src/gui
* tools/designer
* tools/linguist
* src/plugins/imageformats/gif
* src/plugins/imageformats/ico
* src/plugins/imageformats/jpeg
* src/plugins/inputmethods tools/qdbus/qdbusviewer src/plugins/imageformats/tif
f'
*             environment, line  489:  Called die
* The specific snippet of code:
*           emake || die "emake failed";
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/x11-libs/qt-gui-4.4.2-r3
/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4
.4.2-r3/temp/environment'.
*

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2009-5-21 13:46:57 | 显示全部楼层
bugzilla查了么
回复 支持 反对

使用道具 举报

发表于 2009-5-21 13:57:09 | 显示全部楼层
linking ../../../bin/linguist
.obj/release-shared/trpreviewtool.o: In function `FormHolder::FormHolder(QWidget*, QFlags<Qt::WindowType>)':
trpreviewtool.cpp.text+0x11a): undefined reference to `QUiLoader:UiLoader(QObject*)'
.obj/release-shared/trpreviewtool.o: In function `FormHolder::FormHolder(QWidget*, QFlags<Qt::WindowType>)':
trpreviewtool.cpp.text+0x212): undefined reference to `QUiLoader:UiLoader(QObject*)'
.obj/release-shared/trpreviewtool.o: In function `FormHolder::loadFormFile(QString const&)':
trpreviewtool.cpp.text+0xf19): undefined reference to `QUiLoader::load(QIODevice*, QWidget*)'
collect2: ld returned 1 exit status

这才是最重要的信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-21 14:14:38 | 显示全部楼层
谢谢版主的提示,难怪我查不到什么信息。

刚才查了一下与这两个bug类似
Bug#: 261923
http://bugs.gentoo.org/261923
http://bugs.gentoo.org/show_bug.cgi?id=267531

我的错误是可重现的,几次都这样。qt-core我也重装过,问题依旧,等下换个版本看看。不知版主有什么建议。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-21 18:35:01 | 显示全部楼层
换了一个~x86版本,将USE中的nls去掉,可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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