Post date: Aug 15, 2009 3:01:08 PM
Se descarga la ultima versión de esta URL: http://github.com/rakudo/rakudo/downloads
Mas información en: http://rakudo.org/how-to-get-rakudo
==============================================
wget http://cloud.github.com/downloads/rakudo/rakudo/rakudo-2009-07.tar.gz
tar zxvf rakudo-2009-07.tar.gz
cd rakudo-2009-07
perl ./Configure.pl --gen-parrot --gen-parrot-option=--optimize
make
cat build/PARROT_REVISION
40185 1.4.0
==> Aca debio aparecer perl6.exe.
make test => falla
make spectest => falla
==> Aca veo estos errores:
Se ven errores de este tipo:
$ ./perl6.exe
/* Vuelve al prompt, no muestra nada en pantalla pero el error devuelto
es status: 53 */
$ echo $?
53
==> Por lo tanto ahora muestro la salida del make test por si alguien
busca estos errores, encuentre aqui la solucion.
-----8<-------
$ make test
/usr/bin/perl.exe t/harness t/00-parrot t/01-sanity
t/00-parrot/01-literals.............. Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/02-op-math............... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/03-op-logic.............. Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/04-op-cmp................ Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/05-var-array............. Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/05-var................... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/06-op-inplace............ Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
t/00-parrot/07-op-string............. Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
[... continues ... ]
Test Summary Report
-------------------
t/00-parrot/01-literals.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/00-parrot/02-op-math.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/00-parrot/03-op-logic.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/00-parrot/04-op-cmp.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/01-sanity/08-say.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/01-sanity/09-types.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
[... continues ...]
Files=29, Tests=0, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.50 cusr 0.69 csys = 1.27 CPU)
Result: FAIL
----------------8<---------------
$ make spectest
cd t/spec && svn up
Skipped '.'
/usr/bin/perl.exe t/harness --fudge --keep-exit-code --icu=0 --jobs --tests-from-file=t/spectest.data
t/spec/S02-builtin_data_types/array.............................. Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
t/spec/S02-builtin_data_types/anon_block......................... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
t/spec/S02-builtin_data_types/array_extending.................... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
t/spec/integration/say-crash..................................... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
t/spec/integration/99problems-61-to-70........................... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
t/spec/integration/substr-after-match-in-gather-in-for........... Dubious, test returned 53 (wstat 13568, 0x3500)
No subtests run
===( 0 )==========================================================
Test Summary Report
-------------------
t/spec/S02-builtin_data_types/array.rakudo (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/S02-builtin_data_types/anon_block.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/S02-builtin_data_types/array_extending.rakudo (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/S02-builtin_data_types/array_ref.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/S02-builtin_data_types/assigning-refs.rakudo (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/integration/real-strings.rakudo (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/integration/role-composition-vs-attribute.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/integration/say-crash.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/integration/99problems-61-to-70.rakudo (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
t/spec/integration/substr-after-match-in-gather-in-for.t (Wstat: 13568 Tests: 0 Failed: 0)
Non-zero exit status: 53
Parse errors: No plan found in TAP output
Files=404, Tests=0, 35 wallclock secs ( 0.98 usr 1.42 sys + 7.15 cusr 19.81 csys = 29.36 CPU)
Result: FAIL
----8<--------
A continuacion la solucion:
---------------------------
cp parrot/cygparrot1_4_0.dll .
Ahora todo ha cambiado:
======================
/usr/bin/perl.exe t/harness t/00-parrot t/01-sanity
t/00-parrot/01-literals..............ok
t/00-parrot/02-op-math...............ok
t/00-parrot/03-op-logic..............ok
t/00-parrot/04-op-cmp................ok
t/00-parrot/05-var-array.............ok
t/00-parrot/05-var...................ok
t/00-parrot/06-op-inplace............ok
t/00-parrot/07-op-string.............ok
t/00-parrot/08-regex.................ok
t/00-parrot/09-pir...................ok
t/01-sanity/01-tap...................ok
t/01-sanity/02-counter...............ok
t/01-sanity/03-equal.................ok
t/01-sanity/04-if....................ok
t/01-sanity/05-sub...................ok
t/01-sanity/06-use...................ok
t/01-sanity/07-binding...............ok
t/01-sanity/07-defined...............ok
t/01-sanity/07-end-blocks............ok
t/01-sanity/07-for...................ok
t/01-sanity/07-isa...................ok
t/01-sanity/07-range.................ok
t/01-sanity/07-ref...................ok
t/01-sanity/07-simple-multisubs......ok
t/01-sanity/07-split.................ok
t/01-sanity/07-substr................ok
t/01-sanity/07-try...................ok
t/01-sanity/08-say...................ok
t/01-sanity/09-types.................ok
All tests successful.
Files=29, Tests=236, 102 wallclock secs ( 0.19 usr 0.08 sys + 51.66 cusr 2.85 csys = 54.77 CPU)
Result: PASS
===== PROBANDO PERL 6 EN WINDOWS XP =====
Y nuestro HOLA MUNDO:
$ cat argentina.pl
"hola mundo, desde buenos aires".say();
$ perl6 argentina.pl
hola mundo, desde buenos aires
HAPPY PERL HACKING !!
English version: http://serverlinux.blogspot.com/2009/08/installing-perl6-on-cygwin.html