in reply to Re: site_perl files
in thread site_perl files

Dear Rob, Thank you so much for your reply. Basically, I have been trying to run a WBSA package written in Java, but it integrates Perl libraries for genomic analysis and in bash_profile the followings written (author version): export PERL5LIB=/software/R-2.15.3/lib64/R/library/RSPerl/perl/x86_64-linux-thread-multi:/software/perl5.10/lib/5.10.1:/software/perl5.10/lib/site_perl: At this point we have not been unable to start the package working correctly but I have been trying to. It was originality tested on CentOS 6.3 with Perl 5.10. We have CentOS 7 with Perl version 5.16. I wanna stay with the original paths written in bash_profile but I was unable to find the folder: site_Perl.

Replies are listed 'Best First'.
Re^3: site_perl files
by roboticus (Chancellor) on Jul 20, 2018 at 15:39 UTC

    yaklichk0719:

    It appears from the PERL5LIB variable that it's expecting you to be using RSPerl. Have you installed that? It may provide the missing piece(s) you're looking for. I did a quick search and found it at http://www.omegahat.net/RSPerl.

    Update: fixed link to RSPerl (missing slashes)

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

      I tried to installed RSPerl but I am getting. I put the compressed file in /software/R-2.15.3/library and tried to install using the command: R CMD INSTALL RSPerl_0.92-1.tar.gz

      I am getting an error:

      Converters.c: At top level: Converters.c:1037: error: expected ‘)’ before ‘*’ token Converters.c:1078: error: expected ‘)’ before ‘*’ token make: *** [Converters.o] Error 1 ERROR: compilation failed for package ‘RSPerl’ * removing ‘/usr/local/lib64/R/library/RSPerl’
      I wonder what the problem could be? Should I re-install R?

      2018-07-25 Athanasius added code and paragraph tags

        I've never heard of RSPerl but this doesn't look like a perl problem. If you are looking to work with R from perl have you considered something like Statistics::R?

        yaklichk0719:

        Sorry, but I don't know anything about RSPerl, other than looking it up when you mentioned your problem. Looking at the error messages you posted, though, it looks like RSPerl isn't compiling properly. Since RSPerl is an R to Perl interface, and the internals of perl change from version to version, I'd suspect that RSPerl is only going to compile properly for particular versions of perl. You might either:

        • See if you can find an R/RSPerl/Perl installation that's already configured nicely (such as for a virtual machine environment),
        • or possibly read the docs on RSPerl and find out what versions of perl it's compatible with, and use perlbrew or something to put that version of perl into place, and try again.

        Sorry I can't offer any better information than that, but I'm not planning on installing R and RSPerl on my machine in the near future.

        ...roboticus

        When your only tool is a hammer, all problems look like your thumb.