Hi,
it's my first try and that's what I did :
git clone git://
github.com/taf2/curb.git
cd curb
rake gem
cd pkg/
gem install curb-0.2.7.2.gem
...
"and here I got the following errors" :
...
...
checking for curle_tftp_exists... yes
checking for curle_tftp_nosuchuser... yes
creating curb_config.h
creating Makefile
make
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-
linux -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -g -O2 -Wall -c
curb_errors.c
curb_errors.c: In function `raise_curl_multi_error_exception':
curb_errors.c:389: error: `CURLM_BAD_SOCKET' undeclared (first use in
this function)
curb_errors.c:389: error: (Each undeclared identifier is reported only
once
curb_errors.c:389: error: for each function it appears in.)
curb_errors.c:392: error: `CURLM_UNKNOWN_OPTION' undeclared (first use
in this function)
make: *** [curb_errors.o] Error 1
Gem files will remain installed in /home/useraxis/.gems/gems/
curb-0.2.7.2 for inspection.
Results logged to /home/useraxis/.gems/gems/curb-0.2.7.2/ext/
gem_make.out
Here are some system configs :
[~/]# uname -a
Linux
host42.hostmonster.com 2.6.27-6_1.intel.BHsmp #1 SMP Thu Nov 13
15:27:29 MST 2008 x86_64 x86_64 x86_64 GNU/Linux
[~/]# ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
user...@useraxis.org [~/.gems/gems/curb/pkg]#
[~/]# which curl
/usr/bin/curl
Any help will be greatly apreciated
Luca