Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Daniel Berger
RE: gem install sys-host does not work [ reply ]  
2008-11-19 11:10
Ok, it should work now with the sys-host 0.6.1 gem.

Regards,

Dan

By: Daniel Berger
RE: gem install sys-host does not work [ reply ]  
2008-10-21 03:51
What platform is this? And what version of ruby? Or, just paste the results of "gem environment".

Thanks,

Dan

By: Daniel Berger
RE: gem install sys-host does not work [ reply ]  
2008-10-21 03:50
In both cases you will have to install from source (or build the gem locally and install it). At the moment, rubygems platform handling does not work well with these packages. Will keep you posted.

Regards,

Dan

By: Brad Smith
RE: gem install sys-host does not work [ reply ]  
2008-10-20 13:50
I am having the same problem with sys-proctable, have you found a solution?
I think maybe has to do with kernel headers?
Thanks,
Brad

By: Designing Patterns
gem install sys-host does not work [ reply ]  
2008-08-27 16:13
I am able to manually download sys-host sys-host-0.6.0.tar.gz, unpack, rake install_gem successfully.

However, if I instead try to install to run: gem install sys-host, this fails.

[root@jackfruit ~/temp]# gem install sys-host
Building native extensions. This could take a while...
ERROR: Error installing sys-host:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install sys-host
checking for gethostid()... yes
checking for inet_ntop()... yes
checking for gethostbyname_r() in netdb.h... yes
checking for gethostent_r() in netdb.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=/usr/bin/ruby
/usr/lib/ruby/1.8/fileutils.rb:1200:in `stat': No such file or directory - linux/linux.c (Errno::ENOENT)
from /usr/lib/ruby/1.8/fileutils.rb:1200:in `lstat'
from /usr/lib/ruby/1.8/fileutils.rb:1178:in `stat'
from /usr/lib/ruby/1.8/fileutils.rb:1260:in `copy_file'
from /usr/lib/ruby/1.8/fileutils.rb:463:in `copy_file'
from /usr/lib/ruby/1.8/fileutils.rb:383:in `cp'
from /usr/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
from /usr/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
from /usr/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
from /usr/lib/ruby/1.8/fileutils.rb:382:in `cp'
from extconf.rb:20

If the latter works successfully, then I can go ahead and make the gems I release dependent on sys-host.