{"issue":{"created_at":"2011-11-30T19:23:49Z","state":"closed","updated_at":"2011-12-01T18:31:12Z","comments":3,"user":{"gravatar_id":"0978bb345f0477766a3542495102349e","id":24866,"url":"https://api.github.com/users/alexfarrill","avatar_url":"https://secure.gravatar.com/avatar/0978bb345f0477766a3542495102349e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"alexfarrill"},"body":"Hi, I am having some trouble installing the gem and was wondering if you have any insight into the following.  I've googled for the issue unsuccessfully, any help would be appreciated.\r\n\r\n$ sudo gem install hiredis\r\nPassword:\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing hiredis:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb\r\ncc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  net.c\r\ncc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  hiredis.c\r\ncc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  sds.c\r\ncc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  async.c\r\nlibtool -static -o libhiredis.a - net.o hiredis.o sds.o async.o\r\nlibtool: unrecognized option `-static'\r\nlibtool: Try `libtool --help' for more information.\r\nmake: *** [libhiredis.a] Error 1\r\ncreating Makefile\r\n\r\nmake\r\ngcc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE  -fno-common  -pipe -fno-common  -I/Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis  -c connection.c\r\ngcc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE  -fno-common  -pipe -fno-common  -I/Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis  -c hiredis_ext.c\r\ngcc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE  -fno-common  -pipe -fno-common  -I/Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis  -c reader.c\r\ncc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup -o hiredis_ext.bundle connection.o hiredis_ext.o reader.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64  /Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis/libhiredis.a    -lruby  -lpthread -ldl  \r\ni686-apple-darwin10-llvm-gcc-4.2: /Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis/libhiredis.a: No such file or directory\r\ni686-apple-darwin10-llvm-gcc-4.2: /Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/vendor/hiredis/libhiredis.a: No such file or directory\r\nlipo: can't figure out the architecture type of: /var/tmp//ccvQ1LBK.out\r\nmake: *** [hiredis_ext.bundle] Error 1\r\n\r\n\r\nGem files will remain installed in /Library/Ruby/Gems/1.8/gems/hiredis-0.4.1 for inspection.\r\nResults logged to /Library/Ruby/Gems/1.8/gems/hiredis-0.4.1/ext/hiredis_ext/gem_make.out\r\n\r\n$ ruby --version\r\nruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]\r\n$ gem --version\r\n1.3.7","assignee":null,"id":2405987,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":3,"title":"Failed gem build on OS X 10.6.8","html_url":"https://github.com/pietern/hiredis-rb/issues/3","closed_at":"2011-12-01T18:31:12Z","url":"https://api.github.com/repos/pietern/hiredis-rb/issues/3","milestone":null},"action":"closed"}