Hi Paul, are you on Debian stable? I also prefer not compiling stuff myself, hence I'm on Debian testing, there you get R15B01.
I'll try to get a rebar compiled with R14B04 tomorrow. Cheers, Volker On 07/19/2012 11:37 PM, Paul Torres wrote: > Volker, > I tried compiling rebar and it doesn't work: the make check > produces an error: > ==> rebar (xref) > make: [dialyzer_warnings] Error 1 (ignored) > --- dialyzer_reference 2012-07-19 17:12:21.000000000 -0400 > +++ dialyzer_warnings 2012-07-19 17:39:36.000000000 -0400 > @@ -2 +2,2 @@ > -rebar_utils.erl:161: Call to missing or unexported function escript:foldl/3 > +dialyzer: Could not read PLT file /home/paul/.dialyzer_plt: no_such_file > + > make: *** [dialyzer] Error 1 > > > I depend on the packaged version of Erlang for Debian. I'm looking > into removing that and installing Erlang from source for R15B01, > hopefully without any complications, but you know how it > goes...sometimes not as well as intended. Did you just upgrade? Any > chance you have a version that works for R14B04? > > I tried to use rebar despite this one error and the geocouch make > check fails all tests. I tried to run couchdb-1.2.0 anyway but it > crashes immediately if the geocouch.ini file is present, otherwise it > works fine. > > -Paul > > On Wed, Jul 18, 2012 at 1:06 PM, Volker Mische <[email protected]> > wrote: >> Hi Paul, >> >> I've compiled rebar with Erlang/OTP R15B01, it seems you use R14B04. >> Either upgrade your Erlang, or compile rebar yourself. Compiling your >> own rebar is really simple: >> >> - Clone from https://github.com/basho/rebar.git >> - Run ./bootstrap >> - Copy the resulting ./rebar to your GeoCouch checkout >> >> Cheers, >> Volker >> >> On 07/18/2012 06:17 PM, Paul Torres wrote: >>> Volker, >>> One more bug I think? I pulled the latest version and got an error >>> executing rebar: >>> =ERROR REPORT==== 18-Jul-2012::12:15:08 === >>> Loading of >>> /home/paul/couchdb/geocouch_experimental/geocouch/rebar/rebar.beam >>> failed: badfile >>> escript: exception error: undefined function rebar:main/1 >>> in function escript:run/2 >>> in call from escript:start/1 >>> in call from init:start_it/1 >>> in call from init:start_em/1 >>> >>> =ERROR REPORT==== 18-Jul-2012::12:15:08 === >>> beam/beam_load.c(1351): Error loading module rebar: >>> use of opcode 153; this emulator supports only up to 152 >>>
