Hello, I am a Gentoo user. I emerged Fox 1.4.11 with all features turned on recently. Since FXRuby 1.4.x is not on Portage, I tried to install 1.4.2 manually. install.rb config works with no problems at all. install.rb setup aborts with the following output: --------------- install.rb: entering setup phase... ---> lib ---> lib/fox14 <--- lib/fox14 <--- lib ---> ext ---> ext/fox14 make g++ -fPIC -O2 -march=pentium-m -fPIC -O0 -Iinclude -DWITH_FXSCINTILLA -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/tmp/FXRuby-1.4.2/ext/fox14 -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.4 -I/usr/include/fox-1.4 -I/usr/include/fxscintilla -c core_wrap.cpp In file included from include/FXRuby.h:747, from include/FXRbCommon.h:90, from core_wrap.cpp:588: include/FXRbIconSourceVirtuals.h:15: error: tipo de devoluci?n covariante inv?lido para `virtual FX::FXImage* FXRbIconSource::loadImage(const void*, const FX::FXString&) const'' /usr/include/fox-1.4/FXIconSource.h:109: error: sustituyendo `virtual FX::FXIcon* FX::FXIconSource::loadImage(const void*, const FX::FXString&) const'' make: *** [core_wrap.o] Error 1 setup failed ''system make '' failed Try ''ruby install.rb --help'' for detailed usage. ------------------ I am sorry part of the error is in Spanish. Here is an approximative translation by me: include/FXRbIconSourceVirtuals.h:15: error: invalid covariant return type for `virtual FX::FXImage* FXRbIconSource::loadImage(const void*, const FX::FXString&) const'' /usr/include/fox-1.4/FXIconSource.h:109: error: substituting `virtual FX::FXIcon* FX::FXIconSource::loadImage(const void*, const FX::FXString&) const'' If anyone has any advice, I would be really grateful. Diego
On Nov 16, 2005, at 2:11 AM, Diego Cano Lagneaux wrote:> I emerged Fox 1.4.11 with all features turned on recently. > Since FXRuby 1.4.x is not on Portage, I tried to install 1.4.2 > manually. > > install.rb config works with no problems at all. > > install.rb setup aborts with the following output:<snip> Diego, The compilation problem you''re seeing is due to an error that was present in the FOX header files for FOX versions 1.4.11 and earlier. This bug was fixed in FOX version 1.4.12; see: http://www.fox-toolkit.com/news3.html and the release information for FOX 1.4.12 appears about halfway down the page. I recommend that you download and install the latest version of FOX 1.4 (which is now up to 1.4.24 I believe) and try again. Hope this helps, Lyle
On Wednesday 16 November 2005 07:19, Lyle Johnson wrote:> > On Nov 16, 2005, at 2:11 AM, Diego Cano Lagneaux wrote: > > > I emerged Fox 1.4.11 with all features turned on recently. > > Since FXRuby 1.4.x is not on Portage, I tried to install 1.4.2 > > manually. > > > > install.rb config works with no problems at all. > > > > install.rb setup aborts with the following output: > > <snip> > > Diego, > > The compilation problem you''re seeing is due to an error that was > present in the FOX header files for FOX versions 1.4.11 and earlier. > This bug was fixed in FOX version 1.4.12; see: > > http://www.fox-toolkit.com/news3.html > > and the release information for FOX 1.4.12 appears about halfway down > the page. I recommend that you download and install the latest version > of FOX 1.4 (which is now up to 1.4.24 I believe) and try again.What Lyle says is correct; I don''t usually change header files after a stable release, but in this extreme case the header file itself was where the bug was, so there really wasn''t any choice. FOX 1.4.24 is the latest version with all the bug fixes. regards, - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 20:30 11/16/2005 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+