can't install DBD:mysql
From: Yun Guan (yguan_at_houston.rr.com)
Date: 10/18/04
- Previous message: Michael Hoy: "Using Perl DB2 driver (DBD-DB2) with DB2 UDB Version 8 64bit for AIX 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 18 Oct 2004 03:16:09 GMT
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 shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install dbi
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 17 Oct 2004 21:09:38 GMT
Warning: Cannot install dbi, don't know what it is.
Try the command
i /dbi/
to find objects with matching identifiers.
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
- Previous message: Michael Hoy: "Using Perl DB2 driver (DBD-DB2) with DB2 UDB Version 8 64bit for AIX 5.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|