You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, July 23rd 2006, 2:59pm

Koffice doesn"t compile

Hi !!

I want to compile Koffice-1.5.2 under Gentoo 2006.0 (x86_64), but the compilation fails :

Quoted

/bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kross -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -c -o rubyinterpreter.lo rubyinterpreter.cpp
In file included from /usr/include/unistd.h:8,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/gthr-default.h:44,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/gthr.h:96,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/c++io.h:37,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/iosfwd:47,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_algobase.h:70,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_tree.h:66,
from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/map:66,
from rubyinterpreter.cpp:21:
/usr/include/gentoo-multilib/amd64/unistd.h:266: error: declaration of `int eaccess(const char*, int) throw ()' throws different exceptions
/usr/lib64/ruby/1.8/x86_64-linux/missing.h:43: error: than previous declaration `int eaccess(const char*, int)'
make[4]: *** [rubyinterpreter.lo] Erreur 1
make[4]: quittant le répertoire « /var/tmp/portage/koffice-1.5.2/work/koffice-1.5.2/lib/kross/ruby »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /var/tmp/portage/koffice-1.5.2/work/koffice-1.5.2/lib/kross »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/koffice-1.5.2/work/koffice-1.5.2/lib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/koffice-1.5.2/work/koffice-1.5.2 »
make: *** [all] Erreur 2

!!! ERROR: app-office/koffice-1.5.2 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
koffice-1.5.2.ebuild, line 56: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 306: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 302: Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


Thanks if you can help me

This post has been edited 1 times, last edit by "Animatrix" (Jul 23rd 2006, 2:59pm)


2

Thursday, July 27th 2006, 4:02pm

RE: Koffice doesn"t compile

Try upgrading your compiler.

3

Thursday, July 27th 2006, 4:51pm

RE: Koffice doesn"t compile

Quoted

Originally posted by Blues
Try upgrading your compiler.

The soltuion was to upgrade ruby :)