[ic] DBD::mysql install problems
DB at M-and-D.com
Wed Mar 5 15:07:26 EST 2008
>> I have a fresh install of Centos 5.1 on a multi-cpu 64-bit machine.
>> I've installed a separate perl 5.8.8 without threads. A 'which perl'
>> gives me /usr/local/bin/perl
>> perl -MCPAN -e 'install "DBD::mysql"' fails with:
> I would try to use the CentOS packages, if they are available. I would
> imagine that DBI and DBD::mysql are existing CentOS packages, unless
> CentOS requires its users to use cpan(1), in which case I would
> recommend you do more research. A quick google search turns up an old
> (April 2002) Usenet posting regarding this error, which was fixed in a
> later version of DBD::mysql.
> Therefore, your issue would most likely be solved by getting a modern
> version of DBD::mysql. Where did you get 2.1012 from, anyways? You
> should be using the cpan shell, or at least the CPAN module.
> cpan> install DBI
> cpan> install DBD::mysql
> cpan> r # optionally upgrade old packages
> The error you received when attempting installation of DBD::mysql would
> indicated that DBI was not installed, or was not installed to the
> proper location. If that was the case, make sure you're using the
> right perl and that it's looking in the right location for modules (perl
Hi - as I stated, the CPAN install failed.
I'd imagine that the CentOS packages would use the default, threaded
perl and not my separate install.
But you did give me hints - I went and downloaded the proper versions of
the modules and installed those manually and now I'm able to proceed :)
More information about the interchange-users