FXRuby 1.6.4: what's the trick?

M

Michael T. Richter

--=-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: (e-mail address removed), (e-mail address removed)
MSN: (e-mail address removed), (e-mail address removed); YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
(e-mail address removed)

"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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; CHARSET=3DUTF-8">
<META NAME=3D"GENERATOR" CONTENT=3D"GtkHTML/3.10.3">
</HEAD>
<BODY>
I've got fox-1.6.20 up and running and tested.&nbsp; I've got fxscintilla-1=
63 up and running and tested.&nbsp; I try to install fxruby-1.6.4 (both th=
e gem and from raw source) and I can't get it to compile.&nbsp; Both method=
s (gem and raw source) choke on the same spot with these errors:<BR>
<BR>
$ ruby install.rb config<BR>
install.rb: entering config phase...<BR>
---&gt; lib<BR>
---&gt; lib/fox16<BR>
&lt;--- lib/fox16<BR>
&lt;--- lib<BR>
---&gt; ext<BR>
---&gt; ext/fox16<BR>
/usr/bin/ruby1.8 /home/michael/Development/FXRuby-1.6.4/ext/fox16/extconf.r=
b<BR>
checking for sys/time.h... yes<BR>
checking for signal.h... yes<BR>
checking for png_create_read_struct() in -lpng... yes<BR>
checking for deflate() in -lz... yes<BR>
checking for jpeg_mem_init() in -ljpeg... yes<BR>
checking for TIFFSetErrorHandler() in -ltiff... yes<BR>
checking for XShmQueryVersion() in -lXext... yes<BR>
checking for XFindContext() in -lX11... yes<BR>
checking for glXCreateContext() in -lGL... yes<BR>
checking for gluNewQuadric() in -lGLU... yes<BR>
creating Makefile<BR>
---&gt; ext/fox16/include<BR>
&lt;--- ext/fox16/include<BR>
&lt;--- ext/fox16<BR>
&lt;--- ext<BR>
install.rb: config done.<BR>
<BR>
$ ruby install.rb setup<BR>
install.rb: entering setup phase...<BR>
---&gt; lib<BR>
---&gt; lib/fox16<BR>
&lt;--- lib/fox16<BR>
&lt;--- lib<BR>
---&gt; ext<BR>
---&gt; ext/fox16<BR>
make<BR>
gcc -fPIC -Wall -g -fno-strict-aliasing -O2&nbsp; -fPIC -O0 -Iinclude -DWIT=
H_FXSCINTILLA -DHAVE_FOX_1_6&nbsp; -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&nbsp; -c librb.c<BR>
g++ -fPIC -Wall -g -fno-strict-aliasing -O2&nbsp; -fPIC -O0 -Iinclude -DWIT=
H_FXSCINTILLA -DHAVE_FOX_1_6&nbsp;&nbsp; -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&nbsp; -c core_wrap.cpp<BR>
/usr/local/include/fxscintilla/FXScintilla.h:84: error: conflicting return =
type specified for ‘virtual FX::FXbool FXScintilla::canFocus() const&=
#8217;<BR>
/usr/local/include/fox-1.6/FXWindow.h:492: error:&nbsp;&nbsp; overriding &#=
8216;virtual bool FX::FXWindow::canFocus() const’<BR>
include/FXRbWindowVirtuals.h:18: error: conflicting return type specified f=
or ‘virtual bool FXRbScintilla::canFocus() const’<BR>
/usr/local/include/fxscintilla/FXScintilla.h:84: error:&nbsp;&nbsp; overrid=
ing ‘virtual FX::FXbool FXScintilla::canFocus() const’<BR>
core_wrap.cpp:587: warning: ‘void SWIG_AsVal(VALUE, int*)’ defi=
ned but not used<BR>
core_wrap.cpp:2036: warning: ‘void free_FXStream(FX::FXStream*)&#8217=
; defined but not used<BR>
core_wrap.cpp:2081: warning: ‘void free_FXFileStream(FX::FXFileStream=
*)’ defined but not used<BR>
core_wrap.cpp:2135: warning: ‘void free_FXMemoryStream(FX::FXMemorySt=
ream*)’ defined but not used<BR>
core_wrap.cpp:2832: warning: ‘void free_FXRegion(FX::FXRegion*)&#8217=
; defined but not used<BR>
core_wrap.cpp:2863: warning: ‘void free_FXObject(FX::FXObject*)&#8217=
; defined but not used<BR>
core_wrap.cpp:2924: warning: ‘void free_FXAccelTable(FX::FXAccelTable=
*)’ defined but not used<BR>
core_wrap.cpp:3147: warning: ‘void free_FXEvent(FX::FXEvent*)’ =
defined but not used<BR>
core_wrap.cpp:3745: warning: ‘void free_FXApp(FX::FXApp*)’ defi=
ned but not used<BR>
core_wrap.cpp:3867: warning: ‘void free_FXDataTarget(FX::FXDataTarget=
*)’ defined but not used<BR>
core_wrap.cpp:3939: warning: ‘void free_FXDelegator(FX::FXDelegator*)=
’ defined but not used<BR>
core_wrap.cpp:3985: warning: ‘void free_FXTranslator(FX::FXTranslator=
*)’ defined but not used<BR>
core_wrap.cpp:4068: warning: ‘void free_FXDict(FX::FXDict*)’ de=
fined but not used<BR>
core_wrap.cpp:4180: warning: ‘void free_FXFileAssoc(FX::FXFileAssoc*)=
’ defined but not used<BR>
core_wrap.cpp:4275: warning: ‘void free_FXFileDict(FX::FXFileDict*)&#=
8217; defined but not used<BR>
core_wrap.cpp:4370: warning: ‘void free_FXIconDict(FX::FXIconDict*)&#=
8217; defined but not used<BR>
core_wrap.cpp:4416: warning: ‘void free_FXStringDict(FX::FXStringDict=
*)’ defined but not used<BR>
core_wrap.cpp:4588: warning: ‘void free_FXSettings(FX::FXSettings*)&#=
8217; defined but not used<BR>
core_wrap.cpp:4649: warning: ‘void free_FXRegistry(FX::FXRegistry*)&#=
8217; defined but not used<BR>
core_wrap.cpp:4719: warning: ‘void free_FXDocument(FX::FXDocument*)&#=
8217; defined but not used<BR>
core_wrap.cpp:4867: warning: ‘void free_FXRecentFiles(FX::FXRecentFil=
es*)’ defined but not used<BR>
core_wrap.cpp:4901: warning: ‘void free_FXId(FX::FXId*)’ define=
d but not used<BR>
core_wrap.cpp:5023: warning: ‘void free_FXCursor(FX::FXCursor*)&#8217=
; defined but not used<BR>
core_wrap.cpp:5077: warning: ‘void free_FXCURCursor(FX::FXCURCursor*)=
’ defined but not used<BR>
core_wrap.cpp:5133: warning: ‘void free_FXGIFCursor(FX::FXGIFCursor*)=
’ defined but not used<BR>
core_wrap.cpp:5220: warning: ‘void free_FXDrawable(FX::FXDrawable*)&#=
8217; defined but not used<BR>
core_wrap.cpp:5309: warning: ‘void free_FXVisual(FX::FXVisual*)&#8217=
; defined but not used<BR>
core_wrap.cpp:5408: warning: ‘void free_FXFontDesc(FX::FXFontDesc*)&#=
8217; defined but not used<BR>
core_wrap.cpp:5555: warning: ‘void free_FXFont(FX::FXFont*)’ de=
fined but not used<BR>
core_wrap.cpp:6553: warning: ‘void free_FXWindow(FX::FXWindow*)&#8217=
; defined but not used<BR>
core_wrap.cpp:7044: warning: ‘void free_FXComposite(FX::FXComposite*)=
’ defined but not used<BR>
core_wrap.cpp:7234: warning: ‘void free_FXRootWindow(FX::FXRootWindow=
*)’ defined but not used<BR>
core_wrap.cpp:7486: warning: ‘void free_FXShell(FX::FXShell*)’ =
defined but not used<BR>
core_wrap.cpp:7854: warning: ‘void free_FXPopup(FX::FXPopup*)’ =
defined but not used<BR>
core_wrap.cpp:8333: warning: ‘void free_FXTopWindow(FX::FXTopWindow*)=
’ defined but not used<BR>
core_wrap.cpp:8566: warning: ‘void free_FXMainWindow(FX::FXMainWindow=
*)’ defined but not used<BR>
core_wrap.cpp:8843: warning: ‘void free_FXSplashWindow(FX::FXSplashWi=
ndow*)’ defined but not used<BR>
make: *** [core_wrap.o] Error 1<BR>
setup failed<BR>
'system make ' failed<BR>
Try 'ruby install.rb --help' for detailed usage.<BR>
<BR>
I'm pretty much stuck at this point.&nbsp; Any suggestions?<BR>
<BR>
<TABLE CELLSPACING=3D"0" CELLPADDING=3D"0" WIDTH=3D"100%">
<TR>
<TD>
--&nbsp;<BR>
<B>Michael T. Richter</B><BR>
<I><FONT SIZE=3D"2">Email:</FONT></I><FONT SIZE=3D"2"> (e-mail address removed)=
, (e-mail address removed)</FONT><BR>
<I><FONT SIZE=3D"2">MSN:</FONT></I><FONT SIZE=3D"2"> (e-mail address removed)=
, (e-mail address removed); </FONT><I><FONT SIZE=3D"2">YIM:</FONT></I><FONT SIZE=
=3D"2"> michael_richter_1966; </FONT><I><FONT SIZE=3D"2">AIM:</FONT></I><FO=
NT SIZE=3D"2"> YanJiahua1966; </FONT><I><FONT SIZE=3D"2">ICQ:</FONT></I><FO=
NT SIZE=3D"2"> 241960658; </FONT><I><FONT SIZE=3D"2">Jabber:</FONT></I><FON=
T SIZE=3D"2"> (e-mail address removed)</FONT><BR>
<BR>
<I><FONT SIZE=3D"1">&quot;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.&quot;</FONT></I><FONT SIZE=3D"1"> </FONT><B><FONT SIZE=
=3D"1">--Mother Theresa</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-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--
 
L

Lyle Johnson

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:

<snip>

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top