Subject: | Win32 build fails |
With the change in version-0.48 to use version::vxs to avoid conflicts
with the existing VERSION.LIB on Win32, I find on Win32 (ActivePerl 813)
that the build fails because of an undefined symbol boot_version. This
comes about because the lib/version/vxs.def file contains
EXPORTS
boot_version
_boot_version = boot_version
whereas vxs.c defines boot_version__vxs. A workaround for this is
to change the module name in Build.PL:
my $m = $class->new(
module_name => 'version::vxs',
dist_name => 'version',
license => 'perl',
c_source => './vutil',
requires => {
perl => '> 5.005, !=5.9.1, !=5.9.2',
},
);
which then generates the correct .def file:
EXPORTS
boot_version__vxs
_boot_version__vxs = boot_version__vxs
and all tests subsequently pass. However, this change wouldn't
work if version::vpp was used.