koffice 1.3.5 fails compile with missing gsf.h and olestorage error Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Last error messages: In file included from /usr/include/wv2/olestream.h:22, from graphicshandler.cpp:23: /usr/include/wv2/olestorage.h:26:21: gsf/gsf.h: No such file or directory In file included from /usr/include/wv2/olestream.h:22, from graphicshandler.cpp:23: /usr/include/wv2/olestorage.h:165: error: syntax error before `*' token /usr/include/wv2/olestorage.h:166: error: syntax error before `*' token /usr/include/wv2/olestorage.h:175: error: parse error before `*' token /usr/include/wv2/olestorage.h:175: error: missing ';' before right brace /usr/include/wv2/olestorage.h:176: error: `GsfOutfile' was not declared in this scope /usr/include/wv2/olestorage.h:176: error: `out' was not declared in this scope /usr/include/wv2/olestorage.h:176: error: variable declaration is not allowed here /usr/include/wv2/olestorage.h:176: error: syntax error before `:' token /usr/include/wv2/olestorage.h:176: error: missing ';' before right brace /usr/include/wv2/olestorage.h:178: error: ISO C++ forbids defining types within return type /usr/include/wv2/olestorage.h:178: error: syntax error before `*' token /usr/include/wv2/olestorage.h:179: error: syntax error before `*' token /usr/include/wv2/olestorage.h:181: error: `Directory' was not declared in this scope /usr/include/wv2/olestorage.h:181: error: template argument 1 is invalid /usr/include/wv2/olestorage.h:181: error: template argument 2 is invalid /usr/include/wv2/olestorage.h:188: error: `OLEStream' was not declared in this scope /usr/include/wv2/olestorage.h:188: error: parse error before `>' token In file included from graphicshandler.cpp:23: /usr/include/wv2/olestream.h:87: error: parse error before `*' token /usr/include/wv2/olestream.h:153: error: syntax error before `*' token /usr/include/wv2/olestream.h:160: error: parse error before `*' token /usr/include/wv2/olestream.h:221: error: syntax error before `*' token make[4]: *** [graphicshandler.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/koffice-1.3.5-r2/work/koffice-1.3.5/filters/kword/msword' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.3.5-r2/work/koffice-1.3.5/filters/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.3.5-r2/work/koffice-1.3.5/filters' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.3.5-r2/work/koffice-1.3.5' make: *** [all] Error 2 make.conf: # These settings were set by the catalyst build script that automatically built this stage CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=pentium3 -pipe" CHOST="i386-pc-linux-gnu" USE="aalib acpi alsa apache2 apm arts audiofile avi berkdb -bonobo cdparanoia cdr crypt cscope cups curl dga directfb doc dvd emacs encode evo ethereal -fam -fastcgi fbcon fdftk flac flash foomaticdb gd gdbm -ggi gif ginac gmp -gnome gphoto2 -gpm -gps -gstreamer -gtk gtk2 -gtkhtml guile -hardened imagemagick -icc -icc-pgo -icq -imap imlib innodb -informix -ipv6 jabber jack java jikes -joystick jpeg -junit kde -kerberos -krb4 ladcca lcms -ldap -leim libg++ -libgda libwww -lirc mad -maildir mbox mcal mikmod memlimit mmx motif lesstif mozilla mpeg mpi -msn -mule mysql nas ncurses -nhc98 -netcdf nls -nocardbus nocd -oci8 -odbc offensive oggvorbis opengl -oscar -oss -orbit -pam pcmcia -pda ppds pdflib perl -plotutils png pnp -postgres prelude python qt quicktime readline ruby -samba sasl scanner sdl slang slp snmp -socks5 speex spell sse ssl sqlite svga tcltk tcpd -tetex theora tiff truetype trusted unicode usb vhosts -videos -voodoo3 -wavelan wmf -wxwindows X -xface xinerama xosd xml xml2 -xmms xv yaz -yahoo -zeo zlib" CXXFLAGS="$CFLAGS" ACCEPT_KEYWORDS="~x86" PORTAGE_BINHOST="http://gentoo.phaseburn.net/packages/" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com"
Do you have wv2 installed? libgsf?
Probqably this is a dupe of bug #32885 and the explanation is in bug #68925.
*** This bug has been marked as a duplicate of 68925 ***