Skip to content

Instantly share code, notes, and snippets.

@kitop
Created January 31, 2011 17:51
Show Gist options
  • Save kitop/804465 to your computer and use it in GitHub Desktop.
Save kitop/804465 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing patron:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.2-p136/bin/ruby extconf.rb
checking for curl-config... yes
checking for rb_thread_blocking_region()... yes
creating Makefile
make
gcc -I. -I/usr/local/rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/x86_64-linux -I/usr/local/rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/rubies/ruby-1.9.2-p136/include/ruby-1.9.1 -I. -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wall -o session_ext.o -c session_ext.c
session_ext.c: In function ‘libcurl_version’:
session_ext.c:106: warning: unused parameter ‘klass’
session_ext.c: In function ‘set_options_from_request’:
session_ext.c:234: warning: passing argument 2 of ‘open_file’ discards qualifiers from pointer target type
session_ext.c:267: warning: passing argument 2 of ‘open_file’ discards qualifiers from pointer target type
session_ext.c: In function ‘set_debug_file’:
session_ext.c:484: warning: passing argument 2 of ‘open_file’ discards qualifiers from pointer target type
session_ext.c: In function ‘Init_session_ext’:
session_ext.c:531: error: ‘CURLPROXY_HTTP_1_0’ undeclared (first use in this function)
session_ext.c:531: error: (Each undeclared identifier is reported only once
session_ext.c:531: error: for each function it appears in.)
make: *** [session_ext.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment