I get the following error:
$ sudo gem install fxruby
Attempting local installation of ‘fxruby’
Local gem file not found: fxruby*.gem
Attempting remote installation of ‘fxruby’
Updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i686-linux)
- fxruby 1.4.3 (mswin32)
- fxruby 1.4.3 (ruby)
[…snip…]
2
Building native extensions. This could take a while…
In file included from include/FXRuby.h:747,
from include/FXRbCommon.h:90,
from ui_wrap.cpp:581:
include/FXRbIconSourceVirtuals.h:15: error: invalid covariant return
type forv irtual FX::FXImage* FXRbIconSource::loadImage(const void*, const FX::FXString&) const' /usr/include/fox-1.4/FXIconSource.h:109: error: overriding
virtual
FX::FXIcon
- FX::FXIconSource::loadImage(const void*, const FX::FXString&) const’
make: *** [ui_wrap.o] Error 1
gcc reads:
$ gcc -v
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/specs
Configured with: …/configure --prefix=/usr --libexecdir=/usr/lib
–with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
–enable-shared --enable-threads=posix --disable-checking
–enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
–disable-libunwind-exceptions
–enable-languages=c,c++,ada,f77,objc,java
–host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Any idea?
Guillaume.