Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline::Module::Tutorial: Is [InlineModule] compatible with [MakeMaker]? #32

Open
van-de-bugger opened this issue Apr 5, 2015 · 0 comments

Comments

@van-de-bugger
Copy link

https://metacpan.org/pod/Inline::Module::Tutorial#Dist::Zilla

For Dist::Zilla, install Dist::Zilla::Plugin::InlineModule and add this to your dist.ini file:

[InlineModule]
module = Acme::Math::XS
stub = Acme::Math::XS::Inline
ilsm = Inline::C

Again, the last 2 lines are defaults. You can use any of the keywords multiple times.

I am trying to follow the instruction. When I run dzil build I have error:

[DZ] attempt to add Makefile.PL multiple times; added by: content added by MakeMaker (Dist::Zilla::Plugin::MakeMaker line 131); content set by MakeMaker (Dist::Zilla::Plugin::MakeMaker line 298); content set by MakeMaker::Awesome (Dist::Zilla::Plugin::MakeMaker::Awesome line 411); content added by InlineModule (Dist::Zilla::Plugin::MakeMaker::Awesome line 372)
aborting; duplicate files would be produced at /home/vdb/.usr/lib/perl5/Dist/Zilla/App/Command/build.pm line 66.

It seems [InlineModule] is not compatible with [MakeMaker]. And so, [InlineModule] is not compatible with [@Basic] and [@Classic] too.

In order to avoid this error, I had to "expand" [@Basic] and comment out [MakeMaker].

If this problem cannot be avoided, I think it is worth to mention it in the Tutorial.

Dist::Zilla 5.034
Dist::Zilla::Plugin::InlineModule 0.07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant