Issues running FOP2 on Centos6.5

Hi,

I have FOP2 running on Centos 5 and it works well for 3+ years.

I'm in the process of setting up a new PBX server, which is a Centos 6.5 VM. I have installed fop2-2.28-centos-x86_64.tgz.

Upon running the server binary, I get the following error:
[vagrant@localhost fop2]$ ./fop2_server --help
Can't locate PAR.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at -e line 942.

I have version 5.10.1 of perl:
[vagrant@localhost fop2]$ perl --version
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

I have found various posts in the forum referring to http://www.fop2.com/documentation-faq.php, but this doesn't seem to offer any details regarding Centos 6.

Any help would be much appreciated,

Thanks.

Comments

  • Hi,

    I have tested 2.28 rpm with centos 6 *and* 7 and it worked fine. Not sure what problem you might be having. Just to be sure, I have created a centos 6.5 64 bits image on Digital Ocean, installed apache, installed wget, download fop 2.28, ran make and then run ./fop2_server and worked just fine. In fact, *perl was not installed*. Then I tried installed perl via yum, and tried again, and worked once more time. With the same version you have
    [root@centos65 fop2]# perl --version
    
    This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
    
    

    So, I am not sure what could have happened. Perhaps the par-root directory was created incorrectly try removing it
    rm -rf /tmp/par-root
    

    And then try to run fop2_server again

    best regards,
Sign In or Register to comment.