develooper Front page | perl.perl6.users | Postings from May 2020

the state of the build and install instructions

Thread Next
From:
Joseph Brenner
Date:
May 14, 2020 20:08
Subject:
the state of the build and install instructions
Message ID:
CAFfgvXWBnn9Hu98WT=ziMsF1B+B1LcM7aOAaGhMfQ4BnKeueCw@mail.gmail.com
I'm having trouble doing a build of raku from github.  Could it
be the INSTALL.txt file is out-of-date?

I was trying to build a "bleeding edge" Raku using the
instructions here:

  https://github.com/rakudo/rakudo/blob/master/INSTALL.txt

So I thought I'd just need to do this:

  cd /home/doom/End/Sys/Perl6/dev
  git clone git://github.com/rakudo/rakudo.git
  cd rakudo
  git pull
  perl Configure.pl --gen-moar --gen-nqp --backends=moar
  make

  pwd
  /home/doom/End/Sys/Perl6/dev/rakudo

  ./perl6 --version

But actually, there is no ./perl6 here.  And I don't see a
"Generating" message for it:

  [...]
  +++ Generating	rakudo-gdb-m
  +++ Generating	rakudo-lldb-m
  +++ Generating	rakudo-valgrind-m
  +++ Generating	perl6-gdb-m
  +++ Generating	perl6-lldb-m
  +++ Generating	perl6-valgrind-m

Trying something that looks close, I just get this an error:

  ./perl6-gdb-m --version

  Unhandled exception: While looking for
'/home/doom/End/Sys/Perl6/dev/rakudo/perl6.moarvm': no such file or
directory

That file doesn't exist... so despite the --gen-moar option, it
wasn't created?

  sudo updatedb
  locate perl6.moarvm

  /home/doom/End/Sys/Perl6/rakudo-star-2019.03/rakudo/perl6.moarvm
  /home/doom/End/Sys/Perl6/rakudo-star-2020.01/rakudo/perl6.moarvm
  /root/rakudo/share/perl6/runtime/perl6.moarvm

The INSTALL.txt describes a --with-moar option, so I thought I
might try building with an existing moarvm:

  cd /home/doom/End/Sys/Perl6/dev/rakudo
  perl Configure.pl
--with-moar=/home/doom/End/Sys/Perl6/rakudo-star-2020.01/rakudo/perl6.moarvm
--gen-nqp --backends=moar
  make

But that just errors out:

  Unknown option: with-moar

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About