Perl Installation Error

  • I tried installing Perl from the command line and it errors out for me. I am on pfsense 2.2.4.

    pkg install perl5


    The following 1 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
            perl5: 5.20.3_8

    The process will require 49 MiB more space.

    Proceed with this action? [y/N]: y
    [1/1] Installing perl5-5.20.3_8…
    [1/1] Extracting perl5-5.20.3_8: 100%
    makewhatis: not found
    makewhatis: not found

    pkg: POST-INSTALL script failed
    Message from perl5-5.20.3_8:
    The /usr/bin/perl symlink has been removed starting with Perl 5.20.
    For shebangs, you should either use:



    #!/usr/bin/env perl

    The first one will only work if you have a /usr/local/bin/perl,
    the second will work as long as perl is in PATH.

Log in to reply