On Thu Jun 11 18:32:21 2009, CSJEWELL wrote:
Show quoted text> I'll attach the Build.PL log now, and I'll get a Makefile.PL log to you
> soon (most likely tomorrow - I'll have figure out how to stop Strawberry
Well, here are the bits that are useful:
Generating script 'lib\version\version.lds'
dlltool --def "lib\version\version.def" --output-exp
"lib\version\version.exp"
g++ -o "blib\arch\auto\version\vxs\vxs.dll"
-Wl,--base-file,"lib\version\version.base" -Wl,--image-base,0x12140000
-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
"lib\version\version.lds" "lib\version\version.exp"
dlltool --def "lib\version\version.def" --output-exp
"lib\version\version.exp" --base-file "lib\version\version.base"
g++ -o "blib\arch\auto\version\vxs\vxs.dll" -Wl,--image-base,0x12140000
-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"
"lib\version\version.lds" "lib\version\version.exp"
and
lib\version\version.exp:fake:(.edata+0x38): undefined reference to
`boot_version'
lib\version\version.exp:fake:(.edata+0x3c): undefined reference to
`boot_version'
collect2: ld returned 1 exit status
lib\version\version.exp:fake:(.edata+0x38): undefined reference to
`boot_version'
lib\version\version.exp:fake:(.edata+0x3c): undefined reference to
`boot_version'
collect2: ld returned 1 exit status
It is trying to use the XS code and falling over; further test failures
are caused by trying to use the pure Perl code instead. I'm not
surprised that it would cause crashing.
There may be more useful information a complete build log (not just the
testing). I suspect it is something to do with the fact that Strawberry
uses g++ for everything and whatever Module::Build is doing isn't
working right.
However, I don't know why the Makefile.PL code works (other than it
being a more mature tool on Win32), so I think the solution would be:
1) install the pure Perl code instead (--perl_only to either the
Build.PL or Makefile.PL);
2) stick with the Makefile.PL instead.
Since this is really a Module::Build issue rather than a version.pm
issue, I'm closing this ticket as WONTFIX. If I have time, I'll try to
get Strawberry installed on a Win32 VM and try and research this some
more, but there are a lot of more important things vying for attention
at the moment... ;-)
John