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

trouble with ExtUtils::MakeMaker 7.06 #56

Closed
kmx opened this issue Sep 7, 2015 · 2 comments
Closed

trouble with ExtUtils::MakeMaker 7.06 #56

kmx opened this issue Sep 7, 2015 · 2 comments

Comments

@kmx
Copy link

kmx commented Sep 7, 2015

EU::MM 7.06 causes Inline::C to fail like this ingydotnet/inline-c-pm#49

My investigation revealed that the following patch to Inline module fixes the above mentioned failure

diff -ru Inline-0.80/lib/Inline/MakeMaker.pm Inline-0.80_patched/lib/Inline/MakeMaker.pm
--- Inline-0.80/lib/Inline/MakeMaker.pm 2015-03-14 03:04:06.000000000 +0100
+++ Inline-0.80_patched/lib/Inline/MakeMaker.pm 2015-09-07 23:37:04.698282200 +0200
@@ -97,7 +97,7 @@
         # the subdivision in hashes is done to avoid {}, which break dmake
         print MAKEFILE <<MAKEFILE;
 $obj_rules[$_] : pm_to_blib
-\t\$(PERL) -Mblib -MInline=NOISY,_INSTALL_ -M$objects[$_] -e"my %A = (modinlname => '$obj_rules[$_]', module => '$objects[$_]'); my %S = (API => \\%A); Inline::satisfy_makefile_dep(\\%S);" $version \$(INST_ARCHLIB)
+\t\$(PERLRUNINST) -MInline=NOISY,_INSTALL_ -M$objects[$_] -e"my %A = (modinlname => '$obj_rules[$_]', module => '$objects[$_]'); my %S = (API => \\%A); Inline::satisfy_makefile_dep(\\%S);" $version \$(INST_ARCHLIB)
 MAKEFILE
     }
@Leont
Copy link

Leont commented Apr 22, 2016

-Mblib relies on blib/arch and blib/lib existing, I'm guessing something changed in the ordering of things and now there's no dependency anymore between pm_to_blib and $(INST_ARCHDIR).exists or $(INST_ARCHAUTODIR).exists

@mohawk2
Copy link
Collaborator

mohawk2 commented Apr 2, 2019

@kmx Is this still true? Please reopen if so!

@mohawk2 mohawk2 closed this as completed Apr 2, 2019
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

3 participants