Hi,
I was trying to install CURB, but I get this error (SSH):
Does anybody know how to fix this?
My server:
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 x86_64
Thanks in advance
I was trying to install CURB, but I get this error (SSH):
Code:
[~]# gem install curb
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.
/usr/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=/usr/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 /usr/lib/ruby/gems/1.8/gems/curb-0.5.1.0 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/curb-0.5.1.0/ext/gem_make.out
My server:
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 x86_64
Thanks in advance