The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

errors when upgrading to DBD::Mysql

Discussion in 'General Discussion' started by optize, Jul 10, 2005.

  1. optize

    optize Well-Known Member

    Joined:
    Apr 27, 2005
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    Attempting to install DBD::mysql

    spawn /scripts/perlinstaller DBD::mysql
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.belfry.net
    Invalid metapkg id emacs-nox

    Fetching Obsoletes list for channel: rhel-i386-es-3...

    Fetching Obsoletes list for channel: rhel-i386-es-3-extras...

    Fetching rpm headers...
    ########################################


    Name Version Rel
    ----------------------------------------------------------


    The following packages you requested were not found:
    ncftp
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Sun, 10 Jul 2005 03:13:55 GMT
    Running install for module DBD::mysql
    Running make for C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    DBD-mysql-3.0001/
    DBD-mysql-3.0001/ChangeLog
    DBD-mysql-3.0001/constants.h
    DBD-mysql-3.0001/dbdimp.c
    DBD-mysql-3.0001/dbdimp.h
    DBD-mysql-3.0001/INSTALL.html
    DBD-mysql-3.0001/lib/
    DBD-mysql-3.0001/lib/Bundle/
    DBD-mysql-3.0001/lib/Bundle/DBD/
    DBD-mysql-3.0001/lib/Bundle/DBD/mysql.pm
    DBD-mysql-3.0001/lib/DBD/
    DBD-mysql-3.0001/lib/DBD/mysql/
    DBD-mysql-3.0001/lib/DBD/mysql/GetInfo.pm
    DBD-mysql-3.0001/lib/DBD/mysql/INSTALL.pod
    DBD-mysql-3.0001/lib/DBD/mysql.pm
    DBD-mysql-3.0001/lib/Mysql/
    DBD-mysql-3.0001/lib/Mysql/Statement.pm
    DBD-mysql-3.0001/lib/Mysql.pm
    DBD-mysql-3.0001/Makefile.PL
    DBD-mysql-3.0001/Makefile.PL.embedded
    DBD-mysql-3.0001/MANIFEST
    DBD-mysql-3.0001/MANIFEST.SKIP
    DBD-mysql-3.0001/META.yml
    DBD-mysql-3.0001/myld
    DBD-mysql-3.0001/mysql.xs
    DBD-mysql-3.0001/README
    DBD-mysql-3.0001/t/
    DBD-mysql-3.0001/t/00base.t
    DBD-mysql-3.0001/t/10dsnlist.t
    DBD-mysql-3.0001/t/20createdrop.t
    DBD-mysql-3.0001/t/30insertfetch.t
    DBD-mysql-3.0001/t/35limit.t
    DBD-mysql-3.0001/t/40bindparam.t
    DBD-mysql-3.0001/t/40blobs.t
    DBD-mysql-3.0001/t/40listfields.t
    DBD-mysql-3.0001/t/40nulls.t
    DBD-mysql-3.0001/t/40numrows.t
    DBD-mysql-3.0001/t/41blobs_prepare.t
    DBD-mysql-3.0001/t/50chopblanks.t
    DBD-mysql-3.0001/t/50commit.t
    DBD-mysql-3.0001/t/60leaks.t
    DBD-mysql-3.0001/t/ak-dbd.t
    DBD-mysql-3.0001/t/akmisc.t
    DBD-mysql-3.0001/t/dbdadmin.t
    DBD-mysql-3.0001/t/insertid.t
    DBD-mysql-3.0001/t/lib.pl
    DBD-mysql-3.0001/t/mysql.dbtest
    DBD-mysql-3.0001/t/mysql.t
    DBD-mysql-3.0001/t/mysql2.t
    DBD-mysql-3.0001/TODO
    Removing previously used /home/.cpan/build/DBD-mysql-3.0001

    CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz

    I will use the following settings for compiling and testing:

    cflags (mysql_config) = -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce
    embedded (mysql_config) =
    libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
    mysql_config (guessed ) = mysql_config
    nocatchstderr (default ) = 0
    nofoundrows (default ) = 0
    ssl (guessed ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testsocket (default ) =
    testuser (default ) =

    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.

    Checking if your kit is complete...
    Looks good
    Using DBI 1.48 (for perl 5.008006 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cc -c -I/usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/ -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"3.0001\" -DXS_VERSION=\"3.0001\" -fpic "-I/usr/lib/perl5/5.8.6/i686-linux/CORE" dbdimp.c
    dbdimp.c: In function `mysql_st_fetch':
    dbdimp.c:2775: `MYSQL_BIND' undeclared (first use in this function)
    dbdimp.c:2775: (Each undeclared identifier is reported only once
    dbdimp.c:2775: for each function it appears in.)
    make: *** [dbdimp.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done
     
Loading...

Share This Page