You are not logged in.

1

Friday, July 30th 2004, 3:14pm

koffice - problem compiling in kde 3.2.3

i am using the suse 8.2 pro distro for a while now. i am not exactly a novice to linux but neither am i an expert.

i have compiled kde 3.2.3 from source and i am using that as my main desktop now...no problems here. i went on to compile koffice 1.3.2 and here the problems began. towards the end of "make" i get an error and i have tracked it down to the plugin that enables koffice to read msword docs.

this is the error i get

In file included from /usr/local/include/wv2/olestorage.h:26,
from /usr/local/include/wv2/olestream.h:22,
from graphicshandler.cpp:23:
/opt/gnome/include/libgsf-1/gsf/gsf.h:25:18: glib.h: No such file or directory
In file included from /usr/local/include/wv2/olestorage.h:26,
from /usr/local/include/wv2/olestream.h:22,
from graphicshandler.cpp:23:
/opt/gnome/include/libgsf-1/gsf/gsf.h:29: error: syntax error before `typedef'
/opt/gnome/include/libgsf-1/gsf/gsf.h:43: error: syntax error before `;' token
In file included from /usr/local/include/wv2/olestream.h:22,
from graphicshandler.cpp:23:
/usr/local/include/wv2/olestorage.h:28: error: syntax error before `namespace'
/usr/local/include/wv2/olestorage.h:191: error: parse error before `}' token
In file included from graphicshandler.cpp:23:
/usr/local/include/wv2/olestream.h:26:42: glib/giochannel.h: No such file or directory
In file included from graphicshandler.cpp:23:
/usr/local/include/wv2/olestream.h:47: error: type specifier omitted for
parameter `GSeekType'
/usr/local/include/wv2/olestream.h:47: error: parse error before `=' token
/usr/local/include/wv2/olestream.h:87: error: parse error before `*' token
/usr/local/include/wv2/olestream.h:98: error: type specifier omitted for
parameter `GSeekType'
/usr/local/include/wv2/olestream.h:98: error: parse error before `=' token
/usr/local/include/wv2/olestream.h:153: error: syntax error before `*' token
/usr/local/include/wv2/olestream.h:171: error: type specifier omitted for
parameter `GSeekType'
/usr/local/include/wv2/olestream.h:171: error: parse error before `=' token
make[3]: *** [graphicshandler.lo] Error 1
make[3]: Leaving directory `/home/skyclad/downloads/kde33b2/koffice-1.3.2/filters/kword/msword'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/skyclad/downloads/kde33b2/koffice-1.3.2/filters/kword'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/skyclad/downloads/kde33b2/koffice-1.3.2/filters'
make: *** [install-recursive] Error 1

ok now i see the problem relating to wv2 (i have the most recent version). also where it says no such file or directory in bold well the file DOES exist.

how do i rectify this? do i ahve to install anything else? all the files relating to errors are in their correct directories!

thanks for your patience!!!

2

Friday, July 30th 2004, 9:47pm

noone has a clue? :(( still working on it....but nothing

3

Saturday, July 31st 2004, 3:25am

Do you have glib installed? Also the development package with header files?

4

Saturday, July 31st 2004, 6:04am

yes i have all that installed.....funny thing is i came across this suggestion about updating automake and auoconf. (according to koffice webite i already had the minimum versions of these programs) i updated them rand .configure again and make and voila! everything worked! i am sorta hesitanat to believe it was automake and autoconf that made the difference....

(offtopic a bit) after you update a program and run ldconfig is it necessary to reboot inux? or don't the files get auyomatically updated? thnaks!

5

Saturday, July 31st 2004, 9:34am

Quoted

Original von cycomiko

(offtopic a bit) after you update a program and run ldconfig is it necessary to reboot inux? or don't the files get auyomatically updated? thnaks!
AFAIK, normally rebooting shouldn't be necessary. Should you really suspect a problem with that I guess there's still one less drastic step to try: Log out of KDE and back in again.