Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Making Centos, Perl 5.10.1 and DBD::mysql play nice

by InfiniteMonkey (Novice)
on May 30, 2011 at 03:55 UTC ( [id://907269]=perlquestion: print w/replies, xml ) Need Help??

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

I'm working on CentOs 5.6 (which has Perl 5.8.8 by default). I need to install Perl 5.10.1 and DBD::mysql. I can install Perl 5.10.1 easily, just by downloading a source tar and using make, make test, make install, although that moves the default Perl to one side which is a bit suspect. But DBD::mysql is causing me problems. If I try to install it using cpan, it fails, saying it can't find DBI/DBD.pm. There is a copy of DBI/DBD.pm, but its in the directories for the old Perl 5.8.8. I tried installing mysql and mysql-devel, but that didn't help. So, does anyone know how to get all these things playing nice together?
  • Comment on Making Centos, Perl 5.10.1 and DBD::mysql play nice

Replies are listed 'Best First'.
Re: Making Centos, Perl 5.10.1 and DBD::mysql play nice
by ikegami (Patriarch) on May 30, 2011 at 04:43 UTC

    I can install Perl 5.10.1 easily, just by downloading a source tar and using make, make test, make install, although that moves the default Perl to one side which is a bit suspect.

    Yeah, don't replace the system Perl. See INSTALL for how to specify an alternate installation directory.

    There is a copy of DBI/DBD.pm, but its in the directories for the old Perl 5.8.8

    If you don't have DBI::DBD installed and you need it, what do you think the next step is? cpan normally handles dependencies, though, so I think there's something you're not saying.

      Excellent, that got it. I didn't realize that DBI::DBD was a separate package. You, sir, win 2 internetz
Re: Making Centos, Perl 5.10.1 and DBD::mysql play nice
by Anonymous Monk on May 30, 2011 at 04:15 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found