Curb Install Problems


#1

Hey

I’m trying to install Curb on

os - CentOS
ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

I receive this error

Building native extensions. This could take a while…
ERROR: Error installing curb:
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install curb
checking for main() in -lcurl… yes
checking for curl/curl.h… yes
creating Makefile

make
Makefile:123: warning: overriding commands for target
/usr/lib/ruby/gems/1.8/gems/curb-0.1.4/lib' Makefile:121: warning: ignoring old commands for target/usr/lib/ruby/gems/1.8/gems/curb-0.1.4/lib’
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE_CURL_CURL_H -fPIC
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE_CURL_CURL_H -fPIC
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb_postfield.c
gcc -I. -I. -I/usr/lib/ruby/1.8/i386-linux -I. -DHAVE_CURL_CURL_H -fPIC
-O2 -g -march=i386 -mcpu=i686 -Wall -fPIC -Wall -c curb_errors.c
curb_errors.c: In function raise_curl_easy_error_exception': curb_errors.c:302: error:CURLE_SEND_FAIL_REWIND’ undeclared (first use
in this function)
curb_errors.c:302: error: (Each undeclared identifier is reported only
once
curb_errors.c:302: error: for each function it appears in.)
curb_errors.c:305: error: CURLE_SSL_ENGINE_INITFAILED' undeclared (first use in this function) curb_errors.c:308: error:CURLE_LOGIN_DENIED’ undeclared (first use in
this function)
make: *** [curb_errors.o] Error 1

Any help would be great

Cheers, Red


#2

On 2008-12-03, Red D. removed_email_address@domain.invalid wrote:

Hey

I’m trying to install Curb on

os - CentOS
ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

I had similar problems installing Curb on Ubuntu. I fumbled around and
installed a few different Curl packages:

libcurl3 - 7.18.2-1ubuntu4
libcurl3-gnutls - 7.18.2-1ubuntu4
libcurl4-openssl-dev - 7.18.2-1ubuntu4

After installing all three, the Gem install worked perfectly.


#3

Tom M. wrote:

On 2008-12-03, Red D. removed_email_address@domain.invalid wrote:

Hey

I’m trying to install Curb on

os - CentOS
ruby - ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]

I had similar problems installing Curb on Ubuntu. I fumbled around and
installed a few different Curl packages:

libcurl3 - 7.18.2-1ubuntu4
libcurl3-gnutls - 7.18.2-1ubuntu4
libcurl4-openssl-dev - 7.18.2-1ubuntu4

After installing all three, the Gem install worked perfectly.

Thanks for the reply, I’m trying it out now, will let you know how it
goes

Cheers, Red