Message: previous - next
Month: June 2012

koffice - ftbfs - 58 min into build #error "Only <glib.h> can be included directly."

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 22 Jun 2012 08:11:49 -0500
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/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
-MP -MF .deps/graphicshandler.Tpo -c graphicshandler.cpp  -fPIC -DPIC -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

David C. Rankin, J.D.,P.E.