google-code-export / redis

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

Installation error on godaddy dedicated linux server #588

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Redis you are using, in what kind of Operating System?
2.2.10 - Linux dedicated server with godaddy

What is the problem you are experiencing?
While installing, get error.

What steps will reproduce the problem?
make the installer.

Do you have an INFO output? Please past it here.
make test:
[root@ redis-2.2.10]# make test
cd src && make test
make[1]: Entering directory `/root/redis-2.2.10/src'
(cd ..; tclsh8.5 tests/test_helper.tcl --tags "" --file "")
/bin/sh: tclsh8.5: command not found
make[1]: *** [test] Error 127
make[1]: Leaving directory `/root/redis-2.2.10/src'
make: *** [test] Error 2
[root@ redis-2.2.10]# 

Please provide any additional information below.
I´m not an expert in linux so this might be easy for somone knowing about 
installing on linux, I hope :)

Original issue reported on code.google.com by berent...@gmail.com on 18 Jun 2011 at 12:28

GoogleCodeExporter commented 9 years ago
To build Redis you only need to type "make", not "make test". The latter is 
failing because your OS doesn't have tclsh installed. This is not a problem for 
running Redis itself, only for running the test suite. After running "make" 
you'll find the binaries in the src/ subdirectory, or you can install them to 
/usr/local by running "make install". 

Cheers,
Pieter

Original comment by pcnoordh...@gmail.com on 18 Jun 2011 at 1:34

GoogleCodeExporter commented 9 years ago
Thank you for your comment Pieter, I really appreachiate it.

I still get some errors while using make or make install, do you have any idea 
how I get further with this installation? See errors below.

When I try make command I get this error:
----------------------------------------
# make
cd src && make all
make[1]: Entering directory `/root/redis-2.2.10/src'
cd ../deps/hiredis && make static ARCH=""
make[2]: Entering directory `/root/redis-2.2.10/deps/hiredis'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/root/redis-2.2.10/deps/hiredis'
cd ../deps/linenoise && make ARCH=""
make[2]: Entering directory `/root/redis-2.2.10/deps/linenoise'
make[2]: `linenoise_example' is up to date.
make[2]: Leaving directory `/root/redis-2.2.10/deps/linenoise'
cd ../deps/hiredis && make static
make[2]: Entering directory `/root/redis-2.2.10/deps/hiredis'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/root/redis-2.2.10/deps/hiredis'
cc -o redis-benchmark -std=c99 -pedantic -O2 -Wall -W   -lm -pthread   -g 
-rdynamic -ggdb  ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o 
../deps/hiredis/libhiredis.a
cc -o redis-cli -std=c99 -pedantic -O2 -Wall -W   -lm -pthread   -g -rdynamic 
-ggdb  anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o 
../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o

Hint: To run 'make test' is a good idea ;)

make[1]: Leaving directory `/root/redis-2.2.10/src'

When I do make install, I get this one:
----------------------------------------
# make install
cd src && make install
make[1]: Entering directory `/root/redis-2.2.10/src'
cd ../deps/hiredis && make static ARCH=""
make[2]: Entering directory `/root/redis-2.2.10/deps/hiredis'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/root/redis-2.2.10/deps/hiredis'
cd ../deps/linenoise && make ARCH=""
make[2]: Entering directory `/root/redis-2.2.10/deps/linenoise'
make[2]: `linenoise_example' is up to date.
make[2]: Leaving directory `/root/redis-2.2.10/deps/linenoise'
cd ../deps/hiredis && make static
make[2]: Entering directory `/root/redis-2.2.10/deps/hiredis'
make[2]: Nothing to be done for `static'.
make[2]: Leaving directory `/root/redis-2.2.10/deps/hiredis'
cc -o redis-benchmark -std=c99 -pedantic -O2 -Wall -W   -lm -pthread   -g 
-rdynamic -ggdb  ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o 
../deps/hiredis/libhiredis.a
cc -o redis-cli -std=c99 -pedantic -O2 -Wall -W   -lm -pthread   -g -rdynamic 
-ggdb  anet.o sds.o adlist.o redis-cli.o zmalloc.o release.o 
../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o

Hint: To run 'make test' is a good idea ;)

mkdir -p /usr/local/bin
cp -p redis-server /usr/local/bin
cp -p redis-benchmark /usr/local/bin
cp -p redis-cli /usr/local/bin
cp -p redis-check-dump /usr/local/bin
cp -p redis-check-aof /usr/local/bin
make[1]: Leaving directory `/root/redis-2.2.10/src'

Original comment by berent...@gmail.com on 19 Jun 2011 at 1:54

GoogleCodeExporter commented 9 years ago
I don't see any errors here, and think you're good to go.

Cheers,
Pieter

Original comment by pcnoordh...@gmail.com on 19 Jun 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Thanks so much Pieter for assisting, I feel abit green here :)

So the binaries, witch files is that and where do I put them so I can run redis 
commands?

Ken

Original comment by berent...@gmail.com on 20 Jun 2011 at 3:25

GoogleCodeExporter commented 9 years ago
No problem. I do want to give you the heads-up here (no offence): if you have 
trouble running Redis in the first place, tracking down errors when they happen 
will be a problem. If you're planning on running something business-critical 
with Redis you might want to consider hiring someone who knows his/her way 
around Unix.

There are:
1) redis-server: The Redis server: run "redis-server" to start it.
2) redis-cli: The Redis command line tool: run "redis-cli" to start it.

The default settings are good enough to get started.

Cheers,
Pieter

Original comment by pcnoordh...@gmail.com on 20 Jun 2011 at 5:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks a lot Pieter :)

Original comment by berent...@gmail.com on 21 Jun 2011 at 8:58