Is it possible to compile/install Perl6 on a Raspberry Pi 3?

UPDATE

Yes.

I built "Raku" Perl (2018.10) on my Raspberry Pi 3B+ this weekend. I first installed swapspace as before. The build took more than one hour -- I'm not sure how long it took, I ran it nohup -- but it finished and I've got Raku there now.

wget https://rakudo.perl6.org/downloads/star/rakudo-star-2018.10.tar.gz
tar xfz rakudo-star-2018.10.tar.gz 
cd rakudo-star-2018.10/
sudo perl Configure.pl --gen-moar --make-install --prefix ~/rakudo
sudo make
sudo nohup make install

OLD RESPONSE

I built "Raku" Perl (2018.06) on the Pi Zero W back in August. I had to run swapspace, and the build took hours, but now I have Perl6 on three Rpi Zero W's.

Highlights of the build, as I remember them:

405  wget https://rakudo.perl6.org/downloads/star/rakudo-star-2018.06.tar.gz
407  tar xfz rakudo-star-2018.06.tar.gz 
411  cd rakudo-star-2018.06/
413  sudo perl Configure.pl --gen-moar --make-install --prefix ~/rakudo
433  sudo make
450  sudo nohup make install

You might try and increase the swap space, as indicated in this answer in the RasPi SO. It's going to be slow, however, but once it's built, it's built for good, I guess.


That's too little RAM. When I compile for x86_64, I need about 1400 MiB.

Try a beefier machine for arm, you can get one on OBS for free.