jn...@jnthn.net via RT wrote: > On Fri Dec 26 14:41:49 2008, markusl wrote: >> I'm attempting to compile Parrot and Perl 6 for the first time using >> gcc 4.1.2 >> on Linux. I've checked out revision 34399 form svn. Parrot compiles >> successfully, but languages/perl6 fails like this: >> >> >> m...@edward:~/parrot/languages/perl6$ make >> cd src/pmc && /usr/bin/perl /home/msl/parrot/tools/build/dynpmc.pl >> generate >> perl6str objectref perl6scalar mutablevar perl6multisub >> cd src/pmc && /usr/bin/perl /home/msl/parrot/tools/build/dynpmc.pl >> compile >> perl6str objectref perl6scalar mutablevar perl6multisub >> cd src/pmc && /usr/bin/perl /home/msl/parrot/tools/build/dynpmc.pl >> linklibs >> perl6str objectref perl6scalar mutablevar perl6multisub >> cd src/pmc && /usr/bin/perl /home/msl/parrot/tools/build/dynpmc.pl >> copy --destination=/home/msl/parrot/runtime/parrot/dynext perl6str >> objectref >> perl6scalar mutablevar perl6multisub >> ../../parrot -o perl6.pbc perl6.pir >> error:imcc:syntax error, unexpected VAR, expecting '(' ('var') >> in file 'src/builtins/op.pir' line 434 >> included from 'src/gen_builtins.pir' line 25 >> included from 'perl6.pir' line 1 >> make: *** [perl6.pbc] Error 1 >> m...@edward:~/parrot/languages/perl6$
FYI I regularly get these messages when I forgot to 'make clean' before 'make' - which happens more often these days because parrot's 'make realclean' doesn't clean rakudo. Still I think the build system shouldn't require a 'make clean', so perhaps there's a dependency missing somewhere? (Since I can't reproduce it with a maximally parallelized build (`make clean; make -j) I guess it's a missing dependency between source file and binary, not between different binary targets). Cheers, Moritz