The following error occurs when compiling fxruby 1.2.6 against fox 1.2.18 using gcc 4.1: g++ -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/var/tmp/portage/fxruby-1.2.6/work/FXRuby-1.2.6/ext/fox12 -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.2 -I/usr/include/fox-1.2 -I/usr/include/fxscintilla -fPIC -march=k8 -O2 -pipe -fPIC -Iinclude -DWITH_FXSCINTILLA -c core_wrap.cpp core_wrap.cpp: In function 'VALUE _fxversion()': core_wrap.cpp:731: error: 'FXStringFormat' was not declared in this scope make: *** [core_wrap.o] Error 1 patch otw
Created attachment 95614 [details, diff] gcc 4.1 patch for fox 1.2.x headers gcc 4.1 fix for fox 1.2.x from debian bug #355983 http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=355983
I should probably fix this since I unmasked the new fox stuff.
Created attachment 95642 [details, diff] gcc 4.1 patch for fox 1.4 instead of opening a new bug for the same issue, here is a similar fix for fox 1.4.x (also obtained from debian)
my bad... I just realized i forgot to run dos2unix on either of those files after re-downloading them from here and trying to use them. ^^;
1. Is this the same bug as 145083?? 2. I think I have the latest fox ebuilds already ... 1.0.53 and 1.2.18. Is this going to mean another fox update??
"gem install fxruby" will give the same error if you ask it to install fxruby 1.2.6. I haven't tried the newer ones, but I'm guessing they break too. Strangely enough, "gem" finishes the install and claims a successful install! I filed a bug on RubyForge against the "gem install fxruby" -- I don't think a compile error should be ignored like that.
In fact it's dupe of 145083, though here we have some progress...
As it's mentioned in trail of bug submitted by Ed http://rubyforge.org/tracker/index.php?func=detail&aid=5615&group_id=300&atid=1223 fxruby-1.2 is not developed anymore, is there any real problem in running forward fxruby-1.6? Or it's just lack of maintainer/time? I'm really new around dev-ruby but it seems that most people need fxruby to build freeride (only freeride and net-irc/xdcc-fetch) depend on fxruby. Won't freeride work with latest fxruby?
*** Bug 145083 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > Won't freeride work with latest fxruby? Nope, it currently only works with fox 1.2 series.
Fixed in CVS in fox-1.4.34-r1 and fox-1.2.18-r1, thanks!
*** Bug 149155 has been marked as a duplicate of this bug. ***