I’m trying to install Raku on a Debian 11 x64. I never installed it before (perl5 too)
It’s a server with some Perl5 scripts, and I want to "use" it in Raku with the Inline::Perl5 (also I want to use Perl5 Module if I don’t find what I want in Raku Module) but I can’t.
The perl5 is installed by APT, rakudo too.
When running zef install Inline::Perl5
, I get the following:
===> Searching for: Inline::Perl5
===> Searching for missing dependencies: Distribution::Builder::MakeFromJSON:ver<0.6+>
===> Searching for missing dependencies: System::Query
===> Failed to find dependencies: System::Query Failed to resolve some missing dependencies
If I try to install System::Query
with zef
, I obtain :
===> Searching for: System::Query
No candidates found matching identity: System::Query
Do you have some idea to help me ?
Thank’s a lot
2
Answers
The rakudo version you’ve installed probably does not have that one baked in. You can upgrade zef via
zef upgrade zef
. My version of zef, 0.14.5, is able to findSystem::Query
without a glitch.I occasionally reach for apt-get like this:
It is handy and works up to a point – but (as just checked) it does not do the job for Inline::Perl5. Notoriously within the raku community, the last pickup for the apt-get build pipeline coincided with a half completed move of zef into core – so, as you can see you need to install zef by hand for now (only if you go the apt-get route).
The reason for Inline::Perl5 to fail is set out in the Inline::Perl5 README.md documents is:
This section of the documents gives instructions of how to do this build.
Having been here before, I put this all into a Dockerfile that you are welcome to scavenge / use directly.
I have also just pushed an amd64 image
p6steve/raku-dan:paddle
to docker hub, so you can just go:This has cpanm too so you can grab any cpan modules you want.