Hello:
Just installed ruby, gems, rails, rubyinstaller by following instructions from
All tests from this doc passed.
Then tried to run bundle command. But it fails giving following errors.
Using Platform (0.4.0)
Using open4 (1.3.0)
Using POpen4 (0.1.4)
Using bootstrap-sass (2.1.0.0)
Using chunky_png (1.2.6)
Using fssm (0.2.9)
Using sass (3.2.1)
Using compass (0.12.2)
Using diff-lcs (1.1.3)
Using ffi (1.1.5)
Using haml (3.1.7)
Installing kgio (2.7.4) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
.
D:/RubyInstall/Ruby193/bin/ruby.exe extconf.rb
checking for CLOCK_MONOTONIC in time.h... no
checking for CLOCK_MONOTONIC() in time.h... no
checking for clockid_t in time.h... no
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... no
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
getaddrinfo required
*** 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=D:/RubyInstall/Ruby193/bin/ruby
--with-rtlib
--without-rtlib
--with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib
Gem files will remain installed in D:/RubyInstall/Ruby193/lib/ruby/gems/1.9.1/ge
ms/kgio-2.7.4 for inspection.
Results logged to D:/RubyInstall/Ruby193/lib/ruby/gems/1.9.1/gems/kgio-2.7.4/ext
/kgio/gem_make.out
An error occurred while installing kgio (2.7.4), and Bundler cannot continue.
Make sure that `gem install kgio -v '2.7.4'` succeeds before bundling.
THEN RAN THE FOLLOWING
>gem install kgio -v '2.7.4'
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing kgio:
ERROR: Failed to build gem native extension.
D:/RubyInstall/Ruby193/bin/ruby.exe extconf.rb
checking for CLOCK_MONOTONIC in time.h... no
checking for CLOCK_MONOTONIC() in time.h... no
checking for clockid_t in time.h... no
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... no
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
getaddrinfo required
*** 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=D:/RubyInstall/Ruby193/bin/ruby
--with-rtlib
--without-rtlib
--with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib
Gem files will remain installed in D:/RubyInstall/Ruby193/lib/ruby/gems/1.9.1/ge
ms/kgio-2.7.4 for inspection.
Results logged to D:/RubyInstall/Ruby193/lib/ruby/gems/1.9.1/gems/kgio-2.7.4/ext
/kgio/gem_make.out
What could be the problem? Any help is really appreciated.
Thank you,
Arvind.
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyinstaller/-/Cfr8td4ywJQJ.
To post to this group, send email to rubyin...@googlegroups.com.
To unsubscribe from this group, send email to rubyinstalle...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyinstaller?hl=en.