--- chromatic <[EMAIL PROTECTED]> wrote:

> > Nope.  'make test' and 'make perl6' both return the following:
> >
> >   ../../parrot  -o perl6.pbc perl6.pir
> >   src/interpreter.c:1030: failed assertion
> >   'interp->op_count == core->op_count'
> >   make: *** [perl6.pbc] Abort trap
<snip>
> Guess: you have a libparrot.so (or .dylib, or whatever Mac OS X
> thinks looks 
> good with a black turtleneck) somewhere getting loaded before 
> blib/lib/libparrot.so.
<snip>
> I really did think I fixed that bug though... but if you can trace
> the dynamic 
> library loading of your process, you can confirm or deny this.

Bingo!  Don't know how to trace that, but a quick locate confirmed an
earlier install.  I manually deleted the offending files.  Now it
compiles, but it still doesn't appear to work :)  As far as I can tell,
I'm following the instructions from the README correctly.

  perl6 $ cat hello.pl 
  say "Hello, world!";
  perl6 $ ./perl6 hello.pl 
  Null PMC access in get_string()
  current instr.: 'parrot;P6metaclass;add_parent' pc 119
(runtime/parrot/library/P6object.pir:137)
  called from Sub 'parrot;P6metaclass;add_parent' pc 241
(runtime/parrot/library/P6object.pir:215)
  called from Sub 'parrot;P6metaclass;register' pc 411
(runtime/parrot/library/P6object.pir:295)
  called from Sub 'parrot;Str;onload' pc 859 (src/gen_builtins.pir:584)
  called from Sub 'parrot;Perl6::Compiler;main' pc -1 ((unknown
file):-1)

I get the same error even if I do "../../parrot perl6.pbc hello.pl".

Cheers,
Ovid

--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Reply via email to