Script to install Riak 0.8 on ubuntu

Kevin Smith ksmith at basho.com
Mon Feb 15 17:31:00 EST 2010


NSPR also needs the libc dev headers. I'm not entirely sure why but it's definitely a dependency. You should be able to get past this error by installing the libc6-dev package.

--Kevin
On Feb 15, 2010, at 5:21 PM, John Hornbeck wrote:

> 
> 
> On Mon, Feb 15, 2010 at 4:16 PM, Zubair Quraishi <zubairq at gmail.com> wrote:
> I tried :
> 
> cd apps/erlang_js
> make realclean
> cd ../..
> make all rel
> 
> 
> and now I get
> 
> 
> 
> creating pr/src/memory/Makefile
> creating pr/src/misc/Makefile
> creating pr/src/threads/Makefile
> creating pr/tests/Makefile
> creating pr/tests/dll/Makefile
> creating pr/src/pthreads/Makefile
> make[2]: Entering directory `/riak/apps/erlang_js/c_src/deps/nspr_release'
> cd config; make -j1 export
> make[3]: Entering directory `/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
> make[3]: *** [now.o] Error 1
> make[3]: Leaving directory `/riak/apps/erlang_js/c_src/deps/nspr_release/config'
> make[2]: *** [export] Error 2
> make[2]: Leaving directory `/riak/apps/erlang_js/c_src/deps/nspr_release'
> make[1]: *** [deps/nspr_release/dist/lib/libnspr4.a] Error 2
> make[1]: Leaving directory `/riak/apps/erlang_js/c_src'
> ERROR: c_src/build_driver_deps.sh failed with error: 2
> make: *** [compile] Error 1
> 
> 
> Looks like you are hitting the same issue that is discussed in this thread, the instructions I gave were for 32bit, are you building on 64bit?
> 
> http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-February/000447.html
> 
> 
> 
> 
> -- 
> * John Hornbeck
> ** Director of Product and Services
> ** Basho Technologies, Inc.
> ** hornbeck at basho.com
> ** 580.917.1549
> _______________________________________________
> 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