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.
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.
Comments
rm -rf /tmp/par-root
then try again,
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.