Архив Февраль 2012
Perl 6: Error 137 while doing ‘make’
[NOT SO USEFUL INFORMATION]
During my summer internship at Opera Software, I learned some basics of the Perl programming language.
Not so much actually, but enough for me to start hate Perl. I hated it so much as I can, I hated it by my hands, eyes, mind and blood.
It turned out that due to my hate to Perl, I was thinking about it too often. And, oh my God, I started to use it for small scripts. It took only a few days to fall in love. I can’t understand how it happened. Perl’s regexes are really sweety way to change text files in some way. As an example, I wrote a little script to adjust anime subs by changing some numbers in some lines.
Still there are many places in Perl that I can’t get used to, such as strange way to represent nested structures and sigil changing.
[USEFUL INFORMATION STARTS HERE]
Then I’ve found that Perl 6 is coming. Site http://perl6.su/ is an amazing place to explore some of Perl 6 features.
And when I ventured to build Parrot and Perl 6 on my machine, I faced the strange error: “Error 137″.
Thanks God, someone from Perl 6 gurus (Nicholas Clark, to be specific) helped me.
It turned out, that I have only 2 Gb RAM and 0 for swap. Counting that 1 Gb was taken by some programs, 1 Gb of free RAM was not enough to build Perl 6. Creating a swap file on 2 Gb solved problem and now I can continue my diving into the Perl 6!