Error and workaround for installing Redis in centos6.6 x86_64:
1, make the time to note:
If make is prompted with the following error:
Cc:error:.. /deps/hiredis/libhiredis.a:no such file or directory
Cc:error:.. /deps/lua/src/liblua.a:no such file or directory
Cc:error:.. /deps/jemalloc/lib/libjemalloc.a:no such file or directory
Make: * * * [redis-server] Error 1
Then go to the Deps under Redis to run the following command, OK.
Make Lua Hiredis linenoise
2. Make Test Note:
[[email protected] redis-3.0.2]# make test
CD src && make test
MAKE[1]: Entering directory '/ROOT/REDIS-3.0.2/SRC '
You need TCL 8.5 or newer in order to run the Redis test
MAKE[1]: * * * [Test] Error 1
MAKE[1]: Leaving directory '/ROOT/REDIS-3.0.2/SRC '
Make: * * * [Test] Error 2
Then yum can install TCL.
3. Make Prefix=/usr/local/redis Install
This article is from the "Autumn Fairy tale" blog, please be sure to keep this source http://wushank.blog.51cto.com/3489095/1672697
Redis Installation Error