Redis "make 32bit" still broken?

235 views
Skip to first unread message

sb56637

unread,
Nov 8, 2012, 3:02:07 PM11/8/12
to redi...@googlegroups.com
Hi,

I saw that Redis 2.6.3 was supposed to have fixed making 32bit on Linux. But now 2.6.3 seems to have disappeared from the release notes and 2.6.4 doesn't mention anything about 32-bit.

I tried "make 32bit" on CentOS 6 with both 2.6.3 and 2.6.4 and I get this:

============================
MAKE hiredis
cd hiredis && make static
make[4]: Entering directory `/home/myself/Downloads/redis-2.6.3/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -m32 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  net.c
In file included from /usr/include/features.h:385,
                 from /usr/include/sys/types.h:26,
                 from net.c:34:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[4]: *** [net.o] Error 1
make[4]: Leaving directory `/home/myself/Downloads/redis-2.6.3/deps/hiredis'
make[3]: *** [hiredis] Error 2
make[3]: Leaving directory `/home/myself/Downloads/redis-2.6.3/deps'
make[2]: [persist-settings] Error 2 (ignored)
    CC adlist.o
In file included from /usr/include/features.h:385,
                 from /usr/include/stdlib.h:25,
                 from adlist.c:32:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
In file included from adlist.c:34:
zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
make[2]: *** [adlist.o] Error 1
make[2]: Leaving directory `/home/myself/Downloads/redis-2.6.3/src'
make[1]: *** [32bit] Error 2
make[1]: Leaving directory `/home/myself/Downloads/redis-2.6.3/src'
make: *** [32bit] Error 2
================================

The regular "make" works just fine.

Thanks for the help!

Salvatore Sanfilippo

unread,
Nov 8, 2012, 3:06:06 PM11/8/12
to Redis DB
It looks like you don't have the 32 bit development stuff installed,
but I'm not 100% sure.
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/redis-db/-/GUkey05RRlQJ.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.



--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org

Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter

Arnaud GRANAL

unread,
Nov 14, 2012, 2:09:35 PM11/14/12
to redi...@googlegroups.com
It's not a bug, you just miss some header files for 32bit platform, on Debian / Ubuntu you need libc6-dev-i386 package.

Arnaud.

On Wed, Nov 14, 2012 at 4:29 PM, Konstantin Root <konstan...@gmail.com> wrote:
Same problem here with 2.6.4.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To view this discussion on the web visit https://groups.google.com/d/msg/redis-db/-/VlbA69T9GEsJ.

CharSyam

unread,
Nov 15, 2012, 1:34:21 PM11/15/12
to redi...@googlegroups.com
Yes, If you use x86_64 system. and maybe you don't have 32bit subsystem.

so Arnaud Granal is right :)
Reply all
Reply to author
Forward
0 new messages