Professional Web Applications Themes

1.8.0 build, Solaris and socket - Ruby

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? -- -mark. All opinions expressed are my own and do not reflect in any way those of Nortel Networks....

  1. #1

    Default 1.8.0 build, Solaris and socket

    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?

    --
    -mark.

    All opinions expressed are my own and do not
    reflect in any way those of Nortel Networks.
    Mark Probert Guest

  2. #2

    Default Re: 1.8.0 build, Solaris and socket

    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?
    >
    >
    >

    Bermejo, Rodrigo Guest

  3. #3

    Default Re: 1.8.0 build, Solaris and socket

    --- Mark Probert <probertmNOSPAM_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?
    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.

    __________________________________
    Do you Yahoo!?
    Yahoo! SiteBuilder - Free, easy-to-use web site design software
    [url]http://sitebuilder.[/url]

    Michael Campbell Guest

Similar Threads

  1. Build/ drb problems on Solaris with 6.2 sun compiler
    By Schneider, Michael in forum Ruby
    Replies: 1
    Last Post: August 20th, 05:21 PM
  2. Replies: 6
    Last Post: August 12th, 03:32 AM
  3. GD-2.06 build on Solaris 2.8 w/PERL 5.8.0
    By Paul Brzezinski in forum PERL Modules
    Replies: 1
    Last Post: July 24th, 02:25 PM
  4. IO::Socket::SSL solaris 8
    By Jack in forum PERL Modules
    Replies: 0
    Last Post: July 14th, 06:33 PM
  5. Replies: 4
    Last Post: July 11th, 03:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139