Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Daniel Berger
RE: Error install SYS-PROCTABLE [ reply ]  
2011-03-12 16:34
This is a problem with the platform handling in Rubygems itself. The solution is to specify the --platform option on the command line. The latest version is 0.9.0, so that's what you should see.

Try gem install sys-proctable --platform darwin

I think that'll do it.

Regards,

Dan

By: Kent Georgeson
Error install SYS-PROCTABLE [ reply ]  
2011-03-12 06:00
I get the following error when trying to run 'sudo gem install sys-proctable'. It appears I may not have the correct dependencies? I ran into the same issue with sys-filesystem, but discovered it would install once I install fileutils.

Building native extensions. This could take a while...
ERROR: Error installing sys-proctable:
ERROR: Failed to build gem native extension.

/Users/kent/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for rb_pid_t in ruby.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/kent/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
/Users/kent/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1423:in `stat': No such file or directory - darwin/darwin.c (Errno::ENOENT)
from /Users/kent/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1423:in `block in fu_each_src_dest'
from /Users/kent/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1439:in `fu_each_src_dest0'
from /Users/kent/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1421:in `fu_each_src_dest'
from /Users/kent/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:391:in `cp'
from extconf.rb:95:in `<main>'


Gem files will remain installed in /Users/kent/.rvm/gems/ruby-1.9.2-p180/gems/sys-proctable-0.7.6 for inspection.
Results logged to /Users/kent/.rvm/gems/ruby-1.9.2-p180/gems/sys-proctable-0.7.6/ext/gem_make.out