Subject: | IP-Country install broken for first time install |
During the make process bin/ip2cc.PL issues the calls:
use IP::Country;
my $reg = IP::Country->new();
These will not work if IP::Country is being installed for the first time!! As a result, "make" fails since IP::Country hasn't been installed yet and so cannot be found in @INC:
/usr/local/bin/perl bin/ip2cc.PL bin/ip2cc
Can't locate IP/Country.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/i6
86-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at bin/ip2cc.PL line 3.
BEGIN failed--compilation aborted at bin/ip2cc.PL line 3.
make: *** [bin/ip2cc] Error 2
This is in the latest version (2.19) obtained from CPAN during an attempted installation of IP::Country::Fast. It appears that the only reason these calls exist in ip2cc is to get the current version of IP::Country which is what is being installed. Shouldn't this be hard-coded?
My machine is running Perl 5.8.0 and Linux kernel 2.4.2-2.
I'd appreciate being emailed when a corrected version is posted. Thanks.