Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 14681
Status: resolved
Worked: 30 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: ETJ [...] cpan.org
Requestors: jesus [...] omniti.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 7.05_05



To: makemaker [...] perl.org
CC: Theo Schlossnagle <jesus [...] omniti.com>
Subject: makemaker FAQ
From: Theo Schlossnagle <jesus [...] omniti.com>
Date: Wed, 10 Aug 2005 14:36:14 -0400
The MakeMaker FAQ talks about chaining bootstraps: Module1: BOOT: boot_Module1(aTHX_ cv); It implies you could do (inside of mybase): BOOT: boot_mybase__Foo(aTHX_ cv); boot_mybase__Bar(aTHX_ cv); boot_mybase__Quux(aTHX_ cv); boot_mybase__Bang(aTHX_ cv); This isn't the case. Those boots use ST(0) as input and set it using XSRETURN_YES. So, the first call clobbers it for the second. I think you need to: PUSHMARK(SP); PUTBACK; boot_.... SPAGAIN; PUTBACK; around each call. Thoughts? // Theo Schlossnagle // Principal Engineer -- http://www.omniti.com/~jesus/ // OmniTI Computer Consulting, Inc. -- http://www.omniti.com/ // Ecelerity: fastest MTA on Earth
Theo, Not sure if you're still interested or this email still works. These are a pretty decent way of addressing this specific problem: https://metacpan.org/pod/Gtk2::CodeGen https://metacpan.org/pod/Glib::CodeGen A change to the docs to reflect this has now been patched in: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/26b8aa59ed07d7987836db07063629b016794dba A more general one is in the works: https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/168