Forum: Ruby FXRuby 1.4 doesn't compile on Mandrake Linux

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D8831c4665a164c6ce484003deb1afd6?d=identicon&s=25 guslist (Guest)
on 2005-11-29 15:36
(Received via mailing list)
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:
Select which gem to install for your platform (i686-linux)
  1. fxruby 1.4.3 (mswin32)
  2. fxruby 1.4.3 (ruby)
 > 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 for `v
irtual FX::FXImage* FXRbIconSource::loadImage(const void*, const
/usr/include/fox-1.4/FXIconSource.h:109: error:   overriding `virtual
* 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
--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?

0276239ca57aee241d4b41379587fa20?d=identicon&s=25 lyle.johnson (Guest)
on 2005-11-29 17:34
(Received via mailing list)
On 11/29/05, Guillaume Marcais <> wrote:

> I get the following error:
>  ...
> Any idea?

You need to first upgrade to a more recent version of FOX 1.4. The
compile error you're seeing is due to a bug in the FOX header files,
and this bug was fixed in FOX 1.4.12 (way back in April). Please
resist the urge to download FOX 1.6, since FXRuby 1.4 is not in fact
compatible with FOX 1.6.
This topic is locked and can not be replied to.