Hi, I'm finally messing with the plugins, since it would appear from discussions that certain basic and essential functionalities may be transplanted out of the main tree.
In this regard, my first error (though I could disable it, I know, by removing the plugin.cfg file) was in gdict. I'm thinking that perhaps the output of "gtk-config --cflag" should be added to CFLAGS (CPPFLAGS?), as it appears is done in the main tree. This computer (RH7.2, slim, but updated and enhanced with newer library versions) provides the following output: -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include The compilation error is: . . . g++ -DPACKAGE=\"GdictAbiPlugin\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -I. -I. -DNDEBUG -DABI_PLUGIN_SOURCE=1 -I/home/chris/abiword/abi/src/af/xap/xp -I/home/chris/abiword/abi/src/af/xap/unix -I/home/chris/abiword/abi/src/af/util/xp -I/home/chris/abiword/abi/src/af/util/unix -I/home/chris/abiword/abi/src/text/fmt/xp -I/home/chris/abiword/abi/src/af/ev/xp -I/home/chris/abiword/abi/src/text/ptbl/xp -I/home/chris/abiword/abi/src/af/gr/xp -I/home/chris/abiword/abi/src/wp/impexp/xp -I/home/chris/abiword/abi/src/wp/ap/xp -I/home/chris/abiword/abi/src/wp/ap/unix -DABI_PLUGIN_VERSION=\"1.1.0\" -DABI_PLUGIN_MAJOR=1 -DABI_PLUGIN_MINOR=1 -DABI_PLUGIN_MICRO=0 -DUSE_FORK_AND_EXEC_METHOD=1 -g -O2 -Wp,-MD,.deps/GdictAbiPlugin.pp -c GdictAbiPlugin.cpp -fPIC -DPIC -o GdictAbiPlugin.o In file included from GdictAbiPlugin.cpp:33: /home/chris/abiword/abi/src/af/xap/unix/xap_UnixFrame.h:24:27: gtk/gtkwidget.h: No such file or directory /home/chris/abiword/abi/src/af/xap/unix/xap_UnixFrame.h:25:31: gtk/gtkadjustment.h: No such file or directory /home/chris/abiword/abi/src/af/xap/unix/xap_UnixFrame.h:26:26: gdk/gdktypes.h: No such file or directory In file included from GdictAbiPlugin.cpp:34: /home/chris/abiword/abi/src/af/xap/unix/xap_UnixDialogHelper.h:23:21: gtk/gtk.h: No such file or directory /home/chris/abiword/abi/src/af/xap/unix/xap_UnixDialogHelper.h:24:22: gdk/gdkx.h: No such file or directory make[3]: *** [GdictAbiPlugin.lo] Error 1 make[3]: Leaving directory `/home/chris/abiword/abiword-plugins/tools/gdict/unix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/chris/abiword/abiword-plugins/tools/gdict' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/chris/abiword/abiword-plugins/tools' make: *** [all-recursive] Error 1 Manually issuing the line with the extra includes (`gtk-config --cflags`) gives me a fine GdictAbiPlugin.o Of course, the amazing and wonderful symlink (i.e. ln -s /usr/include/gtk-1.2/gtk /usr/include/gtk), might fix the build system, however ... I might also be able to modify the makefile, but that seems tiresome, when the proper fix I'ld think belongs in configure, which, sadly is beyond me. Thank-you for your patience. Chris Winne
msg24289/pgp00000.pgp
Description: PGP signature
