Feedzirra installation, Problem faced & Solution/ How I installed Feedzirra


What I did?
When In gem file I wrote this

gem "feedzirra", "~> 0.3.0"

and run bundle install

Bellow Error came to me. Saying that there is missing of some extension

What Happened to me?

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/home/taimoor/.rvm/rubies/ruby-1.9.3-p448/bin/ruby 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=/home/taimoor/.rvm/rubies/ruby-1.9.3-p448/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:23:in `’: 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 /home/taimoor/.rvm/gems/ruby-1.9.3-p448@appattrip/gems/curb-0.8.5 for inspection.
Results logged to /home/taimoor/.rvm/gems/ruby-1.9.3-p448@appattrip/gems/curb-0.8.5/ext/gem_make.out

An error occurred while installing curb (0.8.5), and Bundler cannot continue.
Make sure that `gem install curb -v ‘0.8.5’` succeeds before bundling.

How I resolved?

sudo apt-get install libcurl3-dev

Reference

Advertisements

I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Tagged with: , ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

StackOverFlow
Categories
Archives
%d bloggers like this: