Re: [Geoip-perl] Can't locate object method "bootstrap"
Brought to you by:
tjmather
From: Thomas J M. <tjm...@ma...> - 2006-02-28 05:56:56
|
Sounds like the issue is with your configuration of Perl, since bootstrap method is outside of GeoIP. You could try the Geo::IP::PurePerl module and see if that works. A search for Can't locate object method "bootstrap" on Google returns some results. -TJ ----- Original message ----- From: "Pathik" <pa...@ya...> To: geo...@li... Date: Mon, 27 Feb 2006 10:53:44 -0800 (PST) Subject: [Geoip-perl] Can't locate object method "bootstrap" Hi I am trying to install Geo IP Perl from http://www.maxmind.com/app/perl I installed the GeoIP C API Lib fine, no errors. But when I try to install the Geo::IP Perl Module I get and error. "perl Makefile.pl" runs okay "make" runs okay "make test" give the following error: --- PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0_base............Can't locate object method "bootstrap" via package "Geo::IP" at /home/packages/Geo-IP-1.27/blib/lib/Geo/IP.pm line 10. BEGIN failed--compilation aborted at /home/packages/Geo-IP-1.27/blib/lib/Geo/IP.pm line 11. BEGIN failed--compilation aborted at t/0_base.t line 7. dubious Test returned status 255 (wstat 65280, 0xff00) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/Test/Harness.pm line 288. make: *** [test_dynamic] Error 255 --- I dont know what 'Can't locate object method "bootstrap"' means or how to fix it. I removed the BEGIN{ } $VERSION = '1.27'; bootstrap Geo::IP $VERSION; And ran the "make test" I get this:-- PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0_base............ok t/1_lookup..........ok t/2_namelookup......ok t/3_mirror..........Use of reserved word "our" is deprecated at /home/packages/Geo-IP-1.27/blib/lib/Geo/Mirror.pm line 10. Global symbol "%lat" requires explicit package name at /home/packages/Geo-IP-1.27/blib/lib/Geo/Mirror.pm line 10. Global symbol "%lon" requires explicit package name at /home/packages/Geo-IP-1.27/blib/lib/Geo/Mirror.pm line 10. Global symbol "$geo_ip_pkg" requires explicit package name at /home/packages/Geo-IP-1.27/blib/lib/Geo/Mirror.pm line 10. BEGIN not safe after errors--compilation aborted at /home/packages/Geo-IP-1.27/blib/lib/Geo/Mirror.pm line 21. BEGIN failed--compilation aborted at t/3_mirror.t line 10. dubious Test returned status 255 (wstat 65280, 0xff00) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/Test/Harness.pm line 288. make: *** [test_dynamic] Error 255 I am trying to test this software and see how it works I am interested in purchasing the License for more accurate details. Thank you. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Geoip-perl mailing list Geo...@li... https://lists.sourceforge.net/lists/listinfo/geoip-perl |