Home » Linux » Can't locate ExtUtils/MakeMaker.pm

yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker

[root@dq geoip]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Geo::IPfree
[root@dq geoip]# make
cp lib/Geo/IPfree.pm blib/lib/Geo/IPfree.pm
cp lib/Geo/ipscountry.dat blib/lib/Geo/ipscountry.dat
cp lib/Geo/ipct2txt.pl blib/lib/Geo/ipct2txt.pl
cp lib/Geo/txt2ipct.pl blib/lib/Geo/txt2ipct.pl
Manifying blib/man3/Geo::IPfree.3pm
[root@dq geoip]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..5
Running under perl version 5.016003 for linux
Current time local: Wed Aug 26 23:42:49 2020
Current time GMT: Wed Aug 26 15:42:49 2020
Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
[root@dq geoip]# make install
Installing /usr/local/share/perl5/Geo/IPfree.pm
Installing /usr/local/share/perl5/Geo/ipscountry.dat
Installing /usr/local/share/perl5/Geo/ipct2txt.pl
Installing /usr/local/share/perl5/Geo/txt2ipct.pl
Installing /usr/local/share/man/man3/Geo::IPfree.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
[root@dq geoip]#

标签: centos ExtUtils Geo::IPfree

添加新评论

V