And what should be done so Rakudo (Star) does not depend on the location in filesystem?
This directory contains only the Rakudo compiler itself; it does not contain any of the modules, documentation, or other items that would normally come with a full Raku distribution. If you're after more than just the bare compiler, please download the latest Rakudo Star package.
The Rakudo Star Bundle contains the Rakudo Compiler, a collection of modules from the Raku ecosystem , and the language documentation . It is released shortly after new Rakudo releases and can also be found on GitHub . You can also download one of the older releases. Install the Rakudo Star Bundle using your favourite package manager.
It is currently the only major Raku compiler in active development . Originally developed within the Parrot project, the Rakudo source code repository was split from the project in February 2009 so that it could be developed independently, although there were still many dependencies at the time.
This is Rakudo, a Raku Programming Language compiler for the MoarVM, JVM and Javascript virtual machines. Rakudo is Copyright © 2008-2022, Yet Another Society. Rakudo is distributed under the terms of the Artistic License 2.0. For more details, see the full text of the license in the file LICENSE.
Some time in 2019 Rakudo gained the ability to be relocatable. So there is now no technical limitation anymore.
As of today no installers that allow to choose the installation location have been provided yet though.
As it currently stands Rakudo depends on the absolute installation path in several places including the binaries. Rakudo Star must install to that exact location (C:\rakudo) because that path is compiled into the binaries.
Making Rakudo independent of its FS location (aka portable) is possible, but simply not yet implemented.
It takes someone familiar with the Wix windows installer to change its XML config file.
https://github.com/rakudo/star/blob/master/tools/build/star-product.wxs#L6
This is just a hack and not a real solution, but it's possible to create a junction or, if you don't have C:
drive at all, use subst
command to still make Rakudo work without really putting it under the hardcoded directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With