Skip Menu |

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

Report information
The Basics
Id: 24098
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: theultramage [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 6.31
Fixed in: (no value)



Subject: ExtUtils::MM_Win32 produces incomplete makefiles for VS2005
VS2005 added a mechanism to cope with dll hell by using manifest files (either embedded or external). These inform the system which dll to pick. But for some reason perl doesn't work with the external type and the built modules just won't load - missing msvcr80.dll (breaking everything in the process). To allow windows users to build dll files properly, this action has to be performed: mt.exe -manifest $@.manifest -outputresource:$@;#2 (I added this as a hack after the $(LD) step in dynamic_lib; VS2005 detection is needed for a proper fix, of course)
From: theultramage [...] gmail.com
A followup: Microsoft describes what to do in detail http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx
On Tue Dec 26 08:01:59 2006, theultramage wrote: Show quoted text
> VS2005 added a mechanism to cope with dll hell by using manifest files > (either embedded or external). These inform the system which dll to > pick. But for some reason perl doesn't work with the external type and > the built modules just won't load - missing msvcr80.dll (breaking > everything in the process). > > To allow windows users to build dll files properly, this action has to > be performed: > mt.exe -manifest $@.manifest -outputresource:$@;#2 > > (I added this as a hack after the $(LD) step in dynamic_lib; VS2005 > detection is needed for a proper fix, of course)
A change like this has already been made in bleadperl (core change #29266): http://public.activestate.com/cgi-bin/perlbrowse/p/29266 and has also been incorporated into what will be the next version of ExtUtils-MakeMaker already: http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk/lib/ExtUtils/MM_Win32.pm