antirez/redis — Issue #376: make test fails: tcl can't find tcl
Author: evilrob666
Created: 2012-03-09 10:59:09+00:00
State: open

I'm building redis on a machine I don't have root on. It didn't have tclsh8.5. I built tclsh8.5 into ~/local. tclsh8.5 is available and in the PATH. However 'make test' fails, as the tcl script can't execute tclsh...

#[Fri Mar 09 10:52:05] ~/src/redis$ make test
cd src && make test
make[1]: Entering directory `/home/robk/src/redis/src'
/home/robk/local/bin/tclsh8.5
Cleanup: may take some time... OK
Starting test server at port 11111
couldn't execute "tclsh8.5": no such file or directory
while executing
"exec tclsh8.5 [info script] {*}$::argv --client $port --port $start_port &"
(procedure "test_server_main" line 16)
invoked from within
"test_server_main "
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/robk/src/redis/src'
make: *** [test] Error 2
#[Fri Mar 09 10:52:10] ~/src/redis$ type tclsh8.5
tclsh8.5 is hashed (/home/robk/local/bin/tclsh8.5)
#[Fri Mar 09 10:52:15] ~/src/redis$

I'm going to proceed to use it untested for now, but it'd be really good to have the confidence of running the test suite against the build I've produced...