Check out Parrot as of r24278 or newer. Configure and build it:
$ perl Configure.pl
$ make
Build Perl 6:
$ cd languages/perl6/
$ make
Now build the new pbc_to_c target. 'snifty:
$ cd../..
$ make pbc_to_c
With the shiny new pbc_to_c utility, make the perl6 binary:
$./pbc_to_c languages/perl6/perl6.pbc
Now you have a perl6 binary that can run Perl 6 programs:
$./perl6 languages/perl6/t/01-sanity/01-tap.t
Caveats: you need to build a shared libparrot with dynamic loading (the default Parrot build, I believe). Also, for now, you can only run the Perl 6 binary from the root directory of a Parrot checkout. Both problems are solveable. (I think the binary will work against an installed Parrot, though I'm not sure we install the supporting PBCs appropriately yet.)
Where is "Parrot::Configure::Compiler"? (Score:2)
Here's my attempt.
Silence is Evil [easystreet.com]
Re: (Score:1)
It looks like one of the configuration system branch merges missed a file, so until Jim can fix it, try r24278; that's one I know is good.
Re: (Score:2)
Still fails on my Intel MacBook (if that's relevant). There are appear to be a bunch of tests missing from the manifest and the pbc_to_c target fails with:
Silence is Evil [easystreet.com]
Re: (Score:1)
Re: (Score:1)
I agree that Subversion's merging support has its flaws. However, there's no point in even thinking about considering the possibility of allowing the idea of having this conversation cross your mind until there's a working and native Git port for Win32.
Re: (Score:1)
Won’t be this way for very much longer [google.com], considering the speed at which git’s been moving since inception.
Re: (Score:1)
kid51
Bravo (Score:1)
Re: Want a perl6 Binary? (Score:1)
Re: (Score:2)
Out of curiosity, what platform are you on? I'm still working with the perl6-internals team to figure out how to get this to properly build on my Intel MacBook. We're getting closer, but there are still failures.
For those following along at home, use t
Silence is Evil [easystreet.com]
Re: (Score:1)
perl Configure.plwill suffice, i.e., you can omit the--test.The
--testoption is something which those working on the configuration and build systems should run, but is not necessary for language developers or those (like myself!)Re: (Score:1)
I'm having issues building r24319 on my Intel MacBook Pro following these instructions. Specifically, when I try the
make pbc_to_exestep I get:_PackFile_fixup_subs
_PackFile_new
_PackFile_unpack
_Parrot_destroy
_Parrot_
Re: (Score:1)
That probably means that linking against libparrot fails, whether it's picking up the wrong file or linking incorrectly or not exporting symbols properly. Can you post the contents of pbc_to_exe.pir (generated in the root directory) to parrot-porters@perl
Re: (Score:1)
http://rt.perl.org/rt3/Ticket/Display.html?id=49226 [perl.org]
neat - but I've only got release 5.1 .. (Score:2)
or do I need to dump that and install from svn?
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re: (Score:1)
The easiest way is to pull from SVN. Otherwise, I'd have to tell you how to merge and move around several different files.
Just another make hacker, (Score:1)
Much better written as
make -C languages/perl6/.Re: (Score:1)
/* Bernhard.Schmalhofer@gmx.de */
Re: (Score:1)
perl Configure.pl && make
./pbc_to_exe languages/perl6/perl6.pbc
./languages/perl6/perl6 languages/perl6/t/01-sanity/01-tap.t
cd languages/perl6/ && make
cd -
make pbc_to_exe
pbc_to_c is now pbc_to_exe (Score:2)
To anyone wanting to run this: owing to some comments on #parrot by pmichaud and barney, I renamed the pbc_to_c target to pbc_to_exe and barney applied it.
Silence is Evil [easystreet.com]
Build and runs fine on MacBook Pro w/ 10.5.1 (Score:1)
This is very exciting. This could be a another turning point for increasing interest in involvement with perl6 development.
The great thing about multitasking is that several things can go wrong at once.
Re: Want a perl6 binary? (Score:1)
I finally made it to build a perl6.exe on Win32 with MSVC9!
It didn't work out of the box. I had to make little changes here and there...
I tracked the problems I encountered and left a little patch that seems to solve them at http://rt.perl.org/rt3/Ticke [perl.org]
Will the next release see this process supported? (Score:1)
If so I'll probably jump on the band-wagon there, instead of mucking around with blead versions.
Re:Will the next release see this process supporte (Score:1)
There are some building problems on Darwin/PPC that need help from someone who understands linking on that platform, and there are some questions about the Windows build (but a patch). If we can fix those and the caveats about PBC locations, I think we ca
make perl6 (Score:2)
--
xoa