jpegrescan icon indicating copy to clipboard operation
jpegrescan copied to clipboard

Debian Wheezy Slurp Error

Open technopagan opened this issue 11 years ago • 0 comments

Hi!

The following error was reported to me as I'm maintaining a tool that builds upon jpegrescan:

"I installed the program and its dependencies on Debian Wheezy. The Perl Slurp.PM installed by default into /usr/local/share/perl/5.14.2/Slurp.pm, however, line 5 of jpegrescan is "use File::Slurp;" resulting in the following error:

Can't locate File/Slurp.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/joe/bin/jpegrescan line 5. BEGIN failed--compilation aborted at /home/joe/bin/jpegrescan line 5.

I was able to resolve the issue by creating /usr/local/share/perl/5.14.2/File and placing a soft link there pointing to /usr/local/share/perl/5.14.2/Slurp.pm. You may want to alter jpegrescan to accommodate this glitch."

Since I'm currently lacking the time to fork & patch this issue myself, I'm putting it up here for the sake of documentation and with the good intention of commiting a fix for it some day.

technopagan avatar Jun 09 '14 11:06 technopagan