niner / Inline-Perl5

Use Perl 5 code in a Raku program
Artistic License 2.0
95 stars 30 forks source link

Apparently this can't be installed using zef #154

Closed JJ closed 4 years ago

JJ commented 4 years ago

Maybe mention that in the README?

➜  Chapter-15 git:(master) ✗ zef install Inline::Perl5
===> Searching for: Inline::Perl5
===> Searching for missing dependencies: perl:from<native>, Distribution::Builder::MakeFromJSON:ver<0.6+>
===> Failed to find dependencies: perl:from<native>
Failed to resolve some missing dependencies

Perl has been installed according to instructions.

ghost commented 4 years ago

I also have the same issue.

zerodogg commented 4 years ago

It does work just fine installing from zef, but it needs the perl development headers to be present. For instance, on Debian it needs libperl-dev

JJ commented 4 years ago

It does work just fine installing from zef, but it needs the perl development headers to be present. For instance, on Debian it needs libperl-dev

Which is precisely what was said in the original post, add to README some instructions on how to install prerequisites and which ones are needed

zerodogg commented 4 years ago

It already says that in the README - https://github.com/niner/Inline-Perl5#building

tbrowder commented 4 years ago

But to be fair it could be made a bit more obvious. Emphasizing and naming the exact package name for major distros would help.

zerodogg commented 4 years ago

You're not wrong. Maybe we could compile a table of perl-dev packages? And there could be a note in DESCRIPTION along the lines of "Note that this module requires the perl development libraries in order to build. See the building section below for more information"?