Darrell, All,
Attempting to build koffice last night, I thought it might work. This morning revealed there is still work to be done. 58 minutes into the build, it crashed:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kopalette -I../../../lib/kopalette -I/usr/include -I/usr/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fpermissive -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -MT graphicshandler.lo -MD -MP -MF .deps/graphicshandler.Tpo -c graphicshandler.cpp -fPIC -DPIC -o .libs/graphicshandler.o In file included from /usr/include/wv2/olestream.h:26:0, from graphicshandler.cpp:23: /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly." make[4]: *** [graphicshandler.lo] Error 1 make[4]: Leaving directory `/build/src/koffice/filters/kword/msword' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/src/koffice/filters/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/koffice/filters' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/koffice' make: *** [all] Error 2
Darrell, All,
Attempting to build koffice last night, I thought it might work. This morning revealed there is still work to be done. 58 minutes into the build, it crashed:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kopalette -I../../../lib/kopalette -I/usr/include -I/usr/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fpermissive -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -MT graphicshandler.lo -MD -MP -MF .deps/graphicshandler.Tpo -c graphicshandler.cpp -fPIC -DPIC -o .libs/graphicshandler.o In file included from /usr/include/wv2/olestream.h:26:0, from graphicshandler.cpp:23: /usr/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly." make[4]: *** [graphicshandler.lo] Error 1 make[4]: Leaving directory `/build/src/koffice/filters/kword/msword' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/build/src/koffice/filters/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/koffice/filters' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/koffice' make: *** [all] Error 2
Looks like you got some new packages on your system, specifically GTK 3.x. GTK changed their API somewhat, so some work would need to be done on koffice to fix that. See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html for details.
Tim
On 06/22/2012 08:50 AM, Timothy Pearson wrote:
Looks like you got some new packages on your system, specifically GTK 3.x. GTK changed their API somewhat, so some work would need to be done on koffice to fix that. See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html for details.
Tim
AARGH! :) I think I'll look into forcing the build with GTK2 first :)