LinuxSir.cn,穿越时空的Linuxsir!

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

编译skim出错。请各位老大指教

[复制链接]
发表于 2008-3-4 12:09:06 | 显示全部楼层 |阅读模式
>>> Emerging (1 of 1) app-i18n/skim-1.4.5 to /
* skim-1.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
* checking ebuild checksums ;-) ...                                   [ ok ]
* checking auxfile checksums ;-) ...                                  [ ok ]
* checking miscfile checksums ;-) ...                                 [ ok ]
* checking skim-1.4.5.tar.bz2 ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking skim-1.4.5.tar.bz2 to /var/tmp/portage/app-i18n/skim-1.4.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-i18n/skim-1.4.5/work/skim-1.4.5...
Checking for Python               :  /usr/bin/python
Checking for SCons                :  Use Bundled scons.
** installation prefix for the project set to: /usr
Checking for kde-config           :  kde-config was found
Checking for kde version          :  3.5.9
Checking for the qt library       :  qt is in /usr/qt/3
Checking for uic                  :  uic was found as /usr/qt/3/bin/uic
Checking for moc                  :  moc was found as /usr/qt/3/bin/moc
Checking for the qt includes      :  ok /usr/qt/3/include/
Checking for the kde includes     :  ok /usr/kde/3.5/include
Checking for pkg-config           :  Found
Checking for scim >= 1.4.4 ...  Found
Checking for scim-x11utils ...  Found
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
meinproc --check --cache doc/de/index.cache.bz2 doc/de/index.docbook
meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook
index.docbook:118: parser error : Entity 'Strg' not defined
tenkombination zur Aktivierung</guilabel> (hier: <keycombo action="simul">&Strg;
  ^
index.docbook:235: parser error : Entity 'Strg' not defined
um den Webbrowser Mozilla zu starten. Wenn Sie <keycombo action="simul">&Strg;<k
^
scons: *** [doc/de/index.cache.bz2] Error 1
scons: building terminated because of errors.
*
* ERROR: app-i18n/skim-1.4.5 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2972:  Called die
* The specific snippet of code:
*       CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die
*  The die message:
*   (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/log/portage/app-i18n:skim-1.4.5:20080304-035232.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/environment'.
*

* Messages for package app-i18n/skim-1.4.5:

*
* ERROR: app-i18n/skim-1.4.5 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2972:  Called die
* The specific snippet of code:
*       CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die
*  The die message:
*   (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/log/portage/app-i18n:skim-1.4.5:20080304-035232.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/environment'.


相关贴:http://forums.gentoo.org/viewtop ... -asc-start-500.html



原来是kde-config 的路径找不到所至,把home下指向kde4的link改一下就好了
发表于 2008-3-21 19:08:07 | 显示全部楼层
我也遇到同样的问题,有人能解决吗?
我只装了kde4和kdelib3和kdebase3还有kdesdk3,其他没装,是不是缺了什么?
回复 支持 反对

使用道具 举报

发表于 2008-5-20 16:17:20 | 显示全部楼层
我也遇到同样问题了,楼主能否详细说明一下如何解决的?
我装的怎么还是kde3.5呢?如何安装4.0的?
回复 支持 反对

使用道具 举报

发表于 2008-5-20 16:20:46 | 显示全部楼层
Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=213967
没办法 CJK 组没人上线……
回复 支持 反对

使用道具 举报

发表于 2008-5-20 18:17:37 | 显示全部楼层
我的解决办法:
不要用skim
把scim和scim-pinyin都设置成-kde
然后装scim-bridge
.xinitrc或.xprofile设置如下:
export XIM=SCIM
export XIM_PROGRAM=SCIM
export XMODIFIERS=@im=SCIM
export QT_IM_MODULE="scim-bridge"
export GTK_IM_MODULE="scim-bridge"
scim -d
回复 支持 反对

使用道具 举报

发表于 2008-5-20 18:38:49 | 显示全部楼层
其实 scim 本身在 KDE 下表现也很不错了。我只有一个问题没有解决。
  我是在 /etc/xprofile 下设置启动 scim 的。但我在进入桌面系统后发现 KDE 下的 scim 没有使用 gtk-engines-qt 设置的风格,十分丑陋。
  不知道楼上何解?效果如何?
  另外就是
# ChangeLog for app-i18n/skim
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/ChangeLog,v 1.57 2008/04/21 15:36:13 flameeyes Exp $

  21 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
  +files/skim-1.4.5-asneeded.patch, skim-1.4.5.ebuild:
  Add patch to fix building when --as-needed is forced on.
  最近有人管事的呀……
回复 支持 反对

使用道具 举报

发表于 2008-5-20 21:06:28 | 显示全部楼层
flameeyes不是cjk的
他是个完美主义者,比较喜欢搞一些类似--as-needed拉,什么不要.la文件拉之类的事情
回复 支持 反对

使用道具 举报

发表于 2008-5-20 22:16:51 | 显示全部楼层
我喜欢这样的作风……不过在大量工作的情况下,这个可能是资源浪费。
  这么说 cjk 没人了?刚才在回顾 GNW 的时候看到早在 2006 年 CJK 组就说少人了。
回复 支持 反对

使用道具 举报

发表于 2008-5-20 22:26:28 | 显示全部楼层
libmad.la这次就闯祸了
回复 支持 反对

使用道具 举报

发表于 2008-5-21 12:39:46 | 显示全部楼层
貌似我的 skim 编译出问题是由于补丁的问题。不知道这个是不是。
回复 支持 反对

使用道具 举报

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

本版积分规则

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