Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to successfully install redis-server on Ubuntu 11.04 .. I'm getting some Error! I wanted to install the current stable redis on Ubuntu 11.04

I see that in apt-repository the latest they have is

Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Chris Lamb <lamby@debian.org> Architecture: i386   
Source: redis Version: 2:2.0.1-2 Depends: libc6 (>= 2.7), adduser
Filename: pool/universe/r/redis/redis-server_2.0.1-2_i386.deb

uname -a

 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386      GNU/Linux

Install Procedure

$ wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz
$ tar xzf redis-2.2.12.tar.gz
$ cd redis-2.2.12
$ make

Error

cd src && make test
make[1]: Entering directory `/home/<username>/redis-2.2.12/src'
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
/bin/sh: tclsh8.5: not found
make[1]: *** [test] Error 127
make[1]: Leaving directory `/home/<usernam>/redis-2.2.12/src'
make: *** [test] Error 2
share|improve this question
    
is there a ".configure" file? usually you have to run it i.e. "./configure" - as to the error - have you installed build-essential. have you got "tcl" installed? –  fossfreedom Aug 27 '11 at 15:08
    
There is no ".configure" file, but I just now checked that it didn't had tcl 8.5., which I have Installed now... Also Build-essential is already installed. Now testing .. make test && make install –  user7044 Aug 27 '11 at 15:20
    
I beat you by 2 minutes ;) If it is working please either upvote/accept my answer or add in your own answer and upvote/accept it. –  Rinzwind Aug 27 '11 at 15:23

2 Answers 2

up vote 14 down vote accepted

It is a common error that shows up when you did not install tcl8.5 (source).

You need to install it tcl8.5 Install tcl8.5

share|improve this answer
    
Installation went successfully. Here are the results. ...........................PIPELINING stresser (also a regression for the old ep......................... 831 tests, 831 passed, 0 failed –  user7044 Aug 27 '11 at 16:18
    
Excellent! tar install always is a little more tricky than deb installs :) –  Rinzwind Aug 27 '11 at 16:19
    
that's true indeed, sometimes we need to keep watch of the dependencies. –  user7044 Aug 27 '11 at 16:24
  1. You have to install tcl

    $ sudo apt-get install tcl8.5
    
  2. After the installation make test

    $ make test
    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.