From: "Groenenberg, Ron" Date: 2002-10-24T23:35:41+09:00 Subject: require socket - standalone file ? 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_01C27B6A.DDE70590 Content-Type: text/plain; charset="iso-8859-1" Does such a statement imply that a file 'socket.rb' must exist ? We are trying to build ruby on QNX4 4.24 but don't get a file 'socket.rb'. We linked statically (required for QNX4) so the socket library is included in the executable 'ruby' along with adding 'Init_socket()' to inits.c. No joy running ruby code with the above statement. ./ext/extinit.c also seems to need addition of 'rb_provide( socket.so );' but we cannot do dynamic loading. Are we __ out of luck ? Ron BTW: ----------------------------------- Ruby extconf.rb gives us on stdout: checking for t_open() in -lnsl... no checking for socket() in -lsocket... checking for netinet/tcp.h... yes checking for netinet/udp.h... 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... checking for sys/un.h... yes checking for socket()... no ------_=_NextPart_001_01C27B6A.DDE70590 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Does such a statement imply that a file 'socket.rb' must exist = ?

 

We are trying to build ruby on QNX4 4.24 but don't = get a file 'socket.rb'.=A0 We linked statically (required = for QNX4) so the socket library is included in the executable 'ruby' along with adding 'Init_socket()' to inits.c.=A0=A0 No joy running ruby code with = the above statement.

 

./ext/extinit.c also = seems to need addition of 'rb_provide( socket.so );' but we cannot do dynamic loading.=A0 = Are we __ out of luck ?

 

Ron

 

BTW: = -----------------------------------

 

Ruby extconf.rb gives us = on stdout:

 

checking for t_open() in -lnsl... = no

 

checking for socket() in -lsocket... checking for netinet/tcp.h... yes

 

checking for netinet/udp.h... 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... checking for sys/un.h... yes

 

checking for socket()... no

------_=_NextPart_001_01C27B6A.DDE70590--