Error Installing 'termios' [ld: fatal: file crt1.o: open failed: No such file or directory]

Discussion in 'Ruby' started by x1, Oct 30, 2005.

  1. x1

    x1 Guest

    I would greately appreciate any insite that can be provided:

    gem install termios

    Attempting local installation of 'termios'
    Local gem file not found: termios*.gem
    Attempting remote installation of 'termios'
    Building native extensions. This could take a while...
    /apps/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:290: warning:
    Insecure world writable dir /apps/ruby, mode 040777
    /apps/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:301: warning:
    Insecure world writable dir /apps/ruby, mode 040777
    ld: fatal: file crt1.o: open failed: No such file or directory
    collect2: ld returned 1 exit status
    make: *** [termios.so] Error 1
    /apps/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:303: warning:
    Insecure world writable dir /apps/ruby, mode 040777
    ld: fatal: file crt1.o: open failed: No such file or directory
    collect2: ld returned 1 exit status
    make: *** [termios.so] Error 1
    ruby extconf.rb install termios
    checking for termios.h... yes
    checking for unistd.h... yes
    creating Makefile

    make
    gcc -fPIC -mcpu=3Dultrasparc -g -O3 -I.
    -I/apps/ruby/lib/ruby/1.8/sparc-solaris2.8
    -I/apps/ruby/lib/ruby/1.8/sparc-solaris2.8 -I. -DHAVE_TERMIOS_H
    -DHAVE_UNISTD_H -mcpu=3Dultrasparc -g -O3 -c termios.c
    gcc -Wl,-G -L'/apps/ruby/lib' -Wl,-R'/apps/ruby/lib' -o termios.so
    termios.o -ldl -lcrypt -lm -lc

    make install
    gcc -Wl,-G -L'/apps/ruby/lib' -Wl,-R'/apps/ruby/lib' -o termios.so
    termios.o -ldl -lcrypt -lm -lc
    Successfully installed termios-0.9.4

    # irb
    irb(main):001:0> require 'termios'
    LoadError: No such file to load -- termios
    from (irb):1:in `require'
    from (irb):1
    irb(main):002:0> exit

    # find . -name '*term*'
    /lib/ruby/gems/1.8/cache/termios-0.9.4.gem
    /lib/ruby/gems/1.8/gems/termios-0.9.4
    /lib/ruby/gems/1.8/gems/termios-0.9.4/termios.c
    /lib/ruby/gems/1.8/gems/termios-0.9.4/termios.rd
    /lib/ruby/gems/1.8/gems/termios-0.9.4/termios.o
    /lib/ruby/gems/1.8/specifications/termios-0.9.4.gemspec


    When downloading and attemping manually, I get the same thing :-\


    Thanks in advance
     
    x1, Oct 30, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. zapr
    Replies:
    2
    Views:
    591
    Jack Klein
    Nov 24, 2006
  2. Durduran
    Replies:
    10
    Views:
    582
    Durduran
    Jul 30, 2007
  3. Replies:
    2
    Views:
    1,518
  4. jacob navia
    Replies:
    2
    Views:
    1,392
    jacob navia
    Aug 31, 2010
  5. Jonathan Wallace

    Difficulty installing ruby gem termios

    Jonathan Wallace, Oct 24, 2006, in forum: Ruby
    Replies:
    2
    Views:
    246
    Ken Bloom
    Oct 24, 2006
Loading...

Share This Page