Skip to content

Instantly share code, notes, and snippets.

@suruja
Created April 13, 2012 15:28
Show Gist options
  • Save suruja/2377698 to your computer and use it in GitHub Desktop.
Save suruja/2377698 to your computer and use it in GitHub Desktop.
rss-crons [master●] % gem install curb
Fetching: curb-0.8.0.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.
/home/sebastien/.rbenv/versions/1.9.3-p0/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/sebastien/.rbenv/versions/1.9.3-p0/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 `<main>': 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment