Come installare con successo redis-server, errore "tclsh8.5 non trovato"


41

Come installare con successo redis-server su Ubuntu 11.04 .. Ricevo un errore! Volevo installare l'attuale redis stabile su Ubuntu 11.04

Vedo che nel repository apt l'ultimo che hanno è

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

Procedura di installazione

$ 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

Errore

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

c'è un file ".configure"? di solito devi eseguirlo, ad esempio "./configure" - per quanto riguarda l'errore - hai installato build-essential. hai installato "tcl"?
Fossfreedom

Non esiste un file ".configure", ma ho appena verificato che non avesse tcl 8.5., Che ho installato ora ... Anche Build-essential è già installato. Ora test .. make test && make install
user7044

Ti ho battuto per 2 minuti;) Se funziona, per favore vota / accetta la mia risposta o aggiungi la tua risposta e vota / accettala.
Rinzwind,

Risposte:


61

È un errore comune che compare quando non hai installato tcl8.5 ( sorgente ).

Devi installare tcl8.5

sudo apt-get install -y tcl

L'installazione è andata a buon fine. Ecco i risultati ........................... stressante PIPELINING (anche una regressione per il vecchio ep ............. ............ 831 test, 831 passati, 0 falliti
user7044

Eccellente! tar install è sempre un po 'più complicato di deb install :)
Rinzwind,

è vero, a volte dobbiamo tenere d'occhio le dipendenze.
user7044

21
  1. Devi installare tcl

    $ sudo apt-get install tcl8.5
    
  2. Dopo l'installazione effettuare il test

    $ make test
    
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.