How to proceed with locating error

Bengt Kleberg bengt.kleberg at ericsson.com
Thu Feb 9 06:55:24 EST 2012


Wait, I remember having trouble like this when generating the PLT for
OTP. $OTP_ROOT/lib(*) confuses dialyzer, maybe it can confuse rebar,
too?
To get around it for dialyzer I had to replace "-r $OTP_ROOT/lib" with
"-r $OTP_ROOT/lib/*-0"
Can I do something similar to help rebar?


bengt

(*)This is my $OTP_ROOT/lib:
appmon-0
appmon-2.1.12
appmon-2.1.13
asn1-0
asn1-1.6.14
asn1-1.6.14.1
asn1-1.6.15
asn1-1.6.16
asn1-1.6.17
asn1-1.6.18
common_test-0
common_test-1.5
common_test-1.5.1
common_test-1.5.1.1
common_test-1.5.2
...
wx-0.98.7
wx-0.98.8
wx-0.98.9
wx-0.99
xmerl-0
xmerl-1.2.10
xmerl-1.2.5
xmerl-1.2.6
xmerl-1.2.7
xmerl-1.2.8
xmerl-1.2.9

On Thu, 2012-02-09 at 12:28 +0100, Tuncer Ayaz wrote:
> On Thu, Feb 9, 2012 at 11:45 AM, Bengt Kleberg wrote:
> > Greetings,
> >
> > When following a rebar tutorial
> > (http://carbonshaft.blogspot.com/2011/11/tutorial-getting-started-with-erlang.html)
> > I get the following error:
> >
> > ==> rel (generate)
> > {"init terminating in do_boot","hipe: Application version clash.
> > Multiple directories contains version \"3.8.1\"."}
> >
> > rebar: exit 1
> >
> > How do I proceed to identify the problem?
> 
> Do you have {lib_dirs, ["../.."]} (reltool.config) or another lib_dirs
> entry which could result in hipe being found more than once?
> 
> > rebar version: 2 date: 20111110_075009 vcs: No VCS info available.
> > Linux seasc1137 2.6.27.42-0.1-default #1 SMP 2010-01-06 16:07:25 +0100
> > i686 athlon i386 GNU/Linux
> > Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.8.5
> > (ie R14)




More information about the rebar mailing list