[perl modules] Error in perl modules installing
Hi everyone,
I'm trying to find the orthologs between two organisms through orthomcl tool, but I can't not install the DBI and DBD modules from perl in my VM. I've already installed perl (v5.20.1) on my linux ubuntu, but when I try to install the modules, I have the errors below. Actually, I'm following a very helpful tutorial posted on this link (A:orthomcl with local mysql server on linux server, complete install) and trying to have all the prerequisites to run orthomcl.
$cpan
> install DBD::mysql
Configuring C/CA/CAPTTOFU/DBD-mysql-4.031.tar.gz with Makefile.PL
Can't locate DBI/DBD.pm in @INC (you may need to install the DBI::DBD module) (@INC contains: /home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/x86_64-linux /home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1 /home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1/x86_64-linux /home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/lib/5.20.1 .) at Makefile.PL line 15.
Warning: No success on command[/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3]
CAPTTOFU/DBD-mysql-4.031.tar.gz
/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3 -- NOT OK
Failed during this command:
TIMB/DBI-1.633.tar.gz : writemakefile NO '/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3' returned status 6400
CAPTTOFU/DBD-mysql-4.031.tar.gz : writemakefile NO '/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3' returned status 512
$ cpan DBI
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t
Checking if your kit is complete...
Looks good
Only one of PREFIX or INSTALL_BASE can be given. Not both.
Warning: No success on command[/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3]
TIMB/DBI-1.633.tar.gz
/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3 -- NOT OK
$ perl -MCPAN -e 'install Bundle::DBI'
Looks good
Warning: prerequisite DBI::DBD 1 not found.
Only one of PREFIX or INSTALL_BASE can be given. Not both. #I think this could be the problem.
Warning: No success on command[/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3]
TKISHEL/DBD-Multiplex-2.11.tar.gz
/home/gustavoborin/perl5/perlbrew/perls/perl-5.20.1/bin/perl Makefile.PL PREFIX=~/myperl LIB=~/myperl/lib INSTALLMAN1DIR=~/myperl/man/man1 INSTALLMAN3DIR=~/myperl/man/man3 -- NOT OK
Sorry about this doubt but I've read all the suggestions/similar errors from others posts and forums, and even than I can't solve this. Thank you so much for any help.
• 3,508 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello gustavoborin01!
We believe that this post does not fit the main topic of this site.
Not a bioinformatics question. Please check with PerlMonks or StackOverflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!