# FXRuby 1.6.4: what's the trick?

**URL:** <https://www.ruby-forum.com/t/fxruby-1-6-4-whats-the-trick/79120>\
**Category:** Ruby\
**Created:** [December 12, 2006, 7:55am UTC](https://www.ruby-forum.com/t/fxruby-1-6-4-whats-the-trick/79120 "2006-12-12T07:55:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_TSRichter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Post date:** [December 12, 2006, 7:55am UTC](https://www.ruby-forum.com/t/fxruby-1-6-4-whats-the-trick/79120/1 "2006-12-12T07:55:28Z")

</div>

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: removed\_email\_address@domain.invalid, removed\_email\_address@domain.invalid  
MSN: removed\_email\_address@domain.invalid, removed\_email\_address@domain.invalid; YIM:  
michael\_richter\_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:  
removed\_email\_address@domain.invalid

“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

---

<div class="post-metadata">

**Author:** ![Michael\_TSRichter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Post date:** [December 12, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/fxruby-1-6-4-whats-the-trick/79120/2 "2006-12-12T16:54:39Z")

</div>

On 12/12/06, Michael T. Richter [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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:

You need to be using fxscintilla-1.71, the latest version. Version  
1.6.3 was not compatible with FOX/FXRuby 1.6.
