redis 6インストールエラーYou need tcl 8.5 or newer in order

488 ワード

に質問
linuxインストールredis 6.xの場合、make test後にエラーがあります.
You need tcl 8.5 or newer in order to run the Redis test

解決策
1.新しいtclを直接インストールします.コマンドは以下の通りです.
yum install -y tcl-devel

2.クリア前のmakeのキャッシュコマンド:
make distclean

3.再makeコンパイルコマンド:
make

4.終了後、コマンドを再テストします.
make test

の最後の部分
その他のインストールコマンドは、redis解凍後のディレクトリの下README.MDを表示できます.