This repository was archived by the owner on Oct 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Just cant get script to run past line 12 #33
Comments
I can confirm that I am having the exact same error. I am trying to run this from an Arch based machine (Manjaro), not a Raspberry pi, if that helps at all; since I am just trying to generate the block list for my use case. My terminal output: "Can't locate Archive/Zip.pm in @inc (you may need to install the Archive::Zip module) (@inc contains: /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at ./create_blocklist_porn.pl line 12. Any help much appreciated. |
Your missing a Perl library. Try installing this for Arch Linux. There
will likely be others that you will also have to install. Arch Linux
doesn’t have the same Perl environment setup by default.
https://archlinux.org/packages/extra/any/perl-archive-zip/
If you search for <package>.pm Arch Linux, you should be able to track down
the packages that you are missing.
…On Tue, Apr 20, 2021 at 6:31 PM se7enge ***@***.***> wrote:
I can confirm that I am having the exact same error. I am trying to run
this from an Arch based machine (Manjaro), not a Raspberry pi, if that
helps at all; since I'm just trying to generate the block list for my use
case.
My terminal output:
"Can't locate Archive/Zip.pm in @inc <https://github.com/inc> (you may
need to install the Archive::Zip module) ***@***.*** <https://github.com/inc>
contains: /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl
/usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at ./
create_blocklist_porn.pl line 12.
BEGIN failed--compilation aborted at ./create_blocklist_porn.pl line 12."
Any help much appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARXQYNYINMNIU4ON57CFI5DTJX6F7ANCNFSM4WRHAVPQ>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error I get is:
Can't locate Archive/Zip.pm in @inc (you may need to install the Archive::Zip module) (@inc contains: /home/pi/git/my-pihole-blocklists/ /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at ./create_blocklist_porn.pl line 12.
BEGIN failed--compilation aborted at ./create_blocklist_porn.pl line 12.
I followed the below steps as best as I understood them. No issues installing Array::Utils. Not sure I understand the second step around 'export' in any case the script stops at trying to import Archive::Zip
Array::Utils (install via sudo perl -MCPAN -e 'install Array::Utils' aslo you may needed to use export PERL5LIB= after installing Array::Utils to add path to the library)
The text was updated successfully, but these errors were encountered: