[root@ok redis-2.6.17]# make test cd src && make test make[1]: Entering directory `/usr/local/src/redis-2.6.17/src' You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory `/usr/local/src/redis-2.6.17/src' make: *** [test] Error 2
解決方法:redis
wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz # pwd /usr/local/src/tcl8.6.1 # cd unix/ [root@xx unix]# ./configure --prefix=/usr --mandir=/usr/share/man --without-tzdata $([ $(uname -m) = x86_64 ] && echo --enable-64bit) && make && \ > sed -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \ > -e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \ > -i tclConfig.sh # make install && make install-private-headers && ln -v -sf tclsh8.6 /usr/bin/tclsh && chmod -v 755 /usr/lib/libtcl8.6.so
問題解決!spa