Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • potterbond007
    Junior Member
    • Jul 2014
    • 6

    Some problem with the perl wrapper in mirdeep2

    I am finding it hard to get the make_html.pl file working for mirdeep2. I was adviced to install the module separately and give a path to it. This is the example given in the Readme file.

    echo 'export PERL5LIB=PERL5LIB:your_path_to_miRDeep2/lib/perl5/site_perl/5.x/' >> ~/.bashrc

    After editing my path and my perl version 5.14.2 I changed it to

    echo 'export PERL5LIB=PERL5LIB:/home/lib-11/Downloads/mirdeep2/lib/perl5/site_perl/5.14.2/' >> ~/.bashrc and executed it.

    however I am unsure as to what they mean by site_perl. Following some advice from earlier question, I put the command perl -V and got the result.

    Built under linux
    Compiled at Feb 4 2014 22:52:09
    %ENV:
    PERL5LIB="/home/lib-11//Downloads/mirdeep2/lib/PDF:/home/lib-11//Downloads/mirdeep2/lib/PDF"
    @INC:
    /home/lib-11//Downloads/mirdeep2/lib/PDF
    /home/lib-11//Downloads/mirdeep2/lib/PDF
    /etc/perl
    /usr/local/lib/perl/5.14.2
    /usr/local/share/perl/5.14.2
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.14
    /usr/share/perl/5.14
    /usr/local/lib/site_perl


    Whenever I try to run perl_html.pl, I get the error

    Can't locate PDF/API2.pm in @INC (@INC contains: /home/lib-11//Downloads/mirdeep2/lib/PDF /home/lib-11//Downloads/mirdeep2/lib/PDF /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/lib-11/Downloads/mirdeep2/make_html.pl line 9.
    BEGIN failed--compilation aborted at /home/lib-11/Downloads/mirdeep2/make_html.pl line 9.


    How do I get the correct path and put it on @INC. Please help
    Last edited by potterbond007; 07-09-2014, 03:26 AM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    What OS are you using?

    /usr/local/lib/site_perl/ contains modules that are built and installed locally; i.e. are not part of the standard distribution. Local and standard modules are separated in this way so that a new release of the interpreter can replace the standard modules without disturbing the locally installed ones.

    Comment

    • potterbond007
      Junior Member
      • Jul 2014
      • 6

      #3
      Originally posted by GenoMax View Post
      What OS are you using?
      Ubuntu 12.04 LTS

      Comment

      • potterbond007
        Junior Member
        • Jul 2014
        • 6

        #4
        Version

        Originally posted by GenoMax View Post
        What OS are you using?
        Ubuntu 12.04 LTS

        Comment

        • potterbond007
          Junior Member
          • Jul 2014
          • 6

          #5
          Yup, I have fixed this issue. Thanks

          Comment

          Latest Articles

          Collapse

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:58 AM
          0 responses
          10 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 12:03 PM
          0 responses
          58 views
          0 reactions
          Last Post SEQadmin2  
          Working...