Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Installation fails despite depndenices are already installed

by dolevrahat (Initiate)
on Apr 16, 2018 at 19:08 UTC ( [id://1213019]=perlquestion: print w/replies, xml ) Need Help??

dolevrahat has asked for the wisdom of the Perl Monks concerning the following question:

Hello I am attempting to install The Bio:DB:HTS moudle.
After cloning the Bio:DB:HTS github repository I have attempted to install required dependencies using:

sudo cpanm --installdeps --force ./BioDBHTS/
I then get the following error message:
"Installing the dependencies failed: Installed version (0.4003) of Mod +ule::Build is not in range '0.42'"
However  cpan -D Module::Build yields:
Module::Build ---------------------------------------------------------------------- +--- (no description) L/LE/LEONT/Module-Build-0.4224.tar.gz /home/sal/perl5/lib/perl5/Module/Build.pm Installed: 0.4224 CPAN: 0.4224 up to date Leon Timmermans (LEONT) fawaka@gmail.com
From which I understand the Module::Build version 0.4224 and not 0.4003 is installed.
If someone can explain to me this error message and how to proceed with installing the dependencies I will be very grateful.

Replies are listed 'Best First'.
Re: Installation fails despite depndenices are already installed
by Corion (Patriarch) on Apr 16, 2018 at 19:16 UTC

    Maybe the perl that your super user runs is a different perl from what your user (sal) runs?

    which perl perl -V

    and

    sudo which perl sudo perl -V

    ... should give different output in that case.

    Update: Duh - it's right in your post:

    /home/sal/perl5/lib/perl5/Module/Build.pm

    This means that you installed Module::Build locally for user sal, but sudo cpanm ... likely doesn't see /home/sal/... in its search path.

    I think you should install BioDBHTS the same way you installed Module::Build. Most likely simply by not using sudo but using plain cpanm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1213019]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found