Thank you Chad and sorry if I sent the reply to you to your personal address.
Before I do that, I have another question. I normally install and update MySQL from source manually whenever the new version is released. Now, if I install DBD-mysql from the Ubuntu Repository rather than from the source, would it cause any problems with the latest version of MySQL? Thank you very much On Thursday, 22 May 2014 3:46 AM, Chad Wallace <cwall...@lodgingcompany.com> wrote: Posting back to the list... Please don't reply to me personally; I am subscribed to the list. On Tue, 20 May 2014 18:23:52 -0700 (PDT) Daminto Lie <dli...@yahoo.com.au> wrote: > Thanks a lot for your reply. > > I think this is what I should be using to install DBI and DBD-mysql. > > > But as I mentioned to John before that I think I need to get rid of > DBI-1.641 first before running the command you suggested. please > correct me if I'm wrong. Well, it doesn't seem like that DBI installation is even doing anything. But yes, you should remove it, just to get rid of the clutter. I would just run this: rm -r /root/perl5 Then install DBI and DBD-mysql from your distro's packaging system. They'll be put in the correct place (one of the perl locations under /usr/share or /usr/lib), and then spamassassin and the others will be able to use them. > On Wednesday, 21 May 2014 10:32 AM, Chad Wallace > <cwall...@lodgingcompany.com> wrote: > > > On Tue, 20 May 2014 17:22:58 -0700 > > John R Pierce <pie...@hogranch.com> wrote: > > > what operating system are you on? isn't there a DBI and such in the > > OS package repository? > > > > for instance, on a RHEL/CentOS/Fedora type system, I'd use... > > > > sudo yum install perl-DBI perl-DBD-MySQL > > > > of course, for a different Linux distribution, or another OS > > entirely, both the command and the package names are probably > > different. > > on Debian and related distros: > > sudo apt-get install libdbi-perl libdbd-mysql-perl > > > -- C. Chad Wallace, B.Sc. The Lodging Company http://www.lodgingcompany.com/ OpenPGP Public Key ID: 0x262208A0