Installing Perl 6 modules failed - compiler not available for Perl v6.c

I installed Rakudo, a Perl 6 interpreter, by:

sudo apt-get install rakudo

I follow the instructions for installing Perl 6 modules:

http://perl6maven.com/how-to-install-perl6-modules

And in the last step, I get this error:

perl6 bootstrap.pl===SORRY!=== Error while compiling /home/daniel/test/panda/bootstrap.pl
No compiler available for Perl v6.c
at /home/daniel/test/panda/bootstrap.pl:3
------> use v6.c⏏;

Version Information:

Ubuntu 16.04.2 LTS
This is perl6 version 2015.11 built on MoarVM version 2015.11

How to install the missing compiler?

+6
source share
2 answers

If you are comfortable installing your own software from a source, try the following (update the URL of the last Rakudo star from https://rakudo.perl6.org/downloads/star/ ):

wget -O rakudo-star-2017.07.tar.gz https://rakudo.perl6.org/downloads/star/rakudo-star-2017.07.tar.gz
tar -xvf rakudo-star-2017.07.tar.gz
cd rakudo-star-2017.07
perl Configure.pl --backend=moar --gen-moar
make
make rakudo-test
make install

Then add the following paths to yours $PATH(replacing /path/towith the actual path, of course):

/path/to/rakudo-star-2017.07/install/bin
/path/to/rakudo-star-2017.07/install/share/perl6/site/bin

:

#%Module1.0
## Metadata ###########################################
set this_module   rakudo-star
set this_version  2017.07
set this_root     /path/to/$this_module/$this_module-$this_version/install
set this_docs     http://rakudo.org/documentation/

#######################################################
## Module #############################################
proc ModulesHelp { } {
        global this_module this_version this_root this_docs
        puts stderr "$this_module $this_version"
        puts stderr "****************************************************"
        puts stderr " $this_docs"
        puts stderr "****************************************************\n"
}

module-whatis   "Set up environment for $this_module $this_version"

prepend-path  PATH  $this_root/bin
prepend-path  PATH  $this_root/share/perl6/site/bin
+2

. , , Ubuntu .

Panda, , . zef Perl.

Perl . issue 380 6.c.

Perl, 6.c, on Ubuntu :

http://linuxtot.com/installing-perl-6-on-debian-or-ubuntu/

rakudo -v :

This is Rakudo version 2017.07-132-gabf1cfe built on MoarVM version 2017.07-318-g604da4d
implementing Perl 6.c.

.


, :

apt-get install build-essential git libssl-dev
git clone https://github.com/tadzik/rakudobrew ~/.rakudobrew
echo 'export PATH=~/.rakudobrew/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
rakudobrew build moar
rakudobrew build zef

, perl6:

zef install Module::Name
+6

All Articles