Megalinux: install DBD::mysql problem
install DBD::mysql problem
I was working on installing Bugzilla and ran into an error when installing DBD::MySQL module:
usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97. Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm
If you run into this error, run:
export LANG=C
and then do the following:
perl Makefile.PL
make
make install
(ignore all the warning messages, during make and make install).
某案件で、redhatにDBD::mysqlを入れようとしたら、できない…。なんでだーと探していたらこのblogに行きついた。どうやら環境変数のLANGがUTF-8になってたらしく、それでエラってたみたい。redhatはLANGが標準でUTF-8なのか?.tcshrcとかには設定してないから、そうなのかも。てかそれって微妙な…。