Subject: | Can't locate object method "parsesource_objects" via package "ExtUtils::XSBuilder::TypeMap" |
Can't locate object method "parsesource_objects" via package "ExtUtils::XSBuilder::TypeMap"
(perhaps you forgot to load "ExtUtils::XSBuild::TypeMap"?)
at C:/Perl/site/lib/ExtUtils/XSBuilder/MapUtil.pm line 91.
Here is a simple fix
BEGIN{
*ExtUtils::XSBuilder::TypeMap::parsesource_objects =
\&ExtUtils::XSBuilder::WrapXS::parsesource_objects;
}; ##PodMaster
This however results in
Write xsbuilder\maps/new_function.map...
open xsbuilder\maps/new_function.map: No such file or directory at C:/Perl/site/lib/ExtUtils/XSBuilder/MapUtil.pm line 250.
If the maps directory does not exist, it should be created
before attempting to create missing .map files.
Cheers