On Solaris 8, with Sun's supplied perl5.00503 and with Sun's cc, I get the
following error when trying to build perl6:

cd perl6 && make test && cd ..
/usr/bin/perl t/harness
t/builtins/array....#     Failed test (t/builtins/array.t at line 27)
#          got: 'error:imcc:parse error, unexpected EOM, expecting PARROT_OP
# in file 't/builtins/array_1.pasm' line 1
# '
#     expected: 'perl6isfun
# funisperl6
# perl6isfun
# '
# '../../parrot  t/builtins/array_1.pasm' failed with exit code 69
# Looks like you failed 1 tests of 3.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
        Failed 1/3 tests, 66.67% okay (-2 skipped tests: 0 okay, 0.00%)

(In fact, every test fails.)  Obviously, those error messages aren't very
helpful.  Trying the one-liner in doc/debugging.pod:

    perl6 -vwk -e'print(qq(Hello perl6\n))'

yields the more informative:

Can't locate charnames.pm in @INC (@INC contains:
/home/doughera/src/parrot/parrot-andy/languages/perl6/../../lib
/usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503
/usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at
P6C/Tree/String.pm line 219.
BEGIN failed--compilation aborted at P6C/Tree/String.pm line 219.
BEGIN failed--compilation aborted at P6C/Tree.pm line 27.
BEGIN failed--compilation aborted at perl6 line 19.

So the problem is actually a dependency on a module not shipped with
perl5.00503.

This problem's been around a while -- I know I've reported it before.  Is
it time to give up on 5.00503?  I will retest with 5.8.x, but the
compilation takes a *long* time.

Also, would it be possible to include something like that one-liner
somewhere in the test suite in a way that the 'charnames' error message
would pop up more readily?  In perl5, there's a trivial test in the
makefile that runs

        ./miniperl -w -Ilib -MExporter -e '<?>'

before launching into the full test suite.  Perhaps something similar
could be done in the perl6 Makefile.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to