Forum: Ruby Trying to install curb on OS X Leopard Intel

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Francis H. (Guest)
on 2009-02-02 03:45
(Received via mailing list)
Anybody ever see this problem? I've tried this using taf2's fork of
curb (http://github.com/taf2/curb/tree/master) but am having similar
problems with the gem from RubyForge. Any guesses at all would be
appreciated ...

Francis

====
[curb (master)]$ sudo rake install EXTCONF_OPTS='--with-curl-dir=/usr/
local/lib --prefix=/usr/local'
(in /Users/francis/Tech/ruby/vendor/curb)
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/
gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will
be removed on or after March 2009.
/usr/local/bin/ruby extconf.rb --with-curl-dir=/usr/local/lib --
prefix=/usr/local
checking for curl-config... yes
checking for curlinfo_redirect_time... yes
checking for curlinfo_response_code... yes
checking for curlinfo_filetime... yes
checking for curlinfo_redirect_count... yes
checking for curlinfo_os_errno... yes
checking for curlinfo_num_connects... yes
checking for curlinfo_ftp_entry_path... yes
checking for curl_version_ssl... yes
checking for curl_version_libz... yes
checking for curl_version_ntlm... yes
checking for curl_version_gssnegotiate... yes
checking for curl_version_debug... yes
checking for curl_version_asynchdns... yes
checking for curl_version_spnego... yes
checking for curl_version_largefile... yes
checking for curl_version_idn... yes
checking for curl_version_sspi... yes
checking for curl_version_conv... yes
checking for curlproxy_http... yes
checking for curlproxy_socks4... yes
checking for curlproxy_socks5... yes
checking for curlauth_basic... yes
checking for curlauth_digest... yes
checking for curlauth_gssnegotiate... yes
checking for curlauth_ntlm... yes
checking for curlauth_anysafe... yes
checking for curlauth_any... yes
checking for curle_tftp_notfound... yes
checking for curle_tftp_perm... yes
checking for curle_tftp_diskfull... yes
checking for curle_tftp_illegal... yes
checking for curle_tftp_unknownid... yes
checking for curle_tftp_exists... yes
checking for curle_tftp_nosuchuser... yes
creating curb_config.h
creating Makefile
gcc -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.10.0 -I/usr/local/
lib/ruby/1.8/powerpc-darwin8.10.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h
\" -I/usr/local/lib/include  -fno-common -g -O2 -pipe -fno-common -I/
usr/local/include -Wall  -c curb.c
gcc -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.10.0 -I/usr/local/
lib/ruby/1.8/powerpc-darwin8.10.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h
\" -I/usr/local/lib/include  -fno-common -g -O2 -pipe -fno-common -I/
usr/local/include -Wall  -c curb_easy.c
gcc -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.10.0 -I/usr/local/
lib/ruby/1.8/powerpc-darwin8.10.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h
\" -I/usr/local/lib/include  -fno-common -g -O2 -pipe -fno-common -I/
usr/local/include -Wall  -c curb_errors.c
gcc -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.10.0 -I/usr/local/
lib/ruby/1.8/powerpc-darwin8.10.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h
\" -I/usr/local/lib/include  -fno-common -g -O2 -pipe -fno-common -I/
usr/local/include -Wall  -c curb_multi.c
gcc -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.10.0 -I/usr/local/
lib/ruby/1.8/powerpc-darwin8.10.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h
\" -I/usr/local/lib/include  -fno-common -g -O2 -pipe -fno-common -I/
usr/local/include -Wall  -c curb_postfield.c
cc -dynamic -bundle -undefined suppress -flat_namespace  -L"/usr/local/
lib" -L"/usr/local/lib/lib" -o curb_core.bundle curb.o curb_easy.o
curb_errors.o curb_multi.o curb_postfield.o  -lpthread -ldl -lobjc   -
L/usr/local/lib -lcurl -lssl -lcrypto -lldap -lz
/Users/francis/Tech/ruby/vendor/curb/ext/curb_core.bundle: Failed to
load /Users/francis/Tech/ruby/vendor/curb/ext/curb_core.bundle
(LoadError)
  from /Users/francis/Tech/ruby/vendor/curb/ext/curb.rb:5
  from ./tests/helper.rb:12:in `require'
  from ./tests/helper.rb:12
  from ./tests/tc_curl_download.rb:1:in `require'
  from ./tests/tc_curl_download.rb:1
  from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/
rake_test_loader.rb:5:in `load'
  from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/
rake_test_loader.rb:5
  from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/
rake_test_loader.rb:5:in `each'
  from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/
rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -Ilib "/usr/local/
lib/...]

(See full trace by running task with --trace)
This topic is locked and can not be replied to.