I've written an installation script for Kali Linux, which is based on
Ubuntu. The script and it's description can be found here:
http://siberas.blogspot.de/2013/03/installing-fxruby-on-kali-linux.html
When I install it on ubuntu x86 everything works fine. But on ubuntu x64
I get the following error when it comes to `gem install fxruby`:
---
cc1plus: warning: command line option
‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++
[enabled by default]
cc1plus: warning: command line option
‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for
C++ [enabled by default]
scintilla_wrap.cpp:541:13: warning: ‘void SWIG_AsVal(VALUE, int*)’
defined but not used [-Wunused-function]
In file included from ./include/FXRuby.h:878:0,
from ./include/FXRbCommon.h:99,
from scintilla_wrap.cpp:547:
./include/inlinestubs.h:20:1: warning: ‘void FXApp_init(FX::FXApp*,
VALUE, bool)’ defined but not used [-Wunused-function]
scintilla_wrap.cpp:1046:1: warning: ‘void
free_FXScintilla(FXScintilla*)’ defined but not used [-Wunused-function]
compiling impl.cpp
cc1plus: warning: command line option
‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++
[enabled by default]
cc1plus: warning: command line option
‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for
C++ [enabled by default]
In file included from ./include/FXRuby.h:878:0,
from ./include/FXRbCommon.h:99,
from impl.cpp:1:
./include/inlinestubs.h:20:1: warning: ‘void FXApp_init(FX::FXApp*,
VALUE, bool)’ defined but not used [-Wunused-function]
linking shared-object fox16_c.so
/usr/bin/ld:
/usr/local/lib/libfxscintilla.a(libfxscintilla_la-ScintillaFOX.o):
relocation R_X86_64_32 against `_ZN2FX8FXWindow8textTypeE' can not be
used when making a shared object; recompile with -fPIC
/usr/local/lib/libfxscintilla.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [fox16_c.so] Error 1
Gem files will remain installed in
/opt/watobo/ruby/gems/ruby-1.9.3-p448/gems/fxruby-1.6.28 for inspection.
Results logged to
/opt/watobo/ruby/gems/ruby-1.9.3-p448/gems/fxruby-1.6.28/ext/fox16_c/gem_make.out
---
root@kali:~# cat /etc/issue
Kali GNU/Linux 1.0 \n \l
root@kali:~# uname -a
Linux kali 3.7-trunk-amd64 #1 SMP Debian 3.7.2-0+kali8 x86_64 GNU/Linux
root@kali:~# ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
Any tips?
regards,
Andy
_______________________________________________
fxruby-users mailing list
fxruby...@rubyforge.org
http://rubyforge.org/mailman/listinfo/fxruby-users