LinuxSir.cn,穿越时空的Linuxsir!

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

Gentoo-china-overlay中的chmsee有问题

[复制链接]
发表于 2008-7-5 16:23:56 | 显示全部楼层 |阅读模式
chmsee依赖xulrunner
emerge chmsee时会自动把xulrunner-1.9装上,可仍然会出现错误:

checking for GECKO... no
configure: error:
*** You must have either the Mozilla, Firefox, Seamonkey or XulRunner
*** development libraries installed in order to build ChmSee!


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-text/chmsee-1.0.1/work/chmsee-1.0.1/config.log
*
* ERROR: app-text/chmsee-1.0.1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2334:  Called econf '--with-gecko=xulrunner'
*               ebuild.sh, line  526:  Called die
* The specific snippet of code:
*                           die "econf failed"
*  The die message:
*   econf failed


找到解决办法:chmsee 依赖xulrunner-1.8,把xulrunner-1.8装上后再emerge chmsee就解决了


请版主看看怎么解决Gentoo-china-overlay中的chmsee的这个问题,以免让要安装chmsee的朋友走弯路。
发表于 2008-7-5 16:59:50 | 显示全部楼层
working on it
thanks
回复 支持 反对

使用道具 举报

发表于 2008-7-7 05:25:41 | 显示全部楼层
@@ -15,11 +15,12 @@

IUSE="xulrunner"
RDEPEND=">=gnome-base/libglade-2.0
-                >=x11-libs/gtk+-2.8
-                dev-libs/chmlib
-                dev-libs/openssl
-                xulrunner? ( net-libs/xulrunner )
-                !xulrunner? ( >=www-client/mozilla-firefox-1.5.0.7 )"
+       >=x11-libs/gtk+-2.8
+       dev-libs/chmlib
+       dev-libs/openssl
+       xulrunner? ( || ( =net-libs/xulrunner-1.8*
+               =net-libs/xulrunner-bin-1.8.1.15 ) )
+       !xulrunner? ( >=www-client/mozilla-firefox-1.5.0.7 )"

DEPEND="${RDEPEND}"

@@ -28,7 +29,13 @@
        if use xulrunner; then
                myconf="${myconf} --with-gecko=xulrunner"
        else
-               myconf="${myconf} --with-gecko=firefox"
+               if has_version '=www-client/mozilla-firefox-3*'; then
+                       elog "lease enable 'xulrunner' USE flag since chmsee depends on"
+                       elog "xulrunner-1.8, while mozilla-firefox-3 pulls in xulrunner-1.9."
+                       die
+               else
+                       myconf="${myconf} --with-gecko=firefox"
+               fi
        fi
回复 支持 反对

使用道具 举报

发表于 2008-7-7 07:15:40 | 显示全部楼层
我这里会安装xulruner1.8,chmsee一切正常
回复 支持 反对

使用道具 举报

发表于 2008-7-7 15:24:52 | 显示全部楼层
我已经修正了,当然正常,
你的firefox是什么版本?
你有没有启用xulrunner USE标记?
回复 支持 反对

使用道具 举报

发表于 2008-7-22 14:20:29 | 显示全部楼层
如果USE中没有带USE="xulrunner",还是会报搂主的错,加上这个后,安装正常,xulrunner是1.9版
回复 支持 反对

使用道具 举报

发表于 2008-7-22 15:03:49 | 显示全部楼层
你装了firefox 3了么?
回复 支持 反对

使用道具 举报

发表于 2008-7-23 21:03:36 | 显示全部楼层
经和debianl商量后,我准备改成这个
这样如果有xulrunner-1.9,将会无条件的使用 --with-gecko=libxul ,而不看use标记
  if has_version '=net-libs/xulrunner-1.9*'; then
        myconf="${myconf} --with-gecko=libxul"
    else
        if use xulrunner; then
            myconf="${myconf} --with-gecko=xulrunner"
        else
            myconf="${myconf} --with-gecko=firefox"
        fi
    fi
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-24 18:06:58 | 显示全部楼层
学习了
不知道什么时候我才能达到版主的水平
现在gnome还依赖xulrunner1.8吗?
回复 支持 反对

使用道具 举报

发表于 2008-7-24 21:01:53 | 显示全部楼层
equery d xulrunner
回复 支持 反对

使用道具 举报

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

本版积分规则

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