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.

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'
> 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