From: "Schneider, Michael" Date: 2003-08-21T02:03:22+09:00 Subject: Build/ drb problems on Solaris with 6.2 sun compiler This is a multi-part message in MIME format. ------_=_NextPart_001_01C3673C.F50947F1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello All, I am new to ruby. I started by downloading and prototyping on Windows = with the self-install. Great language / great job on the self install. I compiled on HP, SGI with no problems. On Solaris 8, workshop 6.2 I had a compile problem with defines.h Line 145, asm volitile .... I also made the suggested change to configure to use alloca.h if it = exists. (Note: there was no behaviour change with this change) Solaris did not seem to understand volatile, so I removed it, and all = went well for the build. I did a make test, and all was well. Next, I downloaded and installed drb 2.0.4. When I tried to run my = simple rinda code (that works on windows, HP and SGI). I get the following error. Thanks in advance for any pointers, Mike -------------------------------------------------------------------------= ------------------------- (scmikes)sun82:tupplespace>ruby rindas.rb = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:321:in `set_sockopt': uninitialized constant Socket::TCP_NODELAY = (NameError) from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:268:in `initialize' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:254:in `new' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:254:in `open_server' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:184:in `open_server' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:182:in `each' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:182:in `open_server' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:542:in `initialize' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:737:in `new' from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:737:in `start_service' from rindas.rb:13 (scmikes)sun82:tupplespace>=20 -------------------------------------------------------------------------= ---------------------------------------------- code -------------------------------------------------------------------------= -------------------------- require 'drb/drb' require 'rinda/tuplespace' uri=3D"druby://localhost:12321" DRb.start_service(uri, Rinda::TupleSpace.new) puts DRb.uri DRb.thread.join ------_=_NextPart_001_01C3673C.F50947F1 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Build/ drb problems on Solaris with 6.2 sun compiler

Hello All,


I am new to ruby.  I started by = downloading and prototyping on Windows with the
self-install.  Great language / = great job on the self install.


I compiled on HP, SGI with no = problems.

On Solaris 8, workshop 6.2  I had = a compile problem with defines.h

Line 145,   asm volitile = ....

I also made the suggested change to = configure to use alloca.h if it exists. (Note:
there was no behaviour change with = this change)

Solaris did not seem to understand = volatile, so I removed it, and all went well for the build.

I did a make test, and all was = well.

Next, I downloaded and installed drb = 2.0.4.   When I tried to run my simple rinda code
(that works on windows, HP and = SGI).  I get the following error.

Thanks in advance for any = pointers,
Mike

----------------------------------------------------------= ----------------------------------------
(scmikes)sun82:tupplespace>ruby = rindas.rb = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:321:in `set_sockopt': uninitialized constant Socket::TCP_NODELAY = (NameError)       from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:268:in `initialize'     from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:254:in `new'    from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:254:in `open_server'    from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:184:in `open_server'    from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:182:in `each'   from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:182:in `open_server'    from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:542:in `initialize'     from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:737:in `new'    from = /misc/pdtools/scm/.scmikes/ruby/dist/sun/lib/ruby/site_ruby/1.8/drb/drb.r= b:737:in `start_service'  from rindas.rb:13 = (scmikes)sun82:tupplespace>

----------------------------------------------------------= -------------------------------------------------------------
code
----------------------------------------------------------= -----------------------------------------
require 'drb/drb'
require 'rinda/tuplespace'

uri=3D"druby://localhost:12321"
DRb.start_service(uri, = Rinda::TupleSpace.new)
puts DRb.uri
DRb.thread.join

------_=_NextPart_001_01C3673C.F50947F1--