Hi, rubyists.
I am getting an error when I try to use telnet under 1.8.0 (it was
working fine under 1.6.8 and 1.7.3).
(mark-1)-> tn.rb
/devtools/shasta/lib/ruby/1.8/net/telnet.rb:164:in require': No such file to load -- socket (LoadError) from /devtools/shasta/lib/ruby/1.8/net/telnet.rb:164 from tn.rb:2:inrequire’
from tn.rb:2
(zcars0u3)-> cat tn.rb
#! /devtools/shasta/bin/ruby
require ‘net/telnet’
(zcars0u3)-> /devtools/shasta/bin/ruby -v
ruby 1.8.0 (2003-08-04) [sparc-solaris2.8]
Any ideas?
···
–
-mark.
All opinions expressed are my own and do not
reflect in any way those of Nortel Networks.
May there was a problem during installation.
cd ext/socket
cat mkmf.log
I had the same problem under HPUX, and I just could solve it selecting
to build it non dinamically.(ext/Setup)
-r.
Mark Probert wrote:
···
Hi, rubyists.
I am getting an error when I try to use telnet under 1.8.0 (it was
working fine under 1.6.8 and 1.7.3).
(mark-1)-> tn.rb
/devtools/shasta/lib/ruby/1.8/net/telnet.rb:164:in require': No such file to load -- socket (LoadError) from /devtools/shasta/lib/ruby/1.8/net/telnet.rb:164 from tn.rb:2:in require’
from tn.rb:2
(zcars0u3)-> cat tn.rb
#! /devtools/shasta/bin/ruby
require ‘net/telnet’
(zcars0u3)-> /devtools/shasta/bin/ruby -v
ruby 1.8.0 (2003-08-04) [sparc-solaris2.8]
Any ideas?
i got the same thing when I compiled 1.8.0 from source, using cygwin
under windows (with the ftp.rb, however.)
I don’t know what I had done wrong, but I removed manually the
install dir, the source dir, and re-ran ./configure.sh, make, make
install, and it worked.
···
— Mark Probert <probertm@NOSPAM_acm.org> wrote:
Hi, rubyists.
I am getting an error when I try to use telnet under 1.8.0 (it was
working fine under 1.6.8 and 1.7.3).
(mark-1)-> tn.rb
/devtools/shasta/lib/ruby/1.8/net/telnet.rb:164:in require': No such file to load -- socket (LoadError) from /devtools/shasta/lib/ruby/1.8/net/telnet.rb:164 from tn.rb:2:in require’
from tn.rb:2
(zcars0u3)-> cat tn.rb
#! /devtools/shasta/bin/ruby
require ‘net/telnet’
(zcars0u3)-> /devtools/shasta/bin/ruby -v
ruby 1.8.0 (2003-08-04) [sparc-solaris2.8]
Any ideas?
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Michael Campbell michael_s_campbell@yahoo.com did say …
I don’t know what I had done wrong, but I removed manually the
install dir, the source dir, and re-ran ./configure.sh, make, make
install, and it worked.
Thanks.
A clean install was what it took.
···
–
-mark.