We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting this error. Can you help?
Thanks
Installing recommendify (0.3.6) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/xxx/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb make mkdir -p ../bin gcc -Wall recommendify.c -lhiredis -o ../bin/recommendify recommendify.c:4:29: error: hiredis/hiredis.h: No such file or directory recommendify.c: In function ‘main’: recommendify.c:20: error: ‘redisContext’ undeclared (first use in this function) recommendify.c:20: error: (Each undeclared identifier is reported only once recommendify.c:20: error: for each function it appears in.) recommendify.c:20: error: ‘c’ undeclared (first use in this function) recommendify.c:21: error: ‘redisReply’ undeclared (first use in this function) recommendify.c:21: error: ‘all_items’ undeclared (first use in this function) recommendify.c:22: error: ‘reply’ undeclared (first use in this function) recommendify.c:83: warning: implicit declaration of function ‘redisConnectWithTimeout’ recommendify.c:92: warning: implicit declaration of function ‘redisCommand’ recommendify.c:100: warning: implicit declaration of function ‘freeReplyObject’ recommendify.c:111: error: ‘REDIS_REPLY_ARRAY’ undeclared (first use in this function) recommendify.c:161: warning: implicit declaration of function ‘redisAppendCommand’ recommendify.c:162: warning: implicit declaration of function ‘redisGetReply’ make: *** [build] Error 1
The text was updated successfully, but these errors were encountered:
Hey Aleksandr,
the problem is the missing hiredis dependency. On OSX run:
brew install hiredis
and on Ubuntu:
apt-get install libhiredis-dev
on other platforms:
git clone https://github.com/antirez/hiredis.git && cd hiredis && make && sudo make install && sudo ldconfig
best regards :)
Sorry, something went wrong.
Thanks a lot. Worked like a charm.
Can you add it to the README please so people don't get stuck like me? :)
👍 update README
Update README with requirements.
5b97e71
[Fixes asmuth#8]
Successfully merging a pull request may close this issue.
I'm getting this error. Can you help?
Thanks
The text was updated successfully, but these errors were encountered: