hiddenid01 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Tclsh8.5 required for make test but doesn't always exist #474

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling redis-2.2.1 on CentOS 5.5 produces the following error when using 
make test:

[root src]# make test
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
/bin/sh: tclsh8.5: command not found
make: *** [test] Error 127

This is due to tcl8.5 being required, but none of the repos in CentOS 
(including the Testing and expiremental EPEL repos) include tcl8.5, as they all 
use tcl8.4.

Is it possible to not make tcl8.5 a requirement for testing? Obviously 8.5 can 
be manually compiled (which I had to do in the end) but it'd be nice if a 
requirement wasn't something that RHEL doesn't ship by default.

Original issue reported on code.google.com by mattwar...@gmail.com on 1 Mar 2011 at 6:38

GoogleCodeExporter commented 9 years ago
Unfortunately, this is not possible. The Redis test suite uses functionality 
that is only available in tcl 8.5 (such as the argument splatter, dict, etc.).

Original comment by pcnoordh...@gmail.com on 6 Mar 2011 at 3:50

GoogleCodeExporter commented 9 years ago
I have the same problem with Error 127. Where can I find tcl8.5?
I found a suggestion:

sudo apt-get install tcl8.5

but when I executed that, I got this error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package tcl8.5

Any idea?
Thanks,
Peter

Original comment by b8...@unb.ca on 7 Mar 2011 at 6:06

GoogleCodeExporter commented 9 years ago
Whether this package is available is related to what distribution you're 
running.  (You are expected to know how to use your distribution!)

For Debian you can check here:

   http://packages.debian.org/tcl8.5

For Ubuntu here:

   http://packages.ubuntu.com/search?keywords=tcl8.5

Original comment by malforme...@googlemail.com on 7 Mar 2011 at 7:44

GoogleCodeExporter commented 9 years ago
And for Mac OSX?

Original comment by lucasca...@gmail.com on 1 May 2011 at 4:24