Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
Finally got it all working! The sample is now available at: https://github.com/arun-gupta/javaee7-samples/tree/master/extra/nosql/riak Arun On Tue, Oct 8, 2013 at 3:00 PM, Jared Morrow wrote: >> Is that normal ? > > > To adjust your open files limit, see this guide > http://docs.basho.com/riak

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Jared Morrow
> > Is that normal ? To adjust your open files limit, see this guide http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/ How do I know if the server has started properly or not ? A typical thing to make sure Riak comes up is to 'riak ping' after issuing a 'riak start' Since you are

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
No quotes and "echo $IFS" shows a blank line. The sequence of commands succeeded and I could start the server. But it gave a message as: WARNING: ulimit -n is 256; 4096 is the recommended minimum. Is that normal ? How do I know if the server has started properly or not ? log/ser

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Steve Vinoski
Strange. I assume you didn't put quotes around the whole command, and that you don't have your IFS shell variable set to something unusual? You might try this instead: export CFLAGS=-O0 ./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit uns

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
bash Any recommendation on how the command needs to be broken apart ? Arun On Tue, Oct 8, 2013 at 10:09 AM, Steve Vinoski wrote: > Arun, what shell are you using? It looks like your setting of CFLAGS as part > of your very first command ended up taking the entire configure command as > the valu

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Steve Vinoski
Arun, what shell are you using? It looks like your setting of CFLAGS as part of your very first command ended up taking the entire configure command as the value, rather than just -O0, and then when the C compiler later tries to use that whole command line, it unsurprisingly fails. --steve On Tu

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
I gave the command: CFLAGS=-O0 ./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit and it showed a whole bunch of lines as shown below ... -- start here -- Ignoring the --cache-file argument since it can cause the system to be erroneously c

Re: Riak on Mac OSX 10.7.5

2013-10-07 Thread Jared Morrow
As Steve said, this package is for 10.8+. If you would like to build from source, you can follow the instructions here: http://docs.basho.com/riak/latest/ops/building/installing/from-source/ If you would like to build a package to use on other machines, follow the same instructions, except call

Re: Riak on Mac OSX 10.7.5

2013-10-07 Thread Steve Vinoski
As indicated in the URL for the tarball you downloaded, Riak 1.4.2 for OS X was built for 10.8.x, but you're running 10.7.5 so that build won't work there. --steve On Mon, Oct 7, 2013 at 7:34 PM, Arun Gupta wrote: > Downloaded Riak 1.4.2 from: > > > http://s3.amazonaws.com/downloads.basho.com/