I have an older version of make:

~/riak-1.2.1> make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.

Should I replace patch in ?= patch by 3.80 ?

else
         PATCH    ?= patch

Like this:

else
         PATCH    ?= 3.80


Please advise.
Thanks.



From: Jared Morrow [mailto:ja...@basho.com]
Sent: Tuesday, December 18, 2012 3:06 PM
To: Chenini, Mohamed
Cc: riak-users@lists.basho.com
Subject: Re: Firewall problem: fatal: Unable to find remote helper for 'http'


That's usually a problem with the make version. What version are you running 
make -v? GNU Make 3.81 (2006) and later will accept multiple else directives. 
If you are on an old system where you can't upgrade Make, you can look at that 
line https://github.com/basho/erlang_js/blob/1.2/c_src/Makefile#L12 and just 
hardcode what patch you have on your system.

Hopefully that is your last issue and it builds from here on out. If not, keep 
the questions coming.

-Jared




On Tue, Dec 18, 2012 at 12:50 PM, Chenini, Mohamed 
<mchen...@geico.com<mailto:mchen...@geico.com>> wrote:
First thanks for the quick response.

I followed the steps in "Installation on Closed Networks" section and could 
pass the "Cloning into 'leveldb'..." issue.

But now I am getting this error:

Compiled src/luke_flow_sup.erl
==> erlang_js (compile)
make[1]: Entering directory `/home/u1c332/riak-1.2.1/deps/erlang_js'
rebar.mk:10<http://rebar.mk:10>: Extraneous text after `else' directive
rebar.mk:12<http://rebar.mk:12>: *** only one `else' per conditional.  Stop.
make[1]: Leaving directory `/home/u1c332/riak-1.2.1/deps/erlang_js'
ERROR: Command [compile] failed!
make: *** [rel] Error 1


Any suggestion on how to fix this?

Thanks,
Mohamed
From: Jared Morrow [mailto:ja...@basho.com<mailto:ja...@basho.com>]
Sent: Tuesday, December 18, 2012 2:35 PM
To: Chenini, Mohamed
Cc: riak-users@lists.basho.com<mailto:riak-users@lists.basho.com>
Subject: Re: Firewall problem: fatal: Unable to find remote helper for 'http'

Yes, see the "Installation on Closed Networks" section here 
http://docs.basho.com/riak/latest/tutorials/installation/Installing-Riak-from-Source/

-Jared

On Tue, Dec 18, 2012 at 12:15 PM, Chenini, Mohamed 
<mchen...@geico.com<mailto:mchen...@geico.com>> wrote:
Hi,

I am trying to build riak-1.2.1. The make command :~/riak-1.2.1> make gives 
this known error:

==> eleveldb (get-deps)
Cloning into 'leveldb'...
fatal: Unable to find remote helper for 'http'
ERROR: Command ['get-deps'] failed!
make: *** [deps] Error 1

I saw a resolution on the net saying to do replace git by http:

    get-deps)
        if [ ! -d leveldb ]; then
#   git clone git://github.com/basho/leveldb<http://github.com/basho/leveldb>
           git clone http://github.com/basho/leveldb

            (cd leveldb && git checkout $LEVELDB_VSN)
        fi
        ;;


The problem is that I am behind a firewall.
Is there another solution where I can download some code from basho site into 
some directory in my machine to avoid the firewall issue?

Thanks,
Mohamed


====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com<mailto:riak-users@lists.basho.com>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.

====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to