I am new to Ruby on Rails. I am excited about Feed parsing but when I install FeedZirra I am getting this error.
I use Windows 7 and Ruby 1.8.7.
Please help. Thanks in advance.
C:\Ruby187>gem sources -a http://gems.github.com
http://gems.github.com added to sources
C:\Ruby187>gem install pauldix-feedzirra
Building native extensions. This could take a while...
ERROR: Error installing pauldix-feedzirra:
ERROR: Failed to build gem native extension.
C:/Ruby187/bin/ruby.exe extconf.rb
checking for curl-config... no
checking for main() in -lcurl... 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:
--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=C:/Ruby187/bin/ruby
--with-curl-dir
--without-curl-dir
--with-curl-include
--without-curl-include=${curl-dir}/include
--with-curl-lib
--without-curl-lib=${curl-dir}/lib
--with-curllib
--without-curllib
extconf.rb:12: Can't find libcurl or curl/curl.h (RuntimeError)
Try passing --with-curl-dir or --with-curl-lib and --with-curl-include
options to extconf.
Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/taf2-curb-0
.5.4.0 for inspection.
Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/taf2-curb-0.5.4.0/ext/gem_ma
ke.out
On Ubuntu I had to run
Then ran the gem install again and it completed successfully.
You need to install libcurl not for
curb
gem, but fortaf2-curb
gem , just looking carefull in error log. You can find my answer about installation on taf2-curb.You need to install libcurl for the
curb
gem, which your app depends on somewhere. You can get it here, but you're on your own as far as installation goes. I'm not a windows user, sorry.I also came across this bug on Ubuntu 12.0. The following may help.
worked!!
I tried downloading curl from the link x1a4 had mentioned. It doesn't work with ruby 1.9.2, even with dev toolkit installed: