MATSUU Takuto
matsu****@gmail*****
2007年 4月 5日 (木) 02:26:21 JST
松鵜です。 cvsのもので試しましたが、現象変わりません。 src/Makefile.amのHELPER_MODULE(SCIM_BUILD_HELPER)周りが原因と思います。 再現のさせ方はこんな感じです。gtk+-2.0がインストールされている状況下scimで、 $ ./configure --disable-panel-gtk --disable-setup-ui --disable-gtk2-immodule $ make && make install そしてscim-anthyで、 $ ./configure $ make gtk+-2.0がインストールされていても--disable-gtk2-immoduleを指定するような Gentoo的柔軟(変態)ポリシーが故に発生してるんだと思います。御迷惑をおかけします。 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_ANTHY_LOCALEDIR=\"/usr/local/share/locale\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_ANTHY_DATADIR=\"/usr/share/scim/Anthy\" -DSCIM_ANTHY_STYLEDIR=\"/usr/share/scim/Anthy/style\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/scim-1.0 -g -O2 -MT anthy_imengine_helper_la-scim_anthy_tray.lo -MD -MP -MF .deps/anthy_imengine_helper_la-scim_anthy_tray.Tpo -c -o anthy_imengine_helper_la-scim_anthy_tray.lo `test -f 'scim_anthy_tray.cpp' || echo './'`scim_anthy_tray.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_ANTHY_LOCALEDIR=\"/usr/local/share/locale\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_ANTHY_DATADIR=\"/usr/share/scim/Anthy\" -DSCIM_ANTHY_STYLEDIR=\"/usr/share/scim/Anthy/style\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/scim-1.0 -g -O2 -MT anthy_imengine_helper_la-scim_anthy_tray.lo -MD -MP -MF .deps/anthy_imengine_helper_la-scim_anthy_tray.Tpo -c scim_anthy_tray.cpp -fPIC -DPIC -o .libs/anthy_imengine_helper_la-scim_anthy_tray.o scim_anthy_tray.cpp:29:30: error: gtk/scimtrayicon.h: No such file or directory scim_anthy_tray.h:78: error: ISO C++ forbids declaration of 'ScimTrayIcon' with no type scim_anthy_tray.h:78: error: expected ';' before '*' token scim_anthy_tray.cpp: In constructor 'AnthyTray::AnthyTray()': scim_anthy_tray.cpp:48: error: class 'AnthyTray' does not have any field named 'm_tray' scim_anthy_tray.cpp: In destructor 'AnthyTray::~AnthyTray()': scim_anthy_tray.cpp:89: error: 'm_tray' was not declared in this scope scim_anthy_tray.cpp: In member function 'void AnthyTray::create_general_menu(scim::PropertyList&)': scim_anthy_tray.cpp:254: warning: comparison is always false due to limited range of data type scim_anthy_tray.cpp: In member function 'void AnthyTray::create_tray()': scim_anthy_tray.cpp:500: error: 'm_tray' was not declared in this scope scim_anthy_tray.cpp:500: error: 'scim_tray_icon_new' was not declared in this scope