Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Issue installing GEM #14

Open
pbraswell opened this issue Apr 24, 2012 · 1 comment
Open

Issue installing GEM #14

pbraswell opened this issue Apr 24, 2012 · 1 comment

Comments

@pbraswell
Copy link

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

make
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
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants