Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Can't locate PAR.pm in @INC

Can't locate PAR.pm in @INC

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 1.0k Views
  • 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.
  • J
    J
    jcqb
    wrote on last edited by
    #1

    Hello, I will appreciate one hand with this. The main info of my installation is:

    Ubuntu 12.04.2
    Linux 3.5.0-32-generic x86_64 GNU/Linux
    Asterisk 11.4.0

    • No FreePBX or other distro, just plain Asterisk
    • AMI is up and running

    I downloaded: fop2-2.27-debian-x86_64.tgz and then "sudo make install" without errors.

    When I test the installation, get this error:

    $ /usr/local/fop2/fop2_server --test

    Can't locate PAR.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at -e line 942.

    I've realized that I have perl 5.14.2 and not 5.8.8. I think this is why PAR.pm can't be found.

    How can I change to address the right version/files?

    Your help is appreciated.

    JC.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Try removing the directory /tmp/par-root if you have it...

      rm -rf /tmp/par-root

      then try again,

      1 Reply Last reply
      0
      • J
        J
        jcqb
        wrote on last edited by
        #3

        I removed /tmp/par-root and also created these links:

        sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6
        sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6

        sudo ln -s /usr/lib/perl/5.14.2 /usr/lib/perl/5.8.8
        sudo ln -s /usr/local/share/perl/5.14.2 /usr/local/share/perl/5.8.8
        sudo ln -s /usr/local/lib/perl/5.14 /usr/local/lib/perl/5.8
        sudo ln -s /usr/share/perl/5.14 /usr/share/perl/5.8

        Everithing is working fine now.

        Thanks so much.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups