zjjfly / redis

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

redis-2.2.2 make unsuccessful with gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) #489

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
output:
cd src && make all
make[1]: Entering directory `/opt/redis/redis-2.2.2/src'
cd ../deps/hiredis && make static ARCH=""
make[2]: Entering directory `/opt/redis/redis-2.2.2/deps/hiredis'
Makefile:18: Extraneous text after `else' directive
Makefile:27: *** only one `else' per conditional.  Stop.
make[2]: Leaving directory `/opt/redis/redis-2.2.2/deps/hiredis'
make[1]: *** [dependencies] Error 2
make[1]: Leaving directory `/opt/redis/redis-2.2.2/src'
make: *** [all] Error 2

Original issue reported on code.google.com by tanxiugu...@gmail.com on 21 Mar 2011 at 2:24

GoogleCodeExporter commented 8 years ago
Make still crashes in 2.2.8. Talked about this for Version 2.2.3 with Salvatore 
and Pieter on Twitter:

"@antirez: @pnoordhuis @behringer24 it's the hiredis Makefile issue to select 
the building tool. If you convert if/elseif/.. to nested it's fixed"

I would appreciate if this could be fixed for future versions.

Original comment by andreas....@gmail.com on 4 Jun 2011 at 6:14