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
[ready]: 18792
Testing unit/printver
[ready]: 18790
:
\o/ All test passed without errors!
Cleanup: may take some time... OK