use Perl Log In
Want a perl6 Binary?
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.)
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

Where is "Parrot::Configure::Compiler"? (Score:2)
Here's my attempt.
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:
Rather than fill this up, I've sent a detailed email to the perl6-internals list and will send any follow-up information they need (if any).
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. We have a couple of active Win32 developers, and anyone who willingly develops on that platform I will not chase away.
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)
As written, I think the code is incorrect and is contradicted by the second sentence in the following paragraph. I was only able to execute Perl6 programs with:
$ ./languages/perlRe: (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 the following bash script I hacked together:
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!) who will be using chromatic's program to run Perl6 program for the first time.kid51
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_exit
_Parrot_loadbc
_Parrot_new
_Parrot_runcode
_do_sub_pragmas
collect2: ld returned 1 exit status
I'll spare this thread the details (gcc-4.0, lots of Fink packages installed) but if there's a simple solution it'd be nice to know where to look.
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.org?
I'm not a Mac OS X hacker, but if we can find someone who knows how linking works on that platform, we should be able to fix these problems.
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.
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/Ticket/Display.html?id=49238 [perl.org]
Might be useful to others out there...
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 can support this, even if it's not the permanent technique for making a
perl6binary.I'd certainly like to see this packaged.
make perl6 (Score:2)
--
xoa