FXRuby 1.6.4 redux

M

Michael T. Richter

--=-QUhsINX9UXVdyGe2/wGy
Content-Type: multipart/alternative; boundary="=-x75YZ4d8doRXe4io49OS"


--=-x75YZ4d8doRXe4io49OS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

OK, thanks to the timely help of Lyle Johnson (Thanks, Lyle!) I got
FXRuby 1.6.4 compiled and installed. Unfortunately I cannot say that I
have it running.

1. Using 'gem install fxruby', as per the FXRuby web site's warning,
doesn't work. (This was not unexpected.)
2. Building FXRuby 1.6.4 myself from source and installing it
('install.rbconfig', 'install.rb setup' and 'install.rb install') seems
to have worked in that it compiled (relatively) cleanly, made the files
I'd expect and then put them about where I'd expect to find them.
That's where the good news ends, however. When I try a quick test of
it, things fail in ways I can't figure out:


$ irb
irb(main):001:0> require 'fox16'
LoadError: libfxscintilla.so.18: cannot open shared object file:
No such file or directory
- /usr/local/lib/site_ruby/1.8/i486-linux/fox16.so
from /usr/local/lib/site_ruby/1.8/i486-linux/fox16.so
from (irb):1
irb(main):002:0> quit
=20
$ find /usr/local/lib -name fox16.so
/usr/local/lib/site_ruby/1.8/i486-linux/fox16.so
=20
$ ls -l /usr/local/lib/site_ruby/1.8/i486-linux
total 19M
-rwxr-xr-x 1 root staff 59K 2006-12-11 15:03 bz2.so
-r-xr-xr-x 1 root staff 19M 2006-12-14 06:48 fox16.so
=20
$ find /usr/local/ -name "*scin*"
/usr/local/lib/site_ruby/1.8/fox16/scintilla.rb
/usr/local/lib/libfxscintilla.so.18.1.1
/usr/local/lib/libfxscintilla.so.18
/usr/local/lib/libfxscintilla.so
/usr/local/lib/libfxscintilla.la
/usr/local/lib/libfxscintilla.a
/usr/local/lib/libfxscintilla.17.0.0
/usr/local/lib/libfxscintilla.17
/usr/local/lib/libfxscintilla
/usr/local/include/fxscintilla
=20
$ ls -l /usr/local/lib/libfxscintilla*
lrwxrwxrwx 1 root root 21 2006-12-11
20:07 /usr/local/lib/libfxscintilla -> libfxscintilla.17.0.0
lrwxrwxrwx 1 root root 21 2006-12-11
20:07 /usr/local/lib/libfxscintilla.17 -> libfxscintilla.17.0.0
-rwxr-xr-x 1 root root 2.5M 2006-12-11
20:07 /usr/local/lib/libfxscintilla.17.0.0
-rw-r--r-- 1 root root 4.4M 2006-12-13
21:22 /usr/local/lib/libfxscintilla.a
-rwxr-xr-x 1 root root 778 2006-12-13
21:22 /usr/local/lib/libfxscintilla.la
lrwxrwxrwx 1 root root 24 2006-12-11
19:25 /usr/local/lib/libfxscintilla.so ->
libfxscintilla.so.18.1.1
lrwxrwxrwx 1 root root 24 2006-12-11
19:25 /usr/local/lib/libfxscintilla.so.18 ->
libfxscintilla.so.18.1.1
-rwxr-xr-x 1 root root 3.0M 2006-12-11
19:25 /usr/local/lib/libfxscintilla.so.18.1.1


My inexperienced eyes can find nothing wrong. The fox16.so file that it
claims it can't find is very obviously there. Or, if I'm misreading
this, the libfxscintilla.so.18 file it claims it can't find is also
clearly present. Permissions seem to all be sane. I can't figure out
what it wants from me. What painfully, laughably obvious thing am I
missing here?

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

"My paramount object in this struggle is to save the Union, and is not
either to save or to destroy slavery." --Abraham Lincoln

--=-x75YZ4d8doRXe4io49OS
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>
OK, thanks to the timely help of Lyle Johnson (Thanks, Lyle!) I got FXRuby =
1.6.4 compiled and installed.&nbsp; Unfortunately I cannot say that I have =
it running.<BR>
<BR>
1.&nbsp; Using 'gem install fxruby', as per the FXRuby web site's warning, =
doesn't work.&nbsp; (This was not unexpected.)<BR>
2.&nbsp; Building FXRuby 1.6.4 myself from source and installing it ('insta=
ll.rbconfig', 'install.rb setup' and 'install.rb install') seems to have wo=
rked in that it compiled (relatively) cleanly, made the files I'd expect an=
d then put them about where I'd expect to find them.&nbsp; That's where the=
good news ends, however.&nbsp; When I try a quick test of it, things fail =
in ways I can't figure out:<BR>
<BR>
<BLOCKQUOTE>
<TT>$ irb</TT><BR>
<TT>irb(main):001:0&gt; require 'fox16'</TT><BR>
<TT>LoadError: libfxscintilla.so.18: cannot open shared object file: No=
such file or directory - /usr/local/lib/site_ruby/1.8/i486-linux/fox16.so<=
/TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/site=
_ruby/1.8/i486-linux/fox16.so</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from (irb):1</TT><BR>
<TT>irb(main):002:0&gt; quit</TT><BR>
<BR>
<TT>$ find /usr/local/lib -name fox16.so</TT><BR>
<TT>/usr/local/lib/site_ruby/1.8/i486-linux/fox16.so</TT><BR>
<BR>
<TT>$ ls -l /usr/local/lib/site_ruby/1.8/i486-linux</TT><BR>
<TT>total 19M</TT><BR>
<TT>-rwxr-xr-x 1 root staff 59K 2006-12-11 15:03 bz2.so</TT><BR>
<TT>-r-xr-xr-x 1 root staff 19M 2006-12-14 06:48 fox16.so</TT><BR>
<BR>
<TT>$ find /usr/local/ -name &quot;*scin*&quot;</TT><BR>
<TT>/usr/local/lib/site_ruby/1.8/fox16/scintilla.rb</TT><BR>
<TT>/usr/local/lib/libfxscintilla.so.18.1.1</TT><BR>
<TT>/usr/local/lib/libfxscintilla.so.18</TT><BR>
<TT>/usr/local/lib/libfxscintilla.so</TT><BR>
<TT>/usr/local/lib/libfxscintilla.la</TT><BR>
<TT>/usr/local/lib/libfxscintilla.a</TT><BR>
<TT>/usr/local/lib/libfxscintilla.17.0.0</TT><BR>
<TT>/usr/local/lib/libfxscintilla.17</TT><BR>
<TT>/usr/local/lib/libfxscintilla</TT><BR>
<TT>/usr/local/include/fxscintilla</TT><BR>
<BR>
<TT>$ ls -l /usr/local/lib/libfxscintilla*</TT><BR>
<TT>lrwxrwxrwx 1 root root&nbsp;&nbsp; 21 2006-12-11 20:07 /usr/local/l=
ib/libfxscintilla -&gt; libfxscintilla.17.0.0</TT><BR>
<TT>lrwxrwxrwx 1 root root&nbsp;&nbsp; 21 2006-12-11 20:07 /usr/local/l=
ib/libfxscintilla.17 -&gt; libfxscintilla.17.0.0</TT><BR>
<TT>-rwxr-xr-x 1 root root 2.5M 2006-12-11 20:07 /usr/local/lib/libfxsc=
intilla.17.0.0</TT><BR>
<TT>-rw-r--r-- 1 root root 4.4M 2006-12-13 21:22 /usr/local/lib/libfxsc=
intilla.a</TT><BR>
<TT>-rwxr-xr-x 1 root root&nbsp; 778 2006-12-13 21:22 /usr/local/lib/li=
bfxscintilla.la</TT><BR>
<TT>lrwxrwxrwx 1 root root&nbsp;&nbsp; 24 2006-12-11 19:25 /usr/local/l=
ib/libfxscintilla.so -&gt; libfxscintilla.so.18.1.1</TT><BR>
<TT>lrwxrwxrwx 1 root root&nbsp;&nbsp; 24 2006-12-11 19:25 /usr/local/l=
ib/libfxscintilla.so.18 -&gt; libfxscintilla.so.18.1.1</TT><BR>
<TT>-rwxr-xr-x 1 root root 3.0M 2006-12-11 19:25 /usr/local/lib/libfxsc=
intilla.so.18.1.1</TT><BR>
</BLOCKQUOTE>
<BR>
My inexperienced eyes can find nothing wrong.&nbsp; The fox16.so file that =
it claims it can't find is very obviously there.&nbsp; Or, if I'm misreadin=
g this, the libfxscintilla.so.18 file it claims it can't find is also clear=
ly present.&nbsp; Permissions seem to all be sane.&nbsp; I can't figure out=
what it wants from me.&nbsp; What painfully, laughably obvious thing am I =
missing here?<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;My paramount object in this struggle is to save t=
he Union, and is not either to save or to destroy slavery.&quot;</FONT></I>=
<FONT SIZE=3D"1"> </FONT><B><FONT SIZE=3D"1">--Abraham Lincoln</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-x75YZ4d8doRXe4io49OS--

--=-QUhsINX9UXVdyGe2/wGy
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)

iD8DBQBFgPHGLqyWkKVQ54QRArvBAJ9+jGqZL6GKfPwPsqYoi0CsydmcPQCguH+r
Wh85IW4wQ9Cx1Pbazp+5DJY=
=rAxj
-----END PGP SIGNATURE-----

--=-QUhsINX9UXVdyGe2/wGy--
 
M

Michael T. Richter

--=-yhAWYjLx2/68zUOPa8SV
Content-Type: multipart/alternative; boundary="=-RxXz5z+H0x+R2+K2GM47"


--=-RxXz5z+H0x+R2+K2GM47
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-14-12 at 17:10 +0900, Paul Lutus wrote:

# a whole bunch of stuff about /etc/ld.so.conf

Yes, that did it Paul. Thanks. I guess what baffled me was the fact
that it was giving the path all the way to the library to say it wasn't
there. Weird error message, but this set of incantations made it all
work, so I'm happy.

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

"Sexual organs were created for reproduction between the male element
and the female element -- and everything that deviates from that is not
acceptable from a Buddhist point of view. Between a man and man, a woman
and another woman, in the mouth, the anus, or even using a hand." --The
Dalai Lama

--=-RxXz5z+H0x+R2+K2GM47
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>
On Thu, 2006-14-12 at 17:10 +0900, Paul Lutus wrote:<BR>
<BR>
# a whole bunch of stuff about /etc/ld.so.conf<BR>
<BR>
Yes, that did it Paul.&nbsp; Thanks.&nbsp; I guess what baffled me was the =
fact that it was giving the path all the way to the library to say it wasn'=
t there.&nbsp; Weird error message, but this set of incantations made it al=
l work, so I'm happy.<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;Sexual organs were created for reproduction betwe=
en the male element and the female element -- and everything that deviates =
from that is not acceptable from a Buddhist point of view. Between a man an=
d man, a woman and another woman, in the mouth, the anus, or even using a h=
and.&quot;</FONT></I><FONT SIZE=3D"1"> </FONT><B><FONT SIZE=3D"1">--The Dal=
ai Lama</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-RxXz5z+H0x+R2+K2GM47--

--=-yhAWYjLx2/68zUOPa8SV
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)

iD8DBQBFgRAOLqyWkKVQ54QRAgwpAKDXpVOTdRovkTVhHDZw087umln22ACgtE7l
rEstyaBNnWl1aoxjmYQQIX4=
=VwaZ
-----END PGP SIGNATURE-----

--=-yhAWYjLx2/68zUOPa8SV--
 
L

Lyle Johnson

Yes, that did it Paul. Thanks. I guess what baffled me was the fact that
it was giving the path all the way to the library to say it wasn't there.

It was giving you the path to the FXRuby extension's shared library
(in your case, /usr/local/lib/site_ruby/1.8/i486-linux/fox16.so), and
Ruby did know where to find that file. What it couldn't find was
/usr/local/lib/libFOX-1.6.so, which is a dependency of the former. The
information that Paul provided corrected that latter problem.

This is discussed in the FXRuby User's Guide, here:

http://www.fxruby.org/doc/build.html#tragedies

Hope this helps,

Lyle

P.S. Thanks, Paul!
 

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

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top