PHWinfo banniere

ACCUEIL ANNUAIRE ARTICLES COMPARATIF HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Go Back   PHWinfo > Forum Programmation > Scripting > comp.lang.ruby > Curb Install Problems
FAQ Members List Search Today's Posts Mark Forums Read
Curb Install Problems

Reply
 
Thread Tools
Old 12/03/08, 17:34   #1
Red Davis
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Curb Install Problems

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 would be great

Cheers, Red
--
Posted via http://www.ruby-forum.com/.

  Reply With Quote
Old 12/03/08, 20:50   #2
Tom Morris
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Re: Curb Install Problems

On 2008-12-03, Red Davis <red@dothegreenthing.com> 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.

--
Tom Morris
<http://tommorris.org>
  Reply With Quote
Old 12/04/08, 10:38   #3
Red Davis
Aucun Avatar
 
Posts: n/a
Hébergeur:
Default Re: Curb Install Problems

Tom Morris wrote:
> On 2008-12-03, Red Davis <red@dothegreenthing.com> 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
--
Posted via http://www.ruby-forum.com/.

  Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 21:50.


Powered by vBulletin® ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
PHWinfo is a website Education Without Frontiers
Ad Management by RedTyger
All rights reserved
Page generated in 0.14340 seconds with 8 queries