Curb Install Problems

R

Red Davis

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
 
R

Red Davis

Tom said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top