From: Stefan Schmiedl Date: 2001-11-19T05:09:09+09:00 Subject: [ruby-talk:25776] Re: Misunderstanding or bug? Still a problem... Dave Thomas (2001-11-19 03:35): > ts writes: > > > ./configure --enable-ipv6 --with-lookup-order-hack=INET > > Stefan Schmiedl writes: > > > so you need to configure ruby with --with-ipv6 --with-lookup-order-hack=INET > > > Looks like I spoke too soon: > > dave[ruby/ruby 12:28:34] ruby -rsocket -rrbconfig \ > -e "p Config::CONFIG['configure_args']; \ > TCPSocket.new('localhost','ftp').recvfrom(30)" > > "--enable-ipv6 --with-lookup-order-hack=INET --prefix=/tc/usr" > -e:1:in `recvfrom': getnameinfo: ai_family not supported (SocketError) > from -e:1 > hmmm... could it be that this problem is caused by something else? When I tested the DRb example in our book some days ago, which failed until I set the configure-options I mailed you. The example ran and it still does today. If you want to try: require 'drb' DRb.start_service cl = DRbObject.new(nil, 'druby://approximity.com:9000') p cl.doit But I get the same error as you with your example, even if I connect to other hosts. puzzled, s. -- Stefan Schmiedl EDV-Beratung, Programmierung, Schulung Loreleystr. 5, 94315 Straubing, Germany Tel. (0 94 21) 74 01 06 Public Key: http://xss.de/stefan.public shhhh ... I can't hear my code!