riak 0.8 fails to build on x86_64 looking for missing stubs-32.h because -m32

Kevin Smith ksmith at basho.com
Sun Feb 7 09:02:00 EST 2010


Even though you're compiling on x86-64, nspr still needs some of the development headers from libc. On most distros this is a package named something like libc6-dev-i386 (Ubuntu) or libc6-devel (Red Hat flavors, I think). Installing the missing package should get you past this compile error.

--Kevin
On Feb 7, 2010, at 1:50 AM, jason at topsy.com wrote:

> Does Riak have some need to be built with -m32?
> 
> make[2]: Entering directory `/home/jason/src/riak/apps/erlang_js/c_src/deps/nspr_release'
> cd config; make -j1 export
> make[3]: Entering directory `/home/jason/src/riak/apps/erlang_js/c_src/deps/nspr_release/config'
> gcc -m32 -o now.o -c      -Wall -O2 -fPIC  -UDEBUG  -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -Di386=1 -D_REENTRANT=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM   ../../mozilla/nsprpub/config/now.c
> In file included from /usr/include/features.h:354,
>                 from /usr/include/stdio.h:28,
>                 from ../../mozilla/nsprpub/config/now.c:38:
> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
> 
> Thanks,
> - Jason T.
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list