Script to install Riak 0.8 on ubuntu

John Hornbeck hornbeck at basho.com
Mon Feb 15 17:21:48 EST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100215/1420a6b2/attachment.html>


More information about the riak-users mailing list