Hello,

I had a similar issue with OpenBSD 5.0/amd64/riak-1.1.0

But I have took a manual approach on this situation, namely:

1. got to riak top level dir
2. cd deps/eleveldb/c_src/leveldb
3. sh build_detect_platform
    this will generate build_config.mk for your platform
4. edit build_config.mk and add -fPIC to the end of the first line unless
is not there
5. comment out all lines in Makefile that generate those errors - we don't
need them as they try to detect other platforms, and try to figure out if
snappy is there or not - i ignored snappy altogether, but that depends on
your needs
6. gmake
7. and see what happens next

I might have had done some other things (apart form OpenBSD specific ones)
but I should remember them as the problems arise.

hope this helps,

Bogdan
On Thu, Mar 1, 2012 at 1:22 PM, Norman Khine <nor...@khine.net> wrote:

> Hello again,
> sorry to keep posting new threads, but i don't see the original post i
> made for this.
>
> anyhow, i followed couple of suggestions from the mailing list and
> this blog post: http://blog.harperdog.com/2010/12/17/riak-on-freebsd/,
> make rel work, but now get this error after doing:
>
>  282  git clone git://github.com/basho/riak.git
>  283  cd riak
>  292  git branch adt-bsd-support origin/adt-bsd-support
>  293  git checkout adt-bsd-support
>  294  git log
>  295  make rel
>
> ./rebar compile generate
> ==> cluster_info (compile)
> ==> skerl (compile)
> ERROR: OTP release R14B04 does not match required regex R14B0[23]
>
> i changed the rebar.config so that:
>
> diff --git a/rebar.config b/rebar.config
> index 9a4890a..11eca1d 100644
> --- a/rebar.config
> +++ b/rebar.config
> @@ -1,6 +1,6 @@
>  {sub_dirs, ["rel"]}.
>
> -{require_otp_vsn, "R14B0[23]"}.
> +{require_otp_vsn, "R14B0[234]"}.
>
> then run again the make rel, but hit
>
> ==> eleveldb (compile)
> exec: c_src/build_deps.sh: not found
> ERROR: Command [compile] failed!
> make: *** [rel] Error 1
>
> any pointers, much appreciated
>
>
> --
> %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
> chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to