Iam new to ruby and compiling ruby-1.8.6 on HPUX11i . Iam not able to
compile it on HPUX :
Compiled without pthread :
Compilation of ruby and gem went smoothly(without pthread), but while
installing rails using gem Iam getting the below error:
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
getaddrinfo: host nor service provided, or not known(SocketError)
I found socket.sl is having getaddrinfo undef .
After compiling it with getaddrinfo , It asking for thread support.
Hence I tried to compile ruby with pthread while compilation Iam struck
up with below error:
shellwords': Argument must be a string (ArgumentError) from ruby/ruby-1.8.6/lib/optparse/shellwords.rb:6 from ruby/ruby-1.8.6/lib/optparse.rb:350:incall’
conv_arg' from ruby/ruby-1.8.6/lib/optparse.rb:454:inparse’
parse_in_order' from ruby/ruby-1.8.6/lib/optparse.rb:1247:incatch’
parse_in_order' from ruby/ruby-1.8.6/lib/optparse.rb:1241:inorder!’
permute!' from ruby/ruby-1.8.6/lib/optparse.rb:1353:inparse!’
from ./ext/extmk.rb:258:in `parse_args’
gmake: *** [all] Error 1
Any help in solving above error would be a great help to me. Please let
me know can I compile ruby without pthread support.
Thanks in advance,