[[PageOutline]] = Perl version 6 = == make == * [http://rakudo.org/ Rakudo.org | Your one stop for Rakudo Perl, Parrot and Perl 6 news: Development, docs and more] 1. wget https://github.com/downloads/rakudo/star/rakudo-star-2010.11.tar.gz 1. tar xzf rakudo-star-2010.11.tar.gz 1. cd rakudo-star-2010.11/rakudo/ 1. ~/rakudo-star-2010.11/rakudo$ perl ./Configure.pl --gen-parrot * gitが入っていないと「Can't exec "git": No such file or directory at build/gen_parrot.pl line 106.」といわれるので、aptitude等で入れておく 1. ~/rakudo-star-2010.11/rakudo$ make all 1. ~/rakudo-star-2010.11/rakudo$ ./perl6 -v {{{ This is Rakudo Perl 6, version 2010.11 built on parrot 2.10.0 RELEASE_2_10_1 Copyright 2008-2010, The Perl Foundation }}} * 現状、/usr/local等にmake installすることは出来ない模様 === make on Windows with Cygwin === * spec * This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int * gcc version 4.3.4 20090804 (release) 1 (GCC) * perl ./Configure.pl --gen-parrot {{{ (snip) ./parrot.exe -o pbc_to_exe.pbc tools/dev/pbc_to_exe.pir ./parrot.exe pbc_to_exe.pbc pbc_to_exe.pbc gcc-4 -o pbc_to_exe.o -I/cygdrive/d/tmp/perl6/rakudo-star-2010.11/parrot-2.10.1/include -U__STRICT_ANSI__ -g3 -pipe -fstack-protector -I/usr/local/include -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -O3 -c pbc_to_exe.c 2 [main] parrot 6552 D:\tmp\perl6\rakudo-star-2010.11\parrot-2.10.1\parrot.exe: *** fatal error - unable to remap \\?\D:\tmp\perl6\rakudo-star-2010.11\parrot-2.10.1\runtime\parrot\dynext\os.dll to same address as parent: 0x240000 != 0x340000 2 [main] parrot 3228 fork: child 6552 - died waiting for dll loading, errno 11 Can't spawn child process current instr.: 'compile_file' pc 1089 (tools/dev/pbc_to_exe.pir:625) called from Sub 'main' pc 158 (tools/dev/pbc_to_exe.pir:131) make: *** [pbc_to_exe.exe] Error 1 Command failed (status 512): make install-dev ===SORRY!=== Unable to locate parrot_config }}} * rebaseallは効果なし {{{ > ash $ /bin/rebaseall -v $ perl ./Configure.pl --gen-parrot }}} * [http://d.hatena.ne.jp/kkobayashi_a/20090615/p1 Cygwinで "unable to remap *.dll" が出るときは rebaseall らしい - XXXannex] * [http://www5d.biglobe.ne.jp/~y0ka/2006-02-02-1.html unable to remap xxx.dll]