看板FreeBSD
标 题stardict make error
发信站新森情款款 (Sat Apr 17 21:28:48 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!freebsd.ntu!news.ntu!Maple2BBS
不知道有没有人最近 portupgrade 到 pango-1.4.0 之後
stardict 就烂掉的 @@...
error message:
In file included from stardict.h:27,
from stardict.cpp:35:
prefsdlg.h:42: error: `GtkOptionMenu' was not declared in this scope
prefsdlg.h:42: error: `option_menu' was not declared in this scope
prefsdlg.h:42: error: syntax error before `*' token
prefsdlg.h:42: error: invalid data member initialization
prefsdlg.h:42: error: (use `=' to initialize static data members)
prefsdlg.h:42: error: variable or field `
on_setup_dictionary_scan_optionmenu_changed' declared void
stardict.cpp: In static member function `static gboolean
AppCore::on_window_state_event(GtkWidget*, GdkEventWindowState*, AppCore*)':
stardict.cpp:255: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp:255: error: (Each undeclared identifier is reported only once for
each function it appears in.)
stardict.cpp: In static member function `static gboolean
AppCore::vKeyPressReleaseCallback(GtkWidget*, GdkEventKey*, AppCore*)':
stardict.cpp:334: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::TopWinEnterWord(const gchar*)':
stardict.cpp:1065: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In member function `void AppCore::ListClick(const gchar*)':
stardict.cpp:1148: error: `GTK_COMBO' undeclared (first use this function)
stardict.cpp: In function `gint save_yourself_cb(GnomeClient*, int,
GnomeRestartStyle, int, GnomeInteractStyle, int, void*)':
stardict.cpp:1457: error: `GTK_COMBO' undeclared (first use this function)
gmake[3]: *** [stardict.o] Error 1
gmake[3]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/stardict2/work/stardict-2.4.2'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/textproc/stardict2.
之前还以为是 glib / gtk 的问题,结果重新 portupgrade 过
还是一样...
装了 package 之後字全不见,
後来直接 downgrade 回 pango-1.2.5_1 重抓 package 来装又好了 @@
有人有这样的情形发生吗?
thanks~~ :)
uname: FreeBSD 5.2-CURRENT #4: Sat Apr 17 05:58:17 CST 2004
/var/db/pkg list:
http://homepage.ntu.edu.tw/~b89605222/pkgdb-20040418.txt
--
┌┼ Or
igin:
台大森林˙新森情款款 maple.fo.ntu.edu.tw
┼┘ A
uthor:
psilotum 从 localhost 发表