[sylpheed-jp:10796] Re: enchant 1.5.0 でセグメンテ ーション違反

"M.H" <[email protected]>
Newsgroups gmane.mail.sylpheed.general.japanese
Message-ID <[email protected]>
こんにちは、M.H です。

> 結果、/usr/lib/enchant 以下にある不要なライブラリを削除すると
> 異常終了しなくなりました。

/usr/lib/enchant/libenchant_zemberek.so を削除するだけでコケないですが、
dbus-glib へのリンクを追加して make すれば大丈夫みたいです。
# Debian, Ubuntu, Pardus はどうしてんだろう?
# 特に Pardus は困りそうな…

--- sylpheed-2.7.1.orig/configure.in	2009-08-13 11:22:10.000000000 +0900
+++ sylpheed-2.7.1/configure.in	2009-09-23 14:32:07.000000000 +0900
@@ -284,6 +284,8 @@
 		LIBS="$LIBS `$PKG_CONFIG --libs gtkspell-2.0`"
 		if $PKG_CONFIG --atleast-version 2.0.13 gtkspell-2.0 ; then
 			AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
+			CFLAGS="$CFLAGS `$PKG_CONFIG --cflags dbus-glib-1`"
+			LIBS="$LIBS `$PKG_CONFIG --libs dbus-glib-1`"
 		elif $PKG_CONFIG --atleast-version 2.0.12 gtkspell-2.0 ; then
 			LIBS="$LIBS -laspell"
 		fi

理由は定かではないです ^^;

# これとは関係なく zemberek の dbus のチェック部分は、
# おかしいような気がする…

Thanks!
  -M.H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.