I've got fox-1.6.20 up and running and tested. I've got
fxscintilla-1.63 up and running and tested. I try to install
fxruby-1.6.4 (both the gem and from raw source) and I can't get it to
compile. Both methods (gem and raw source) choke on the same spot with
these errors:
$ ruby install.rb config
install.rb: entering config phase...
---> lib
---> lib/fox16
<--- lib/fox16
<--- lib
---> ext
---> ext/fox16
/usr/bin/ruby1.8 /home/michael/Development/FXRuby-1.6.4/ext/fox16/extconf.rb
checking for sys/time.h... yes
checking for signal.h... yes
checking for png_create_read_struct() in -lpng... yes
checking for deflate() in -lz... yes
checking for jpeg_mem_init() in -ljpeg... yes
checking for TIFFSetErrorHandler() in -ltiff... yes
checking for XShmQueryVersion() in -lXext... yes
checking for XFindContext() in -lX11... yes
checking for glXCreateContext() in -lGL... yes
checking for gluNewQuadric() in -lGLU... yes
creating Makefile
---> ext/fox16/include
<--- ext/fox16/include
<--- ext/fox16
<--- ext
install.rb: config done.
$ ruby install.rb setup
install.rb: entering setup phase...
---> lib
---> lib/fox16
<--- lib/fox16
<--- lib
---> ext
---> ext/fox16
make
gcc -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -O0 -Iinclude
-DWITH_FXSCINTILLA -DHAVE_FOX_1_6 -I. -I/usr/lib/ruby/1.8/i486-linux
-I/usr/lib/ruby/1.8/i486-linux
-I/home/michael/Development/FXRuby-1.6.4/ext/fox16 -DHAVE_SYS_TIME_H
-DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla
-I/usr/local/include/fox-1.6 -c librb.c
g++ -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -O0 -Iinclude
-DWITH_FXSCINTILLA -DHAVE_FOX_1_6 -I. -I/usr/lib/ruby/1.8/i486-linux
-I/usr/lib/ruby/1.8/i486-linux
-I/home/michael/Development/FXRuby-1.6.4/ext/fox16 -DHAVE_SYS_TIME_H
-DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla
-I/usr/local/include/fox-1.6 -c core_wrap.cpp
/usr/local/include/fxscintilla/FXScintilla.h:84: error: conflicting
return type specified for ‘virtual FX::FXbool FXScintilla::canFocus()
const’
/usr/local/include/fox-1.6/FXWindow.h:492: error: overriding ‘virtual
bool FX::FXWindow::canFocus() const’
include/FXRbWindowVirtuals.h:18: error: conflicting return type
specified for ‘virtual bool FXRbScintilla::canFocus() const’
/usr/local/include/fxscintilla/FXScintilla.h:84: error: overriding
‘virtual FX::FXbool FXScintilla::canFocus() const’
core_wrap.cpp:587: warning: ‘void SWIG_AsVal(VALUE, int*)’ defined but
not used
core_wrap.cpp:2036: warning: ‘void free_FXStream(FX::FXStream*)’ defined
but not used
core_wrap.cpp:2081: warning: ‘void free_FXFileStream(FX::FXFileStream*)’
defined but not used
core_wrap.cpp:2135: warning: ‘void
free_FXMemoryStream(FX::FXMemoryStream*)’ defined but not used
core_wrap.cpp:2832: warning: ‘void free_FXRegion(FX::FXRegion*)’ defined
but not used
core_wrap.cpp:2863: warning: ‘void free_FXObject(FX::FXObject*)’ defined
but not used
core_wrap.cpp:2924: warning: ‘void free_FXAccelTable(FX::FXAccelTable*)’
defined but not used
core_wrap.cpp:3147: warning: ‘void free_FXEvent(FX::FXEvent*)’ defined
but not used
core_wrap.cpp:3745: warning: ‘void free_FXApp(FX::FXApp*)’ defined but
not used
core_wrap.cpp:3867: warning: ‘void free_FXDataTarget(FX::FXDataTarget*)’
defined but not used
core_wrap.cpp:3939: warning: ‘void free_FXDelegator(FX::FXDelegator*)’
defined but not used
core_wrap.cpp:3985: warning: ‘void free_FXTranslator(FX::FXTranslator*)’
defined but not used
core_wrap.cpp:4068: warning: ‘void free_FXDict(FX::FXDict*)’ defined but
not used
core_wrap.cpp:4180: warning: ‘void free_FXFileAssoc(FX::FXFileAssoc*)’
defined but not used
core_wrap.cpp:4275: warning: ‘void free_FXFileDict(FX::FXFileDict*)’
defined but not used
core_wrap.cpp:4370: warning: ‘void free_FXIconDict(FX::FXIconDict*)’
defined but not used
core_wrap.cpp:4416: warning: ‘void free_FXStringDict(FX::FXStringDict*)’
defined but not used
core_wrap.cpp:4588: warning: ‘void free_FXSettings(FX::FXSettings*)’
defined but not used
core_wrap.cpp:4649: warning: ‘void free_FXRegistry(FX::FXRegistry*)’
defined but not used
core_wrap.cpp:4719: warning: ‘void free_FXDocument(FX::FXDocument*)’
defined but not used
core_wrap.cpp:4867: warning: ‘void
free_FXRecentFiles(FX::FXRecentFiles*)’ defined but not used
core_wrap.cpp:4901: warning: ‘void free_FXId(FX::FXId*)’ defined but not
used
core_wrap.cpp:5023: warning: ‘void free_FXCursor(FX::FXCursor*)’ defined
but not used
core_wrap.cpp:5077: warning: ‘void free_FXCURCursor(FX::FXCURCursor*)’
defined but not used
core_wrap.cpp:5133: warning: ‘void free_FXGIFCursor(FX::FXGIFCursor*)’
defined but not used
core_wrap.cpp:5220: warning: ‘void free_FXDrawable(FX::FXDrawable*)’
defined but not used
core_wrap.cpp:5309: warning: ‘void free_FXVisual(FX::FXVisual*)’ defined
but not used
core_wrap.cpp:5408: warning: ‘void free_FXFontDesc(FX::FXFontDesc*)’
defined but not used
core_wrap.cpp:5555: warning: ‘void free_FXFont(FX::FXFont*)’ defined but
not used
core_wrap.cpp:6553: warning: ‘void free_FXWindow(FX::FXWindow*)’ defined
but not used
core_wrap.cpp:7044: warning: ‘void free_FXComposite(FX::FXComposite*)’
defined but not used
core_wrap.cpp:7234: warning: ‘void free_FXRootWindow(FX::FXRootWindow*)’
defined but not used
core_wrap.cpp:7486: warning: ‘void free_FXShell(FX::FXShell*)’ defined
but not used
core_wrap.cpp:7854: warning: ‘void free_FXPopup(FX::FXPopup*)’ defined
but not used
core_wrap.cpp:8333: warning: ‘void free_FXTopWindow(FX::FXTopWindow*)’
defined but not used
core_wrap.cpp:8566: warning: ‘void free_FXMainWindow(FX::FXMainWindow*)’
defined but not used
core_wrap.cpp:8843: warning: ‘void
free_FXSplashWindow(FX::FXSplashWindow*)’ defined but not used
make: *** [core_wrap.o] Error 1
setup failed
'system make ' failed
Try 'ruby install.rb --help' for detailed usage.
I'm pretty much stuck at this point. Any suggestions?
···
--
Michael T. Richter
Email: ttmrichter@gmail.com, mtr1966@hotpop.com
MSN: ttmrichter@hotmail.com, mtr1966@hotmail.com; YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
mtr1966@jabber.cn
"I think it is very beautiful for the poor to accept their lot [...]. I
think the world is being much helped by the suffering of the poor
people." --Mother Theresa