Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

Just cant get script to run past line 12 #33

Open
pneu1 opened this issue Jan 25, 2021 · 2 comments
Open

Just cant get script to run past line 12 #33

pneu1 opened this issue Jan 25, 2021 · 2 comments

Comments

@pneu1
Copy link

pneu1 commented Jan 25, 2021

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)

@se7enge
Copy link

se7enge commented Apr 20, 2021

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.
BEGIN failed--compilation aborted at ./create_blocklist_porn.pl line 12."

Any help much appreciated.

@bcroniser
Copy link

bcroniser commented Apr 20, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants