May 27, 2014
I have successfully installed ruby on rails. I cloned the thingspeak repository. Now when i go to this directory and run " bundle install" , a few bundles get installed and then I get an error -
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
checking for CLOCK_MONOTONIC in time.h... yes
checking for clockid_t in time.h... yes
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
*** 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:
How do I fix this? Thanks in advance
March 14, 2011
Are you trying to install ThingSpeak on Windows? If so, I'm not familiar with the process, but you may have some success temporarily disabling any antivirus programs while you run `bundle install`. You can also try installing each of the gems one at a time to find out which one is causing the error, for example:
gem install mysql2
May 27, 2014
I am using windows 7. This is what is causing the error.
Gem files will remain installed in c:/row/Ruby200/lib/ruby/gems/2.0.0/gems/kgio-
2.8.1 for inspection.
Results logged to c:/row/Ruby200/lib/ruby/gems/2.0.0/gems/kgio-2.8.1/ext/kgio/ge
An error occurred while installing kgio (2.8.1), and Bundler cannot continue.
Make sure that `gem install kgio -v '2.8.1'` succeeds before bundling.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:Zain-Ul-Abidin, wellbeingcentresuk, Vamsi, frankmehlhop, bhumin, dennysrodialah
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457