make

Michael riak at autosys.us
Fri Dec 4 23:05:37 EST 2009


 eunit is included in the R13B03 I downloaded ...

$ uname -a
 Linux delora 2.6.28-6-386 #20-Ubuntu Fri Apr 17 08:32:39 UTC 2009 i686 GNU/Linux

$ (cd /opt/tar && wget -c http://erlang.org/download/otp_src_R13B03.tar.gz)
$ cd /opt/src
$ tar -xzf /opt/tar/otp_src_R13B03.tar.gz
$ cd /opt/tar/otp_src_R13B03
$ ./configure 
<znip>
$ make && sudo make install
<znip>
$ erl
Erlang R13B03 (erts-5.7.4) [rq:1] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.7.4  (abort with ^G)
1> m(eunit).
Module eunit compiled: Date: November 24 2009, Time: 10.55
Compiler options:  [{cwd,"/net/isildur/ldisk/daily_build/otp_prebuild_r13b03.2009-11-24_11/otp_src_R13B03/lib/eunit/src"},
                    {outdir,"/net/isildur/ldisk/daily_build/otp_prebuild_r13b03.2009-11-24_11/otp_src_R13B03/lib/eunit/src/../ebin"},
                    {i,"/net/isildur/ldisk/daily_build/otp_prebuild_r13b03.2009-11-24_11/otp_src_R13B03/lib/eunit/src/../include"},
                    warn_obsolete_guard,warn_unused_import,nowarn_shadow_vars,
                    warn_unused_vars,debug_info]
Object file: /usr/local/lib/erlang/lib/eunit-2.1.4/ebin/eunit.beam
Exports: 
module_info/0                 test/0
module_info/1                 watch/1
start/0                       watch/2
start/1                       watch/3
stop/0                        watch_app/1
stop/1                        watch_app/2
submit/1                      watch_app/3
submit/2                      watch_path/1
submit/3                      watch_path/2
test/1                        watch_path/3
test/2                        watch_regexp/1
test/3                        watch_regexp/2
                              watch_regexp/3
ok
2> 

~Michael


On Fri, Dec 04, 2009 at 07:01:39PM -0500, Todd Lumley wrote:
> All sorted.
> 
> Eunit is not included with Erlang R13B03 (otp_src_R13B03.tar.gz)
> Works with Eunit installed.
> 
> 
> 
> 
> Todd Lumley
> 
> 
> -----Original Message-----
> From: Bob Ippolito [mailto:bob at redivi.com]
> Sent: December 4, 2009 6:03 PM
> To: todd at thesolutionstudio.com
> Cc: riak-users at lists.basho.com
> Subject: Re: make
> 
> 
> Are you sure you're not using R12? Start erl and type
> erlang:system_info(otp_release). If it's any less than R12B-5 then
> that's your problem.
> 
> On Fri, Dec 4, 2009 at 2:49 PM, Todd Lumley <todd at thesolutionstudio.com> wrote:
> > Hi,
> >
> > I'm a newbie in this regard.
> > Wonder if anyone has seen the following error on 'make':
> >
> > src/vclock.erl:34: can't find include lib "eunit/include/eunit.hrl"
> > src/vclock.erl:207: undefined macro 'assertEqual'
> > src/vclock.erl:217: undefined macro 'assertEqual'
> > src/vclock.erl:229: undefined macro 'assert'
> > src/vclock.erl:242: undefined macro 'assert'
> > src/vclock.erl:52: Warning: function example_test/0 is unused
> > make: *** [erl] Error 1
> >
> > and on './debug-fresh.sh config/riak-demo.erlenv':
> >
> > {error_logger,{{2009,12,4},{17,46,46}},"application_controller: ~s:
> > ~s~n",["unterminated string starting with \"\"","{file, \""]}
> > Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0]
> > [hipe] [kernel-poll:true]
> > =ERROR REPORT==== 4-Dec-2009::17:46:46 ===
> > application_controller: unterminated string starting with "": {file, "
> > {"init terminating in do_boot",{error,'Bad environment variable: "{file,
> > \\""  Application: sasl'}}
> >
> > versions:
> >     riak 0.6.2
> >     Erlang R13B03 (erts-5.7.4)
> >
> >
> > thx,
> > Todd Lumley
> >
> >
________________________________________________________________________




More information about the riak-users mailing list