Off topic:[perl modules] Error in perl modules installing
0
0
Entering edit mode
8.8 years ago

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.

mysql perl orthomcl DBI • 3.3k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1769 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6