Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Perl Installation Error

    General pfSense Questions
    1
    1
    828
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kratos
      last edited by

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

      pkg install perl5

      outputs…

      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/local/bin/perl

      or

      #!/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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.