[net-dns-users] 1.07 breaks local::lib installation

Rob Foehl rwf at loonybin.net
Wed Feb 8 20:18:14 UTC 2017


Just tried installing 1.07 into a local::lib directory on a system with a 
pre-1.xx release shipped as a vendor package, and ran into this:

use constant NOINSTALL => scalar eval 'require Net::DNS; 
$Net::DNS::VERSION < 1.00';

sub install {
 	return shift->SUPER::install(@_) unless NOINSTALL;

 	return <<'END';
install :
 	$(NOECHO) $(ECHO) "##	Makefile supports test build only"
 	$(NOECHO) $(ECHO) "##	(see message from Makefile.PL)"
 	$(NOECHO) $(FALSE)
END
}

[...]

warn <<"END";
##
##	The install location for this version of Net::DNS may differ
##	from the existing version $Net::DNS::VERSION in your perl library.
##
##	Version $Net::DNS::VERSION will usually occur earlier in the 
library
##	search path, rendering the upgrade installation ineffective.
##
##	The conflict can be resolved by removing the old version
##	@installed
##
##	Makefile has been generated to support build and test only.
##
END

No, the conflict cannot be resolved by removing the system version -- and 
it does not matter in the least.  Sometimes, the system package just isn't 
relevant.

Can you folks please stop arbitrarily breaking Net::DNS in increasingly 
random fashion with each release?

Please?

-Rob



More information about the net-dns-users mailing list