Menu

#83 File::Sync module issue

New
MOCAT
None
Medium
Defect
2019-03-14
2018-02-24
No

Hi, I know this is a recurrent problem, but I'm hoping you can assist me here.

Using the mock community data set, I run the following command after the preceding ones:

MOCAT.pl -sf sample -p mOTU.v1.padded -r reads.processed -identity 97 -mode mOTU -o RESULTS

Despite installing the module File::Sync as per the MOCAT install instructions, I continue to get the following error in my log:

Can't locate loadable object for module File::Sync in @INC (@INC contains: /home/pcs3118/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /home/pcs3118/perl5/lib/perl5/5.16.3 /home/pcs3118/perl5/lib/perl5/x86_64-linux-thread-multi /home/pcs3118/perl5/lib/perl5 /projects/b1051/Apps/MOCAT/src /projects/b1051/Apps/MOCAT/src /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
Compilation failed in require at /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
BEGIN failed--compilation aborted at /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
Compilation failed in require at /projects/b1051/Apps/MOCAT//src/MOCATProfiling.pl line 210.
BEGIN failed--compilation aborted at /projects/b1051/Apps/MOCAT//src/MOCATProfiling.pl line 210.

When I confirm installation of File::Sync with cpan:

CPAN: Module::CoreList loaded ok (v2.76_02)
File::Sync is up to date (0.11)

and my $PERL5LIB variable seems correct: /home/pcs3118/perl5/lib/perl5:/projects/b1051/Apps/MOCAT/src:/projects/b1051/Apps/MOCAT/src

I feel like I've just about got MOCAT2 running expect for this problem of getting @INC to properly locate File::Sync.

Thank you!

Related

Tickets: #83

Discussion

  • MOCAT

    MOCAT - 2018-02-24

    I don't know where Filr::Sync is installed when you installed it. But look
    inside all of the folders in the @INC. My guess is that somehow CPAN
    installed it into a different folder. There are some instructions on the
    download page of the official MOCAT website that you can try to (re)install
    sync module.

    On Sat, Feb 24, 2018 at 03:10 Patrick Seed pseed@users.sourceforge.net
    wrote:


    ** [tickets:#83] File::Sync module issue**

    Status: New
    Created: Sat Feb 24, 2018 02:10 AM UTC by Patrick Seed
    Last Updated: Sat Feb 24, 2018 02:10 AM UTC
    Owner: MOCAT

    Hi, I know this is a recurrent problem, but I'm hoping you can assist me
    here.

    Using the mock community data set, I run the following command after the
    preceding ones:

    MOCAT.pl -sf sample -p mOTU.v1.padded -r reads.processed -identity 97
    -mode mOTU -o RESULTS

    Despite installing the module File::Sync as per the MOCAT install
    instructions, I continue to get the following error in my log:

    Can't locate loadable object for module File::Sync in @INC (@INC contains:
    /home/pcs3118/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi
    /home/pcs3118/perl5/lib/perl5/5.16.3
    /home/pcs3118/perl5/lib/perl5/x86_64-linux-thread-multi
    /home/pcs3118/perl5/lib/perl5 /projects/b1051/Apps/MOCAT/src
    /projects/b1051/Apps/MOCAT/src /usr/local/lib64/perl5
    /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
    /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
    Compilation failed in require at
    /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
    BEGIN failed--compilation aborted at
    /projects/b1051/Apps/MOCAT/src/MOCATProfiling/Threading.pm line 6.
    Compilation failed in require at
    /projects/b1051/Apps/MOCAT//src/MOCATProfiling.pl line 210.
    BEGIN failed--compilation aborted at
    /projects/b1051/Apps/MOCAT//src/MOCATProfiling.pl line 210.

    When I confirm installation of File::Sync with cpan:

    CPAN: Module::CoreList loaded ok (v2.76_02)
    File::Sync is up to date (0.11)

    and my $PERL5LIB variable seems correct:
    /home/pcs3118/perl5/lib/perl5:/projects/b1051/Apps/MOCAT/src:/projects/b1051/Apps/MOCAT/src

    I feel like I've just about got MOCAT2 running expect for this problem of
    getting @INC to properly locate File::Sync.

    Thank you!


    Sent from sourceforge.net because you indicated interest in <
    https://sourceforge.net/p/mocat/tickets/83/>

    To unsubscribe from further messages, please visit <
    https://sourceforge.net/auth/subscriptions/>

    --
    Sent from my iPhone - apologies for any iCorrect mistakes.

     

    Related

    Tickets: #83

  • MOCAT

    MOCAT - 2019-03-14

    Hi,

    I've solved the issue on an Amazon Cloud instance by doing this:
    1. Install CPAN: sudo yum install perl-CPAN
    2. Install gcc: sudo yum install gcc
    3. Install three modules:
    cpan -i YAML
    cpan -i -f File::Sync
    cpan -i File::Slurp

     

Log in to post a comment.