LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: james_su

SCIM 0.9.4 发布了。

[复制链接]
发表于 2004-4-15 15:53:39 | 显示全部楼层

很怪异

我是在上周装了Debian experimental里面的gnome2.6的,当时scim的版本是0.9.2,然后就出现楼上的错误。

然后就升级scim到0.9.3,0.9.4,错误还是一样的,删除~/.scim也无济于事。

今天试了试 scim -f socket -d,还是没有效果,再试 scim -f x11 -d,怪了,居然可以了,然后又试 scim -d,OK了,都是可以用的了。

想不明白哦。
发表于 2004-4-15 22:04:13 | 显示全部楼层
最初由 liuspider 发表
I use gentoo all the time as my primary desktop, I do not need this patch to compile scim


0.93的scim包含了这个patch了,看看ebuild就知道了。

EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-dlopen.patch
 楼主| 发表于 2004-4-15 23:01:29 | 显示全部楼层
最初由 ZDN 发表
0.93的scim包含了这个patch了,看看ebuild就知道了。

EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-dlopen.patch


不应该需要这个补丁。否则估计是系统有问题。
 楼主| 发表于 2004-4-15 23:02:48 | 显示全部楼层

回复: scim::FrontEnd: X11 -- failed to initialize XIM Server!

最初由 achaoge 发表
环境是Debian sid,使用的是gnome2.6。

我试过了0.9.2
0.9.3
0.9.4
都是这个错误提示。

scim::FrontEnd: X11 -- failed to initialize XIM Server!

james_su,请问这是什么问题,怎样才能进一步得到调试信息?


出现这个错误的最大可能就是已经有一个叫 SCIM 的 XIM 服务器在运行了。要么是有另外一个 XIM 服务器占用了 SCIM 这个名字,要么是已经启动了一个 scim。
发表于 2004-4-16 01:17:52 | 显示全部楼层
最初由 ZDN 发表
0.93的scim包含了这个patch了,看看ebuild就知道了。

EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${P}-dlopen.patch


Yes, I noticed it, but I did not use emerge to install scim, and I did not patch this patch manually, it compiled without any problems

Did you try compiling scim with out that patch?
发表于 2004-4-16 07:55:17 | 显示全部楼层
不加的话就有下面的错误

  1. g++ -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -ftracer -o .libs/scim scim.o  -ldl ./.libs/libscim.so
  2. ./.libs/libscim.so: undefined reference to `dlerror'
  3. ./.libs/libscim.so: undefined reference to `dlclose'
  4. ./.libs/libscim.so: undefined reference to `dlopen'
  5. ./.libs/libscim.so: undefined reference to `dlsym'
  6. collect2: ld returned 1 exit status
  7. make[2]: *** [scim-config-agent] Error 1
  8. make[2]: *** Waiting for unfinished jobs....
  9. creating scim
  10. make[2]: Leaving directory `/var/tmp/portage/scim-0.9.4/work/scim-0.9.4/src'
  11. make[1]: *** [all-recursive] Error 1
  12. make[1]: Leaving directory `/var/tmp/portage/scim-0.9.4/work/scim-0.9.4'
  13. make: *** [all] Error 2

  14. !!! ERROR: app-i18n/scim-0.9.4 failed.
  15. !!! Function gnome2_src_compile, Line 39, Exitcode 2
  16. !!! compile failure

复制代码


另外这个补丁最早是在gentoo的bugzilla提交的
http://bugs.gentoo.org/show_bug.cgi?id=45268
发表于 2004-4-16 09:13:55 | 显示全部楼层
I don't know why, but i can compile scim successfully without any patches

did you try compiling it manually? (not via emerge)
发表于 2004-4-16 09:36:37 | 显示全部楼层
最初由 liuspider 发表
I don't know why, but i can compile scim successfully without any patches

did you try compiling it manually? (not via emerge)


试过的,一样的问题.
下过0.9.3和0.9.4的cvs也是一样.
 楼主| 发表于 2004-4-16 10:16:14 | 显示全部楼层
肯定不是 SCIM 的问题,你可以看到 g++ 编译命令里面已经有 -ldl 这个选项了,完全没有必要再多加一个。


最初由 ZDN 发表
不加的话就有下面的错误

  1. g++ -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -ftracer -o .libs/scim scim.o  -ldl ./.libs/libscim.so
  2. ./.libs/libscim.so: undefined reference to `dlerror'
  3. ./.libs/libscim.so: undefined reference to `dlclose'
  4. ./.libs/libscim.so: undefined reference to `dlopen'
  5. ./.libs/libscim.so: undefined reference to `dlsym'
  6. collect2: ld returned 1 exit status
  7. make[2]: *** [scim-config-agent] Error 1
  8. make[2]: *** Waiting for unfinished jobs....
  9. creating scim
  10. make[2]: Leaving directory `/var/tmp/portage/scim-0.9.4/work/scim-0.9.4/src'
  11. make[1]: *** [all-recursive] Error 1
  12. make[1]: Leaving directory `/var/tmp/portage/scim-0.9.4/work/scim-0.9.4'
  13. make: *** [all] Error 2

  14. !!! ERROR: app-i18n/scim-0.9.4 failed.
  15. !!! Function gnome2_src_compile, Line 39, Exitcode 2
  16. !!! compile failure

复制代码


另外这个补丁最早是在gentoo的bugzilla提交的
http://bugs.gentoo.org/show_bug.cgi?id=45268
发表于 2004-4-16 10:39:27 | 显示全部楼层
会不会是gcc编译参数的问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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