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

X

x1

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top