 |
Forums |
Admin Discussion Forums: help Start New Thread
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.
|
|
 |