Attempted dip into perl 6

lilstevey on 2009-10-27T00:02:14

Win 32 again. I am tempted to get a proper posix laptop of some kind or description but until then...

I sat down this afternoon to watch "The Last King of Scotland". As I have difficulty single-tasking I thought I might have another look at perl6 whilst it was on. Heres some of the notes I made.

Effective starting point:

http://www.perlfoundation.org/perl6/index.cgi?rakudo

points to:

http://perlgeek.de/blog-en/perl-6/where-rakudo-lives.writeback

Download parrot & install win32 - straightfoward.

Download Rakudo from:

http://github.com/rakudo/rakudo/downloads

Back then to the perlfoundation guide - it says "To build the Rakudo Perl 6 compiler, first get a working copy of Parrot and build Parrot. Then, once Parrot is built, change to the languages/ subdirectory and obtain your copy of Rakudo there:"

I used the win32 installer, and upon changing into the parrot directory there doesn't seem to be a languages subdir!

Ahhhhhh

Nothing quite like RTFM! -

http://rakudo.org/how-to-get-rakudo

That mentions the --gen-parrot method - however, i've just installed parrot so I'll try to find another. The README file in the downloaded Rakudo directory seems to provide the answer:

--parrot-config=/path/to/parrot_config

Not too sure what "parrot_config" is though. I'll start with the "C:\Parrot-1.7.0" directory.

Doesn't work - try another - nope - should be more scientific. do some googling. Nope.

I'll try perl Configure.pl followed by dmake - nope. switch to suggested mingw32-make.

issues. maybe I should have stuck with the "perl Configure.pl --gen-parrot" varient.

I google: "parrot win32 rakudo --parrot-config"

http://perl.bristolbath.org/blog/lyle/2009/04/first-perl-6-experiences.html

hmmm. maybe I'll try --gen-parrot...

In file included from perl6_group.c:17: /Parrot-1.7.0/include/parrot/parrot/parrot.h:235:23: libintl.h: No such file or directory mingw32-make: *** [src\pmc\perl6_group.dll] Error 1

Hmm. maybe its worth returning to the Last King Of Scotland for its conclusion - next time maybe I'll try to build parrot devel locally and go from there...


parrot_config

daxim on 2009-10-27T13:02:22

--parrot-config=/path/to/parrot_config

Not too sure what "parrot_config" is though.

This is an executable, installed by default in $PREFIX/bin/parrot_config. Run parrot_config --dump to see interesting stuff.

Re:parrot_config

lilstevey on 2009-10-27T15:38:28

Not too sure what "parrot_config" is though.

This is an executable, installed by default in $PREFIX/bin/parrot_config. Run parrot_config --dump to see interesting stuff.

Many thanks - I was going to do some digging myself but thats great - I'll investigate later.