Package Details: perl-geo-distance 0.25-1

Git Clone URL: https://aur.archlinux.org/perl-geo-distance.git (read-only, click to copy)
Package Base: perl-geo-distance
Description: Geo::Distance - Perl interface to calculate geo distance from latitude and longitude
Upstream URL: https://metacpan.org/release/Geo-Distance
Licenses: GPL, PerlArtistic
Submitter: eworm
Maintainer: eworm
Last Packager: eworm
Votes: 3
Popularity: 0.005250
First Submitted: 2010-07-29 23:33 (UTC)
Last Updated: 2021-07-09 06:28 (UTC)

Latest Comments

dreieck commented on 2022-02-19 08:20 (UTC)

It needs to depend on perl-gis-distance.

Line 7 of /usr/share/perl5/vendor_perl/Geo/Distance.pm contains:

use GIS::Distance;

and software that needs perl-geo-distance fails with the following output, if perl-gis-distance is not present:

Can't locate GIS/Distance.pm in @INC (you may need to install the GIS::Distance module) (@INC contains: /usr/lib/perl5/5.34/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.34/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.34/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/Geo/Distance.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Geo/Distance.pm line 7.
Compilation failed in require at /usr/share/perl5/vendor_perl/Travel/Status/DE/IRIS/Stations.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Travel/Status/DE/IRIS/Stations.pm line 13.
Compilation failed in require at /usr/bin/vendor_perl/db-iris line 19.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/db-iris line 19.

Thanks for maintaining and adding that dependency!

(Much better would be if you could pack Geo::Distance without the need for GIS::Distance, since the latter is problematic to install. But this may be beyond your scope.)