From: "Michael T. Richter" Date: 2006-12-12T15:55:14+09:00 Subject: FXRuby 1.6.4: what's the trick? --=-i2HhV7EKweI5kxk1GbyC Content-Type: multipart/alternative; boundary="=-I/0zJQ7PPZqltihwnATb" --=-I/0zJQ7PPZqltihwnATb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.r= b 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 =E2=80=98virtual FX::FXbool FXScintilla::canFocus= () const=E2=80=99 /usr/local/include/fox-1.6/FXWindow.h:492: error: overriding =E2=80=98vir= tual bool FX::FXWindow::canFocus() const=E2=80=99 include/FXRbWindowVirtuals.h:18: error: conflicting return type specified for =E2=80=98virtual bool FXRbScintilla::canFocus() const=E2=80= =99 /usr/local/include/fxscintilla/FXScintilla.h:84: error: overriding =E2=80=98virtual FX::FXbool FXScintilla::canFocus() const=E2=80=99 core_wrap.cpp:587: warning: =E2=80=98void SWIG_AsVal(VALUE, int*)=E2=80=99 = defined but not used core_wrap.cpp:2036: warning: =E2=80=98void free_FXStream(FX::FXStream*)=E2= =80=99 defined but not used core_wrap.cpp:2081: warning: =E2=80=98void free_FXFileStream(FX::FXFileStre= am*)=E2=80=99 defined but not used core_wrap.cpp:2135: warning: =E2=80=98void free_FXMemoryStream(FX::FXMemoryStream*)=E2=80=99 defined but not used core_wrap.cpp:2832: warning: =E2=80=98void free_FXRegion(FX::FXRegion*)=E2= =80=99 defined but not used core_wrap.cpp:2863: warning: =E2=80=98void free_FXObject(FX::FXObject*)=E2= =80=99 defined but not used core_wrap.cpp:2924: warning: =E2=80=98void free_FXAccelTable(FX::FXAccelTab= le*)=E2=80=99 defined but not used core_wrap.cpp:3147: warning: =E2=80=98void free_FXEvent(FX::FXEvent*)=E2=80= =99 defined but not used core_wrap.cpp:3745: warning: =E2=80=98void free_FXApp(FX::FXApp*)=E2=80=99 = defined but not used core_wrap.cpp:3867: warning: =E2=80=98void free_FXDataTarget(FX::FXDataTarg= et*)=E2=80=99 defined but not used core_wrap.cpp:3939: warning: =E2=80=98void free_FXDelegator(FX::FXDelegator= *)=E2=80=99 defined but not used core_wrap.cpp:3985: warning: =E2=80=98void free_FXTranslator(FX::FXTranslat= or*)=E2=80=99 defined but not used core_wrap.cpp:4068: warning: =E2=80=98void free_FXDict(FX::FXDict*)=E2=80= =99 defined but not used core_wrap.cpp:4180: warning: =E2=80=98void free_FXFileAssoc(FX::FXFileAssoc= *)=E2=80=99 defined but not used core_wrap.cpp:4275: warning: =E2=80=98void free_FXFileDict(FX::FXFileDict*)= =E2=80=99 defined but not used core_wrap.cpp:4370: warning: =E2=80=98void free_FXIconDict(FX::FXIconDict*)= =E2=80=99 defined but not used core_wrap.cpp:4416: warning: =E2=80=98void free_FXStringDict(FX::FXStringDi= ct*)=E2=80=99 defined but not used core_wrap.cpp:4588: warning: =E2=80=98void free_FXSettings(FX::FXSettings*)= =E2=80=99 defined but not used core_wrap.cpp:4649: warning: =E2=80=98void free_FXRegistry(FX::FXRegistry*)= =E2=80=99 defined but not used core_wrap.cpp:4719: warning: =E2=80=98void free_FXDocument(FX::FXDocument*)= =E2=80=99 defined but not used core_wrap.cpp:4867: warning: =E2=80=98void free_FXRecentFiles(FX::FXRecentFiles*)=E2=80=99 defined but not used core_wrap.cpp:4901: warning: =E2=80=98void free_FXId(FX::FXId*)=E2=80=99 de= fined but not used core_wrap.cpp:5023: warning: =E2=80=98void free_FXCursor(FX::FXCursor*)=E2= =80=99 defined but not used core_wrap.cpp:5077: warning: =E2=80=98void free_FXCURCursor(FX::FXCURCursor= *)=E2=80=99 defined but not used core_wrap.cpp:5133: warning: =E2=80=98void free_FXGIFCursor(FX::FXGIFCursor= *)=E2=80=99 defined but not used core_wrap.cpp:5220: warning: =E2=80=98void free_FXDrawable(FX::FXDrawable*)= =E2=80=99 defined but not used core_wrap.cpp:5309: warning: =E2=80=98void free_FXVisual(FX::FXVisual*)=E2= =80=99 defined but not used core_wrap.cpp:5408: warning: =E2=80=98void free_FXFontDesc(FX::FXFontDesc*)= =E2=80=99 defined but not used core_wrap.cpp:5555: warning: =E2=80=98void free_FXFont(FX::FXFont*)=E2=80= =99 defined but not used core_wrap.cpp:6553: warning: =E2=80=98void free_FXWindow(FX::FXWindow*)=E2= =80=99 defined but not used core_wrap.cpp:7044: warning: =E2=80=98void free_FXComposite(FX::FXComposite= *)=E2=80=99 defined but not used core_wrap.cpp:7234: warning: =E2=80=98void free_FXRootWindow(FX::FXRootWind= ow*)=E2=80=99 defined but not used core_wrap.cpp:7486: warning: =E2=80=98void free_FXShell(FX::FXShell*)=E2=80= =99 defined but not used core_wrap.cpp:7854: warning: =E2=80=98void free_FXPopup(FX::FXPopup*)=E2=80= =99 defined but not used core_wrap.cpp:8333: warning: =E2=80=98void free_FXTopWindow(FX::FXTopWindow= *)=E2=80=99 defined but not used core_wrap.cpp:8566: warning: =E2=80=98void free_FXMainWindow(FX::FXMainWind= ow*)=E2=80=99 defined but not used core_wrap.cpp:8843: warning: =E2=80=98void free_FXSplashWindow(FX::FXSplashWindow*)=E2=80=99 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? --=20 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 --=-I/0zJQ7PPZqltihwnATb Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 th= e gem and from raw source) and I can't get it to compile.  Both method= s (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.r= b
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 -DWIT= H_FXSCINTILLA -DHAVE_FOX_1_6  -I. -I/usr/lib/ruby/1.8/i486-linux -I/us= r/lib/ruby/1.8/i486-linux -I/home/michael/Development/FXRuby-1.6.4/ext/fox1= 6 -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 -DWIT= H_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/ex= t/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&= #8217;
/usr/local/include/fox-1.6/FXWindow.h:492: error:   overriding &#= 8216;virtual bool FX::FXWindow::canFocus() const’
include/FXRbWindowVirtuals.h:18: error: conflicting return type specified f= or ‘virtual bool FXRbScintilla::canFocus() const’
/usr/local/include/fxscintilla/FXScintilla.h:84: error:   overrid= ing ‘virtual FX::FXbool FXScintilla::canFocus() const’
core_wrap.cpp:587: warning: ‘void SWIG_AsVal(VALUE, int*)’ defi= ned 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::FXMemorySt= ream*)’ 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*)’ defi= ned 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*)’ de= fined 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*)&#= 8217; defined but not used
core_wrap.cpp:4370: warning: ‘void free_FXIconDict(FX::FXIconDict*)&#= 8217; 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*)&#= 8217; defined but not used
core_wrap.cpp:4649: warning: ‘void free_FXRegistry(FX::FXRegistry*)&#= 8217; defined but not used
core_wrap.cpp:4719: warning: ‘void free_FXDocument(FX::FXDocument*)&#= 8217; defined but not used
core_wrap.cpp:4867: warning: ‘void free_FXRecentFiles(FX::FXRecentFil= es*)’ defined but not used
core_wrap.cpp:4901: warning: ‘void free_FXId(FX::FXId*)’ define= d 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*)&#= 8217; 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*)&#= 8217; defined but not used
core_wrap.cpp:5555: warning: ‘void free_FXFont(FX::FXFont*)’ de= fined 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::FXSplashWi= ndow*)’ 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 acce= pt their lot [...]. I think the world is being much helped by the suffering= of the poor people." --Mother Theresa
--=-I/0zJQ7PPZqltihwnATb-- --=-i2HhV7EKweI5kxk1GbyC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFflJFLqyWkKVQ54QRArfoAJ9vxyLHod5oGe7rR8itXmzH4wIjxQCfcHMo lju80OIYGhbfEDlQ7PBbjmY= =74c1 -----END PGP SIGNATURE----- --=-i2HhV7EKweI5kxk1GbyC--