Subject: | don't know how to make test_dynamic on BSD |
Date: | Sat, 17 Sep 2016 21:22:37 -0600 |
To: | bug-ExtUtils-MakeMaker [...] rt.cpan.org |
From: | Joel Maslak <jmaslak [...] antelope.net> |
I think this is similar to
https://rt.cpan.org/Public/Bug/Display.html?id=117800
Net::Patricia fails during make on various *BSDs due to a "don't know how
to make test_dynamic" when using a newer ExtUtils::MakeMaker. I know that
MakeMaker 7.10 works, and that 7.15 and 7.24 do not on OpenBSD or FreeBSD.
Linux can make the modules fine with any of these versions.
Here's a sample error report:
http://www.cpantesters.org/cpan/report/537b842c-1191-11e6-9ed7-1b146f6fba58
There is an existing Makefile in a subdirectory that is executed by this
stanza in the Makefile.PL of Net::Patricia:
sub MY::postamble {
'
$(MYEXTLIB): libpatricia/Makefile
cd libpatricia && $(MAKE) $(PASSTHROUGH)
';
}
Obviously adding empty test_dynamic and test_static targets to the existing
Makefile solves this issue, but since it broke on upgrade of MakeMaker, I
thought I'd file a bug here since it's likely breaking other distro
installs.