Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Issue installing GEM #14

pbraswell opened this Issue Apr 24, 2012 · 1 comment


None yet
2 participants

Trying to 'gem install hbase-stargate'
Ruby -v = 1.9.2

I get the following:

[root@vm-swtg-um-002 ~]# gem install hbase-stargate
Building native extensions. This could take a while...
ERROR: Error installing hbase-stargate:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
checking for curl-config... yes
checking for rb_thread_blocking_region()... yes
creating Makefile

gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DUSE_TBR -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 -pedantic -Wall -o membuffer.o -c membuffer.c
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DUSE_TBR -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 -pedantic -Wall -o session_ext.o -c session_ext.c
session_ext.c: In function ‘Init_session_ext’:
session_ext.c:727: error: ‘CURLPROXY_HTTP_1_0’ undeclared (first use in this function)
session_ext.c:727: error: (Each undeclared identifier is reported only once
session_ext.c:727: error: for each function it appears in.)
session_ext.c:730: error: ‘CURLPROXY_SOCKS4A’ undeclared (first use in this function)
session_ext.c:731: error: ‘CURLPROXY_SOCKS5_HOSTNAME’ undeclared (first use in this function)
make: *** [session_ext.o] Error 1

shun0102 commented May 7, 2012

Which version of curl you're using?
According to http://curl.haxx.se/libcurl/c/symbols-in-versions.html , CURLPROXY_HTTP_1_0 is introduced in curl version 7.19.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment