FXRuby 1.4 doesn't compile on Mandrake Linux

Discussion in 'Ruby' started by Guillaume Marcais, Nov 29, 2005.

  1. 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)
    1. fxruby 1.4.3 (mswin32)
    2. 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 for `v
    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.
    Guillaume Marcais, Nov 29, 2005
    #1
    1. Advertising

  2. Guillaume Marcais

    Lyle Johnson Guest

    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.
    Lyle Johnson, Nov 29, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gordon Beaton

    Java install problem in linux mandrake

    Gordon Beaton, Oct 27, 2003, in forum: Java
    Replies:
    2
    Views:
    407
    Daniel Dyer
    Oct 28, 2003
  2. Clément
    Replies:
    0
    Views:
    294
    Clément
    Nov 22, 2003
  3. Clément
    Replies:
    2
    Views:
    321
    Rolf Magnus
    Nov 25, 2003
  4. Nagaraj
    Replies:
    1
    Views:
    836
    Lionel B
    Mar 1, 2007
  5. Lyle Johnson
    Replies:
    0
    Views:
    124
    Lyle Johnson
    May 20, 2008
Loading...

Share This Page