Using a clean git clone I went back and tried
perl Configure.pl --gen-parrot which failed in a new way:

----------------------------
/work/solon/neilmowbray/tool/foo/rakudo/parrot_install/src/2.0.0-devel/pmc/s
ub.dump
/work/solon/neilmowbray/tool/foo/rakudo/parrot_install/src/2.0.0-devel/pmc/u
ndef.dump
/work/solon/neilmowbray/tool/foo/rakudo/parrot_install/src/2.0.0-devel/vtabl
e.dump
Finished install_dev_files.pl
PackFile_unpack: This Parrot cannot read bytecode files with version 6.0.

PackFile header failed during unpack
Died at Configure.pl line 119.

Reading configuration information from parrot_install/bin/parrot_config ...

----------------------------


If one tries to run the locally built parrot one gets the
same error:

--------------------------------

$ parrot_install/bin/parrot --version

PackFile_unpack: This Parrot cannot read bytecode files with version 6.0.

PackFile header failed during unpack

--------------------------------------

Is this maybe a general cygwin problem?  Does anyone have
parrot/perl6 building on cygwin/vista?


-----Original Message-----
From: neil.mowb...@calgacus.com [mailto:neil.mowb...@calgacus.com] 
Sent: 10 February 2010 21:05
To: 'Moritz Lenz'
Cc: perl6-compi...@perl.org
Subject: RE: New user trying to compiler perl6 without success

Yes I tried the --gen-parrot and it had a similar problem.

For the below, I did a clean svn checkout of parrot and
git clone.  For parrot I did

$ perl Configure.pl
$ make
$ make fulltest
$ make install
$ make install-dev

However that didn't copy cygparrot.dll to /usr/local/bin
and the parrot.dll.a to /usr/local/lib so I copied those
manually.  So clearly make install-dev isnt' quite working.
What else could be missing - there is quite a lot of stuff
already copied from the build directory to /usr/local.

For perl6 I did

$ perl Configure.pl
$ make
  ... bag!

-----Original Message-----
From: Moritz Lenz [mailto:mor...@faui2k3.org] 
Sent: 10 February 2010 20:27
To: neil.mowb...@calgacus.com
Cc: perl6-compi...@perl.org
Subject: Re: New user trying to compiler perl6 without success

Hi,

neil.mowb...@calgacus.com wrote:
> Hi Folks,
> 
> This is the first time I have tried to compile parrot and perl6.
> I have tried various combinations of perl6 and parrot snapshots
> but all perl6 builds fail (at different places).  Can anyone help
> me get a clean build?
> 
> For example getting the latest parrot from svn truck and perl6
> from github I can build parrot 2.0.0 with all tests passing but
> the build of perl6 fails with

Did you try the

perl Configure --gen-parrot

invocation as described in rakudo's README file?
If not, which commands did you use for building?

> ---------------------------------------------
> 
> /usr/bin/perl -MExtUtils::Command -e cp src/s1_setting.pir
> src/gen_setting.pir
> /usr/local/bin/parrot.exe  -o perl6_s1.pbc perl6.pir
> error:imcc:syntax error, unexpected '\n', expecting '('
>       in file 'perl6.pir' line 29

This looks like some dynamic parrot or rakudo libraries are missing, but
in normal circumstances you don't get such an error. Did you do a full
'make install' of parrot? (Can be a local install, but it must be
installed). A 'make install-bin' won't be enough.

Cheers,
Moritz

Reply via email to