From: Matt Lawrence Date: 2004-05-12T11:23:11+09:00 Subject: Re: Ruby on AIX 4.3.3 On Wed, 12 May 2004, Mark Hubbart wrote: > Socket is a C extension; I would strongly suspect that it failed to > compile when you built ruby. Compiles of extensions will fail silently. > > Try cd'ing into the source/ext/socket/ directory and "ruby extconf.rb; > make"; This will display any errors. I just tried that. Here's what it said: ]/usr/src/ruby-1.8.1/ext/socket > ruby extconf.rb checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for netinet/tcp.h... yes checking for netinet/udp.h... yes checking for sendmsg()... no checking for recvmsg()... no checking for inet_ntop()... no checking for inet_ntoa()... no checking for inet_pton()... no checking for inet_aton()... no checking for getservbyport()... no checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for sys/un.h... yes checking for sys/uio.h... yes checking for socket()... no Ideas? Something missing from the gcc libraries? Help? -- Matt The American Non-Sequiteur Society: We may not make sense, but we do like pizza.