{"action":"created","issue":{"url":"https://api.github.com/repos/redis/hiredis/issues/387","repository_url":"https://api.github.com/repos/redis/hiredis","labels_url":"https://api.github.com/repos/redis/hiredis/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/redis/hiredis/issues/387/comments","events_url":"https://api.github.com/repos/redis/hiredis/issues/387/events","html_url":"https://github.com/redis/hiredis/issues/387","id":125183603,"number":387,"title":"Error installing redis-server gem","user":{"login":"bfell","id":5280738,"avatar_url":"https://avatars2.githubusercontent.com/u/5280738?v=3","gravatar_id":"","url":"https://api.github.com/users/bfell","html_url":"https://github.com/bfell","followers_url":"https://api.github.com/users/bfell/followers","following_url":"https://api.github.com/users/bfell/following{/other_user}","gists_url":"https://api.github.com/users/bfell/gists{/gist_id}","starred_url":"https://api.github.com/users/bfell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfell/subscriptions","organizations_url":"https://api.github.com/users/bfell/orgs","repos_url":"https://api.github.com/users/bfell/repos","events_url":"https://api.github.com/users/bfell/events{/privacy}","received_events_url":"https://api.github.com/users/bfell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-06T14:15:19Z","updated_at":"2017-03-27T03:51:19Z","closed_at":"2016-01-06T18:15:24Z","body":"Been on this for a full day now and always getting the same error when installing redis-server gem\n\n```\nBenjamins-MacBook-Pro:morning-shelf-6185 Benjamin$ gem install redis-server -v '0.0.5'\n```\n\nAnd i get this error:\n\n```\nBuilding native extensions.  This could take a while...\nERROR:  Error installing redis-server:\n    ERROR: Failed to build gem native extension.\n\n    current directory: /Users/Benjamin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/redis-server-0.0.5/redis\n/Users/Benjamin/.rbenv/versions/2.3.0/bin/ruby -r ./siteconf20160106-54253-d4cdrw.rb extconf.rb\n\ncurrent directory: /Users/Benjamin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/redis-server-0.0.5/redis\nmake \"DESTDIR=\" clean\nmake: *** No rule to make target `clean'.  Stop.\n\ncurrent directory: /Users/Benjamin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/redis-server-0.0.5/redis\nmake \"DESTDIR=\"\ncd redis-2.2.14 && /Library/Developer/CommandLineTools/usr/bin/make all\ncd src && /Library/Developer/CommandLineTools/usr/bin/make all\nMAKE hiredis\ncd ../deps/hiredis && /Library/Developer/CommandLineTools/usr/bin/make static ARCH=\"\"\n/usr/bin/gcc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  net.c\n/usr/bin/gcc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings   -arch i386 -arch x86_64 -g -ggdb  hiredis.c\nhiredis.c:696:31: error: second argument to 'va_arg' is of incomplete type 'void'\n                    va_arg(ap,void);\n                              ^~~~\n/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdarg.h:35:50: note: expanded from macro 'va_arg'\n#define va_arg(ap, type)    __builtin_va_arg(ap, type)\n                                                 ^\n1 error generated.\nmake[3]: *** [hiredis.o] Error 1\nmake[2]: *** [dependencies] Error 2\nmake[1]: *** [all] Error 2\nmake: *** [all] Error 2\n\nmake failed, exit code 2\n\nGem files will remain installed in /Users/Benjamin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/redis-server-0.0.5 for inspection.\nResults logged to /Users/Benjamin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-14/2.3.0-static/redis-server-0.0.5/gem_make.out\n```\n\nI tried solutions at https://github.com/redis/hiredis/issues/74 and every other solution i could find but could not make it work.\nAny ideas??\n"},"comment":{"url":"https://api.github.com/repos/redis/hiredis/issues/comments/289347908","html_url":"https://github.com/redis/hiredis/issues/387#issuecomment-289347908","issue_url":"https://api.github.com/repos/redis/hiredis/issues/387","id":289347908,"user":{"login":"Mayanksoni20","id":7255078,"avatar_url":"https://avatars0.githubusercontent.com/u/7255078?v=3","gravatar_id":"","url":"https://api.github.com/users/Mayanksoni20","html_url":"https://github.com/Mayanksoni20","followers_url":"https://api.github.com/users/Mayanksoni20/followers","following_url":"https://api.github.com/users/Mayanksoni20/following{/other_user}","gists_url":"https://api.github.com/users/Mayanksoni20/gists{/gist_id}","starred_url":"https://api.github.com/users/Mayanksoni20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mayanksoni20/subscriptions","organizations_url":"https://api.github.com/users/Mayanksoni20/orgs","repos_url":"https://api.github.com/users/Mayanksoni20/repos","events_url":"https://api.github.com/users/Mayanksoni20/events{/privacy}","received_events_url":"https://api.github.com/users/Mayanksoni20/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T03:51:19Z","updated_at":"2017-03-27T03:51:19Z","body":"Also , make sure the repo you are cloning contains a make file , myne didnt and i was stuck too."}}
{"actor":{"display_login":"Mayanksoni20"}}