Can't locate PAR.pm in @INC
-
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.
-
-
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.6sudo 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.8Everithing is working fine now.
Thanks so much.
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