Posted at

redisでmake testができない

More than 3 years have passed since last update.

redisでmake後、make testで下記のエラーが出た場合の対処です。

$ make test

You need tcl 8.5 or newer in order to run the Redis test
make: *** [test] エラー 1

メッセージ通りにtclをインストールします。

インストール前に、本当にtclがないか確認(ある場合は、8.5以上にアップデートしてください)

$ rpm -qa | grep tcl

$
やっぱりない。
# yum install tcl

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================
Package Arch Version Repository Size
=======================================================================================================
Installing:
tcl x86_64 1:8.5.7-6.el6 intra-repo 1.9 M

Transaction Summary
=======================================================================================================
Install 1 Package(s)

インストール完了。

再度make testを実施。

$ make test

Cleanup: may take some time... OK
Starting test server at port 11111

Testing unit/printver


\o/ All test passed without errors!

Cleanup: may take some time... OK