You need tcl 8.5 or newer in order to run the Redis test

时间:2025-04-21 11:25:28

[root@~ src]# make test
You need tcl 8.5 or newer in order to run the Redis test
make: * [test] 错误 1

解决办法安装tcl

wget /tcl/tcl8.6.

cd tcl8.6.0/

cd 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 

make install &&
make install-private-headers &&
ln -v -sf tclsh8.6 /usr/bin/tclsh &&
chmod -v 755 /usr/lib/libtcl8.