I had this problem not that long ago and it is caused by your LANG setting.

You can either put "unset LANG;" in front of the command like this:
#unset LANG;perl -MCPAN -e "install Bundle::DBD::mysql"

Or to make a more permanent solution you can edit /etc/sysconfig/i18n where you
should change LANG="en_US.UTF-8" to LANG="en_US" and relogin.

brgds
Ulrik

Fred Magee sagde:
> Good morning.
>
> I am new to CPAN and was trying to install DBD::mysql and got the following errors:
>
>     Unsuccessful stat on filename containing newline at
> /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 100.
>     Unsuccessful stat on filename containing newline at
> /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 100.
>     Using DBI 1.45 (for perl 5.008 on x86_64-linux-thread-multi)
> installed in /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/
>     Writing Makefile for DBD::mysql
>     Makefile:49: *** missing separator.  Stop.
>        /usr/bin/make  -- NOT OK
>     Running make test
>       Can't test without successful make
>     Running make install
>       make had returned bad status, install seems impossible
>
> There were about 20 of the Unsuccessful stat errors;
>
> Any tips/clues on how to fix this?  I've gotten this same error on several other
bundles I've tried to load.
> I'm running RedHat Enterprise 2.4.21-20.EL
>                  Perl "This is perl, v5.8.0 built for
> x86_64-linux-thread-multi"
>                 DBD::mysql is
> "/root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9004.tar.gz" and I loaded
CPAN yesterday from ftp://cpan.cs.utah.edu/.
>
> Thanks to anyone who can help me resolve this issue and have a great day.
>
>
> Fred Magee
>
> ATK Mission Research
>
> (505)768-7783
>
> [EMAIL PROTECTED]
>
>
>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by OpenProtect(http://www.openprotect.com), and is believed to
be clean.
>
>







-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.

Reply via email to