In attempting to install Bugzilla on a Redhat 9 system, with MySQL 4.0.13 RPMs installed I ran into some trouble. I wanted to take the easy way out and use ‘perl -MCPAN -e “install Bundle::Bugzilla” to make sure I had all the right perl modules to get bugzilla up and running, but for some reason DBD::mysql wouldn’t compile, the problem appears to have been related to the default LANG setting on RH9 which wasn’t handled well by the DBD::mysql build process. The solution is simply “unset LANG; perl Makefile.PL; make”
I was able to track this down in the perl.dbi.users newsgroup, here I have also put the complete text of the posting in the extended part of this entry entry. http://nntp.x.perl.org/group/perl.dbi.users/17822: Newsgroups: perl.dbi.users Date: Tue, 15 Apr 2003 09:29:24 +0200 (CEST) To: Rudy Lippan <rlippan[at]remotelinux.com> cc: dbi-users[at]perl.org Subject: Re: DBD::mysql and RedHat 9 Message-ID: Pine.LNX.4.21.0304150921550.13531-100000@highgate.kerbero.com From: sguazt[at]kerbero.com (Marco Guazzone) References: Pine.LNX.4.44.0304141319300.29828-100000@elfride.ineffable.net
Yesssss!!!!!! It works!!! Thank you very much!! But, finally, what is it the wrong side? Is it the perl-RH9 version? However some packages did compile well even if the LANG var was setted. [on my machine I have LANG=en_US.UTF-8] With the perl-RH8 version I hadn’t this problems!
Regards, Marco Guazzone
On Mon, 14 Apr 2003, Rudy Lippan wrote:
On Mon, 14 Apr 2003, Marco Guazzone wrote:
Hi, I’ve just installed RH 9 on my laptop; then I’ve downloaded the mysql 4.0.12 binary distribution from www.mysql.com and the DBI package and installed them. OK! Then I’ve tried to install DBD::mysql 2.1026 but I’ve got these errors:
perl Makefile.PL … make Makefile:89: *** missing separator. Stop.
Try this:
unset LANG; perl Makefile.PL; make.
Later,
Rudy
Cheers, I was wondering what was up – thought I was going crazy
Thanks! Ran into this and was wondering what was up. Saved me time and aggrevation!
–BT
jeeez, what a sanity-saver! shall I pry my lips off your boots now?
Thanks… stumbled upon your page via Google. Did the trick.
Beautiful. Spent a day and a half trying to get this to work. Thanks for your post.
Thanks! You just saved me a lot of pain.
I found this site by searching for the particular error that was driving me nuts. Thanks!
Oh hell yeah. This has helped me more than anyone will ever know. Thanks everyone!
-Hubert
THAAAAAAAAAAAAAAAAAAAAAAAANK YOU!!
I’ve been beating my head against the wall with this one for two days. thanks dude! nick
THANK YOU!!!!
It doesn’t hurt to leave another huge thanks! on this long list