Bug 125644 - Compile error with Kross
Summary: Compile error with Kross
Status: RESOLVED NOT A BUG
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KOffice Bug Wranglers
URL:
Keywords:
: 125645 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-15 18:54 UTC by Gabriel C
Modified: 2006-04-18 03:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel C 2006-04-15 18:54:26 UTC
Version:           1.5.0 (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          4.1.0 
OS:                Linux

Hi,

I got a compile error with Kross and last Koffice stable, using gcc4.1.0 and glibc 2.4.Here the errror:

make[4]: Entering directory `/home/crazy/koffice-beta/src/koffice-1.5.0/lib/kross/ruby'
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kross -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/qt/include -I/usr/X11R6/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 -march=i686 -O2 -pipe -fno-strict-aliasing -Wno-deprecated -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
/usr/include/unistd.h:266: error: declaration of 'int eaccess(const char*, int) throw ()' throws different exceptions
/usr/lib/ruby/1.8/i686-linux/intern.h:224: error: from previous declaration 'int eaccess(const char*, int)'
make[4]: *** [rubyinterpreter.lo] Error 1
make[4]: Leaving directory `/home/crazy/koffice-beta/src/koffice-1.5.0/lib/kross/ruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/crazy/koffice-beta/src/koffice-1.5.0/lib/kross'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/crazy/koffice-beta/src/koffice-1.5.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crazy/koffice-beta/src/koffice-1.5.0'
make: *** [all] Error 2

crazy@zwerg:~$ pacman -Q glibc gcc ruby
glibc 2.4-1
gcc 4.1.0-1
ruby 1.8.4-1
crazy@zwerg:~$ kde-config -v
Qt: 3.3.6
KDE: 3.5.2
kde-config: 1.0

there is the full build log : -> http://frugalware.org/~crazy/other/koffice/koffice-1.5.0-1-i686.log
Comment 1 Peter Simonsson 2006-04-15 19:25:49 UTC
hmm this is really a bug in the ruby lib which collides with glibc 2.4 and newer.
Comment 2 Peter Simonsson 2006-04-15 19:28:04 UTC
*** Bug 125645 has been marked as a duplicate of this bug. ***
Comment 3 Gabriel C 2006-04-15 21:53:34 UTC
yes you are right it is ruby , btw sometimes I need some more sleep :-)  
Comment 4 Thiago Macieira 2006-04-18 03:30:04 UTC
Not a KDE bug.