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
Failed to install via cpanm #41
Comments
Could you get the Makefile it generates for the above test, and gist it to here? |
build.log Makefile.PL Makefile Please let me know what else I can do to help fix this ASAP, it is totally broken for me, thanks! |
This could be related to HARNESS_OPTIONS=jn (where n is a number). Inline::C has never been compatible with parallel testing in the test harness. When I unset HARNESS_OPTIONS I get a clean install on ubuntu 15.04 with Perl 5.22. If that's not the issue, then I won't be able to get further with it until Zilla::Dist starts installing cleanly again. |
I do not have HARNESS_OPTIONS set as an environmental variable, and it does not appear in my code anywhere, and I have never used it myself in the past. So in my case, I do not believe HARNESS_OPTIONS is the culprit... Unless it is getting called by some other dependency of Inline::C somehow without my knowledge? |
@daoswald Some work did take place to make Inline::C test in parallel and I think at the time it worked. A test of the current (0.75) fails for me with @wbraswell are you the same person as @leetom ? I wasn't asking for the Makefile* for Inline::C, but the ones generated for the individual test that is failing. Please provide those. |
@mohawk2 https://gist.github.com/leetom/664bec009d459814b320 Here is the Makefile, and the environment is MacOS 10.10.3, Perl 5.20.2 (installed with perlbrew, default options). Thank you! |
@mohawk2 My system is Ubuntu v14.04 w/ Perl v5.18.2 ~/.cpanm/work/1434149286.7204/Inline-C-0.75/example/modules/Math-Simple-1.23/Makefile.PL ~/.cpanm/work/1434149286.7204/Inline-C-0.75/example/modules/Boo-2.01/Makefile.PL Are those the Makefiles you wanted? |
Any progress here? |
@wbraswell You do know you're allowed to look at and submit fixes for this yourself, right? |
@leetom Evidently I was unclear, sorry about that. I don't need the Makefile for Inline::C, which you have supplied. I need the Makefile the relevant test generated as part of its build. By the way, I note you have EUMM 6.98. Inline::C now requires 7.0+ to test successfully. I see Inline::C's metadata says it needs that to run, but not to test, which is an omission. Could you upgrade your EUMM to latest and see if this still occurs? |
@mohawk2 |
@mohawk2 Problem solved after I update MakeMaker to 7.04. Thank you very much! |
I can confirm this issue is solved by upgrading from ExtUtils::MakeMaker v6.66 to v7.04, this was a little tricky for me because cpanm and local::lib correctly installed v7.04 in ~/perl5 but the old v6.66 was still installed system-wide, so I had to delete ~/perl5 and use cpan (not cpanm) to install v7.04 system-wide. I believe this issue can be closed. |
@leetom You're welcome! |
I just tried to install Inline::C with cpanm (Perl 5.20.2) but failed.
Here is the error:
The text was updated successfully, but these errors were encountered: