Hi BlackSwan,

On Monday 22 November 2010 03:10:50 blackswa...@yahoo.com wrote:
> My installation of RedHat Linux server 5.3 came with PERL 5.8.  I
> updated my version of PERL to 5.12, and my copy of PERL resides at /
> root/localperl/bin/perl
> 
> I've attempted to install DBD, DBI and Net::MySQL and all failed.  It
> is possible that the reason why the installs are failing is common to
> all three, but I do not know that as a fact, so I am asking you to
> look over and respond as to what I may be doing wrong in the
> installation of Net::MySQL.
> 
> I'm following the instructions that come with Net::MySQL - Pure Perl
> MySQL network protocol interface.  Any attempts to use perl without
> the full path to /root fails because the initial installation was
> written over by an incorrect installation of version 5.12 on /usr/bin/
> perl
> 
> 
> r...@localhost localperl# /root/localperl/bin/perl -v
> This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-
> linux
> 
> -------------------------------------
> 
> r...@localhost bin# pwd
> /root/localperl/bin
> r...@localhost bin# cd ..
> r...@localhost localperl# ls
> bin  lib  man
> r...@localhost localperl# ls
> bin  lib  man  Net-MySQL-0.09
> r...@localhost localperl# cd Net-MySQL-0.09/
> r...@localhost Net-MySQL-0.09# ls
> Changes  Makefile.PL  MANIFEST  META.yml  MySQL.pm  README  script  t
> r...@localhost Net-MySQL-0.09# root/localperl/bin/perl Makefile.PL
> PREFIX=/root/localperl/bin/perl/lib
> bash: root/localperl/bin/perl: No such file or directory
> r...@localhost Net-MySQL-0.09# root/localperl/bin/perl Makefile.PL
> PREFIX=/root/localperl
> bash: root/localperl/bin/perl: No such file or directory
> r...@localhost Net-MySQL-0.09# /root/localperl/bin/perl Makefile.PL
> PREFIX=/root/localperl
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Net::MySQL
> r...@localhost Net-MySQL-0.09# make
> cp MySQL.pm blib/lib/Net/MySQL.pm
> Manifying blib/man3/Net::MySQL.3
> r...@localhost Net-MySQL-0.09# make test
> PERL_DL_NONLAZY=1 /root/localperl/bin/perl "-MExtUtils::Command::MM" "-
> e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/0.load.t ........ Can't locate Digest/SHA1.pm in @INC (@INC
> contains: /root/localperl/Net-MySQL-0.09/blib/lib /root/localperl/Net-
> MySQL-0.09/blib/arch /root/localperl/lib/site_perl/5.12.2/x86_64-
> linux /root/localperl/lib/site_perl/5.12.2 /root/localperl/lib/5.12.2/
> x86_64-linux /root/localperl/lib/5.12.2 .) at /root/localperl/Net-
> MySQL-0.09/blib/lib/Net/MySQL.pm line 681.

Seems like Net-MySQL has an undeclared dependency on Digest-SHA1 so you need 
to install it first:

http://search.cpan.org/dist/Digest-SHA1/

Maybe see:

http://perl-begin.org/topics/cpan/

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to