awstats & perl & rpi2

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

awstats & perl & rpi2

Postby lolop » Wed Jul 06, 2016 9:53 pm

Hello,

I have a problem about using awstats on raspberry 2 and the last update.

He told me not to find the modules Geo :: IP or Geo :: IP :: PurePerl.
I installed the perl-aur geoip package and I have many files:

[Lolop rasp @: ~ / tmp / perl] locate IP.pm PurePerl.pm
/usr/share/perl5/core_perl/PurePerl.pm
/usr/share/perl5/core_perl/IO/Socket/IP.pm
/usr/share/webapps/awstats/cgi-bin/lib/PurePerl.pm

If you could enlighten me, maybe I need to change something in my awstats configuration.

Thank you

ps: the error message when I load the page:

Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/IP.pm in @INC (you may need to install the Geo::IP module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /usr/share/webapps/awstats/cgi-bin/lib /usr/share/webapps/awstats/cgi-bin/plugins) at (eval 2) line 1. Can't locate Geo/IP/PurePerl.pm in @INC (you may need to install the Geo::IP::PurePerl module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /usr/share/webapps/awstats/cgi-bin/lib /usr/share/webapps/awstats/cgi-bin/plugins) at (eval 3) line 1. Error: Need Perl module Geo::IP or Geo::IP::PurePerl
lolop
 
Posts: 6
Joined: Thu Jan 21, 2016 9:59 pm

Re: awstats & perl & rpi2

Postby lolop » Sat Jul 23, 2016 4:05 pm

I still do not understand.
I updated the aur package in version 1.50, but still the same.
I also installed with the help of cpan in case, but hey, such :(

$this->bbcode_second_pass_code('', 'root @ # cpan rasp Geo :: IP :: Geo :: IP PurePerl
Geo :: IP :: PurePerl is up to date (1.26).
Geo :: IP is up to date (1.50).')
lolop
 
Posts: 6
Joined: Thu Jan 21, 2016 9:59 pm

Re: awstats & perl & rpi2

Postby lolop » Sat Jul 23, 2016 8:30 pm

corrected with a person who has a PKGBUILD in the comments:
Mober commented on 2016-06-07 2:16 p.m.
lolop
 
Posts: 6
Joined: Thu Jan 21, 2016 9:59 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests