ire throwing only exceptions

2 views
Skip to first unread message

dc

unread,
Nov 28, 2010, 11:03:51 AM11/28/10
to Reia
Hi,

I'm new to Reia and want to play with it.
I downloaded source from git and run rake.
Output:

.
.
.
bin/reia test/runner.re
.......................................................................................................

Finished in 0.470999 seconds

101 assertions, 0 failures, 0 errors

When I start ire i get:


Reia Interactive Shell (prerelease)
Running on Erlang R14B (erts-5.8.1) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [hipe] [kernel-poll:true]


But whatever I write will throw an exception. Here is an example:


>> 42
exception error: undefined function 'Numeric':call/2
in function ire:print/1
in call from ire:eval/2
in call from ire:loop/1
>> number = 2
exception error: undefined function 'Numeric':call/2
in function ire:print/1
in call from ire:eval/2
in call from ire:loop/1
>> Time()
exception error: undefined function 'Time':call/2
in function 'reia_eval#1290_960087_474490':toplevel/2
in call from reia_bytecode:load/2
in call from reia_eval:exprs/2
in call from ire:eval/2
in call from ire:loop/1
>> :atom
exception error: undefined function 'Atom':call/2
in function ire:print/1
in call from ire:eval/2
in call from ire:loop/1
>> "string"
exception error: undefined function 'String':call/2
in function ire:print/1
in call from ire:eval/2
in call from ire:loop/1
>>
=ERROR REPORT==== 28-Nov-2010::17:01:48 ===
Loading of /usr/local/
erlware/lib/stdlib-1.17.1/ebin/String.beam failed: badfile


=ERROR REPORT==== 28-Nov-2010::17:01:48 ===

beam/beam_load.c(1070): Error loading module 'String':
module name in object
code is string


What am I doing wrong?

Sorry for my bad english.

dc

Phil Pirozhkov

unread,
Nov 28, 2010, 1:59:39 PM11/28/10
to re...@googlegroups.com
Hi

did you also ran

sudo rake install

Looks like the standard library is missing

Phil

-----Original Message-----

> --
> You received this message because you are subscribed to the Google Groups "Reia" group.
> To post to this group, send email to re...@googlegroups.com.
> To unsubscribe from this group, send email to reia+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/reia?hl=en.
>

dc

unread,
Nov 28, 2010, 3:28:26 PM11/28/10
to Reia
Thanks, that helps.

I haven't used rake before and readme tells to type "rake" only.

Tony Arcieri

unread,
Nov 28, 2010, 9:54:58 PM11/28/10
to re...@googlegroups.com
It should work with just rake, however you need to stay in the Reia home directory and type "bin/reia".

Did you perchance cd to the bin directory and try to run ./ire? Or specify it with a long path?

Unless you run rake install it requires you run it from the home directory (i.e. root directory of the repository) as bin/ire
--
Tony Arcieri
Medioh! A Kudelski Brand
Reply all
Reply to author
Forward
0 new messages