hbase-stargate icon indicating copy to clipboard operation
hbase-stargate copied to clipboard

Issue installing GEM

Open pbraswell opened this issue 12 years ago • 1 comments

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

pbraswell avatar Apr 24 '12 16:04 pbraswell

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.

shun0102 avatar May 07 '12 12:05 shun0102