can't install DBD:mysql

From: Yun Guan (yguan_at_houston.rr.com)
Date: 10/18/04

  • Next message: Tim Bunce: "Re: Slow connection to Oracle 9i"
    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
    

  • Next message: Tim Bunce: "Re: Slow connection to Oracle 9i"

    Relevant Pages

    • Re: Installing DBD::File via CPAN
      ... Do you use 'UNINST=1' in the build options for CPAN? ... >> Did you build Perl from source, or install via a RPM or binary distro? ... >>> sender of the delivery error by replying to this message, or notify us ...
      (perl.dbi.users)
    • RE: Installing DBD::File via CPAN
      ... Subject: Installing DBD::File via CPAN ... This is Perl 5.8.7 ... ReadLine support available (try 'install Bundle::CPAN') ...
      (perl.dbi.users)
    • Installing DBD::File via CPAN
      ... This is Perl 5.8.7 ... cpan shell -- CPAN exploration and modules installation ... ReadLine support available (try 'install Bundle::CPAN') ...
      (perl.dbi.users)
    • RE: Installing DBD::File via CPAN
      ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
      (perl.dbi.users)
    • installation of dbi for solaris 9 fails
      ... # perl -MCPAN -e shell ... cpan shell -- CPAN exploration and modules installation ... cc: Perl.c: linker input file unused because linking not done ... install seems impossible ...
      (perl.dbi.users)