Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32885 - Koffice 1.3 rc1 doesn't compile without libgsf
Summary: Koffice 1.3 rc1 doesn't compile without libgsf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 09:14 UTC by Simone Gotti (RETIRED)
Modified: 2003-11-07 05:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gotti (RETIRED) gentoo-dev 2003-11-06 09:14:46 UTC
emerging koffice-1.3_rc1 give an error if is not emerged libgsf but seems that the 
configure script doesn't check for this lib. 
I suggest to insert this dependence in the ebuild of koffice. 
 
 
 
Simone 
 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge koffice 
 
2. 
 
3. 
 
Actual Results:  
The error was this: 
 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -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/usr/
include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/
include/libxml2 -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG 
-DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -c -o graphicshandler.lo `test -f 'graphicshandler.cpp' || echo 
'./'`graphicshandler.cpp 
rm: cannot remove `': Invalid argument 
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_rc1/work/koffice-1.2.94/
filters/kword/msword' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory `/var/tmp/portage/koffice-1.3_rc1/work/koffice-1.2.94/
filters/kword' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/koffice-1.3_rc1/work/koffice-1.2.94/
filters' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/koffice-1.3_rc1/work/koffice-1.2.94' 
make: *** [all] Error 2 
 
!!! ERROR: app-office/koffice-1.3_rc1 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22) 
================================================================= 
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.11 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/
config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/
share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://212.219.56.146/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/
linux/gentoo ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.inode.at/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/mygentoo/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 avi encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib 
spell truetype xml2 xmms gdbm berkdb slang readline tetex guile tcpd pam ssl perl 
python esd imlib mozilla cdr X aalib alsa apm arts breakme -crypt cups dvd directfb 
fbcon -gtk -gtk2 -gnome -gnome2 gpm -gstreamer -java kde -libwww -motif oggvorbis 
opengl oss png qt -quicktime sdl svga usb xv ipv6 zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-11-06 10:28:13 UTC
koffice requires wv2, which has libgsf as a dependency.

do you have wv2 installed?  Did it install libgsf?
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2003-11-07 05:29:59 UTC
I'm sorry, probably I've make some mistakes removing gnome from my system.
Excuse If i've made you loose precious time.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-11-07 05:39:56 UTC
no problem.  Every bug report makes me learn something new.