Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Debian Wheezy Slurp Error #14

@technopagan

Description

@technopagan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions