niner/Inline-Perl5

Apparently this can't be installed using zef

Closed this issue · 6 comments

JJ commented

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.

I also have the same issue.

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

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

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

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

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"?