From: Dale Martenson Date: 2002-08-22T23:25:17+09:00 Subject: Using DRb on a Linux box ... This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C249E7.B8EE8E70 Content-Type: text/plain; charset="iso-8859-1" When trying to use DRb on my Linux box (SuSE 7.3 running Ruby 1.6.7), I get a SocketError indicating that getnameinfo: ai_family not supported. According to the "Ruby Developer's Guide", page 337, the fix for this is to recompile Ruby with ./configure --enable-ipv6 --with-lookup-order-hack=INET. I tried that and it didn't work!! Looking at the DRbServer class, I noticed that if the uri parameter to the initialize function is nil that the uri is set accordingly ... uri = 'drbuy://:0' unless uri shouldn't this be ... uri = 'druby://0.0.0.0:0' unless uri It seemed to solve the problem on my system. What is the correct solution? Why did recompiling Ruby not work? Thanks!! ------_=_NextPart_001_01C249E7.B8EE8E70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Using DRb on a Linux box ...

When trying to use DRb on my Linux box (SuSE 7.3 = running Ruby 1.6.7), I get a SocketError indicating that getnameinfo: = ai_family not supported.

According to the "Ruby Developer's Guide", = page 337, the fix for this is to recompile Ruby with ./configure = --enable-ipv6 --with-lookup-order-hack=3DINET. I tried that and it = didn't work!!

Looking at the DRbServer class, I noticed that if the = uri parameter to the initialize function is nil that the uri is set = accordingly ...

     uri =3D 'drbuy://:0' unless = uri

shouldn't this be ...

     uri =3D 'druby://0.0.0.0:0' = unless uri

It seemed to solve the problem on my system. What is = the correct solution? Why did recompiling Ruby not work?

Thanks!!

------_=_NextPart_001_01C249E7.B8EE8E70--