Hello,
I have problems installing DBD:mysql on Red Hat Linux 9, either from CPAN,
or mannual install. The error is the same, something related to this Kid.pm
file under perl. Should I reinstall Perl? Perl came with Red Hat Linux 9
installation. Please help.
1.) from CPAN:
perl -MCPAN -e shell
cpan> install DBI
DBI is up to date.
cpan> install DBD::mysql
I got many of these errors:
Unsuccessful stat on filename containing newline at
/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 line 97.
.....
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ at
Makefile.PL line 295
Using DBI 1.45 (for perl 5.008 on i386-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
Makefile:89: *** 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
2.) Manually install from source:
download DBD-mysql-2.9003.tar, untar and run this:
perl Makefile.PL
I got exactly the same error as in 1.)
--
Allen Guan
--
Allen Guan
281-489-2314
I have problems installing DBD:mysql on Red Hat Linux 9, either from CPAN,
or mannual install. The error is the same, something related to this Kid.pm
file under perl. Should I reinstall Perl? Perl came with Red Hat Linux 9
installation. Please help.
1.) from CPAN:
perl -MCPAN -e shell
cpan> install DBI
DBI is up to date.
cpan> install DBD::mysql
I got many of these errors:
Unsuccessful stat on filename containing newline at
/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 line 97.
.....
Unsuccessful stat on filename containing newline at
/usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97.
Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ at
Makefile.PL line 295
Using DBI 1.45 (for perl 5.008 on i386-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
Makefile:89: *** 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
2.) Manually install from source:
download DBD-mysql-2.9003.tar, untar and run this:
perl Makefile.PL
I got exactly the same error as in 1.)
--
Allen Guan
--
Allen Guan
281-489-2314
Comment