Front page | perl.perl6.documentation |
Postings from December 2002
Help with setting up Perl6
From: Jared Rhine
December 12, 2002 02:13
Help with setting up Perl6
Message ID: email@example.com
I'd like to help write some test cases for Perl6 to deliver on that
part of this group's charter.
I'm having problems getting Perl 6 working, and I'd like help. This
may be off-charter for this group, but there's hardly a better place,
and the info is probably generally useful to others also seeking to
create tests (nudge nudge).
The head of the tree won't compile for me (dod.c:508: undefined
reference to `flush_register_windows'), but RELEASE_0_0_8 will (as
described below). The perl6 test harness is failing for me though.
So, starting with a blank directory, I:
cvs -d :pserver:firstname.lastname@example.org:/cvs/public login
[return for blank password]
cvs -d :pserver:email@example.com:/cvs/public checkout -r RELEASE_0_0_8 parrot
Everything through this point works ok, as far as I can tell. I get a
functional parrot binary in the top directory and a make test goes off
its merry way passing all the basic and jako tests.
All tests successful, 5 subtests skipped.
Files=26, Tests=433, 579 wallclock secs (440.29 cusr + 34.98 csys =
So I proceed to try to play with perl6:
and it proceeds to go into the imcc, classes, and doc directories to
make and I end up with a blib/lib/libparrot.a. Still no errors.
So I try a 'make test', and I get:
-- begin --
-> make test
t/compiler/1...........Can't bless non-reference value at
../../assemble.pl line 163.
# Failed test (t/compiler/1.t at line 7)
# got: 'Parrot VM: Can't stat t/compiler/1_1.pbc, code 2.
# expected: 'Hello, world
t/compiler/1...........NOK 1Can't bless non-reference value at ../../assemble.pl line 163.
# Failed test (t/compiler/1.t at line 16)
# got: 'Parrot VM: Can't stat t/compiler/1_2.pbc, code 2.
# expected: '5
-- end --
In languages/perl6/t/compiler/1_1.err, I get:
Can't find loader Parrot_DynOp_core_0_0_7: ../imcc/imcc: undefined
which is suspicious for the 0_0_7 when I actually checked out 0_0_8.
For kicks, I rebuilt the Perl6 grammer via './perl6 --force-grammar',
and that works.
If I manually feed some code to perl6 (cat examples/life-ar.p6 |
./perl6), it produces a reasonable 'a.imc' file . I've tried
deconstructing the perl6 Makefile and run the steps individually but
everything has broken in ways that make me think I'm missing something
I'll try this procedure again when 0.0.9 comes out soon, but this is
more likely my problem. Suggestions?
-----BEGIN GEEK CODE BLOCK-----
d s:++>+ a-
C++(++++)$ USL++++ P+++ L+++ E++(+++) W++++ N- !o !K w !O M V
PS+++(-) PE++(--) Y+ PGP>++
t@ 5 X+ R>+ tv++>-- b>++ DI+ D- G
e++ h- r++>+++ y+++
------END GEEK CODE BLOCK------