Redis [Snippet] Redis compiling problem on centos 6.2 64bit

[root@wave3 redis-2.4.17]# make
cd src && make all
make[1]: Entering directory `/home/source/redis/redis-2.4.17/src’
MAKE hiredis
make[2]: Entering directory `/home/source/redis/redis-2.4.17/deps/hiredis’
gcc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
make[2]: gcc: Command not found
make[2]: *** [net.o] Error 127
make[2]: Leaving directory `/home/source/redis/redis-2.4.17/deps/hiredis’
make[1]: *** [dependencies] Error 2
make[1]: Leaving directory `/home/source/redis/redis-2.4.17/src’
make: *** [all] Error 2

I have that Error when try to compile Redis 2.4.17 on Centos 6.2 64bit, after some googling it’s solved. Here’s how to solved it.

yum install glibc-devel.x86_64
yum install glibc.i686
yum install gcc.x86_64

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s