Because of “official” wxruby gem won’t work on Fedora 11 distro
eveel@notazik{/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/samples
/minimal}% ./minimal.rb
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so:
/usr/lib
/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wxruby2.so: symbol
_ZN13wxAuiNotebook16AdvanceSelectionEb, version WXU_2.8.5 not defined in
file
libwx_gtk2u_aui-2.8.so.0 with link time reference -
/usr/lib/ruby/gems/1.8/gems
/wxruby-2.0.0-x86-linux/lib/wxruby2.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.0-x86-linux/lib/wx.rb:12 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
gem_original_require’
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require’
from ./minimal.rb:8
I’ve decided to build wxruby by myself, but all my positive wishes are
absolutely failed because of some issues.
eveel{~/wxruby}% rake
(in /home/eveel/wxruby)
Enabling DYNAMIC build
Enabling RELEASE build
Enabling UNICODE build
The following wxWidgets features are not available and will be skipped:
PrinterDC
g++ -c -I/usr/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
-DwxABI_VERSION=208010 -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
–param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic
-fasynchronous-unwind-
tables -fno-strict-aliasing -fPIC -Wno-unused-function -I. -I
/usr/lib/ruby/1.8/i386-linux -o obj/AboutDialogInfo.o
src/AboutDialogInfo.cpp
{ some g++ invocations }
swig -I/usr/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
-DwxABI_VERSION=208010 -Iswig/custom -w401 -w801 -w515 -c++ -ruby -o
src/AnimationCtrl.cpp swig/classes
/AnimationCtrl.i
ruby swig/renamer.rb src/AnimationCtrl.cpp
ruby swig/fixplatform.rb src/AnimationCtrl.cpp
ruby swig/fixmodule.rb src/AnimationCtrl.cpp
Class: AnimationCtrl
: Control
ERROR! swig/fixmodule.rb Didn’t find swig class
rake aborted!
Command failed with status (1): [ruby swig/fixmodule.rb
src/AnimationCtrl.c…]
(See full trace by running task with --trace)
What’s wrong?
gcc: 4.4.1
ruby: 1.8.6 (p369)
swig: 1.3.39
wx: 2.8.10
wxruby: trunk (last updated before this post were written)