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.

/scripts/upcp give module DBD::mysql error

Discussion in 'General Discussion' started by neonix, Jul 12, 2005.

  1. neonix

    neonix Well-Known Member

    Joined:
    Oct 21, 2004
    Messages:
    124
    Likes Received:
    2
    Trophy Points:
    0
    Hi,

    /scripts/upcp mails are reporting this error for the past few days...is anyone else facing this problem...what could be the reason for this error?

    Mysql is up to date.
    Running install for module DBD::mysql
    Running make for C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz
    CPAN: Digest::MD5 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.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
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    gcc -c
    -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce
    -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
    -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
    -mcpu=i686 -DVERSION=\"3.0001\" -DXS_VERSION=\"3.0001\" -fPIC
    "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/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
    Bundle summary: The following items in bundle Bundle::DBD::mysql had
    installation problems:
    DBD::mysql
     
  2. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    what version of mysql are you using?
     
  3. chae

    chae Well-Known Member

    Joined:
    Apr 19, 2003
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Auckland, New Zealand
    We noticed the same, we're running mysql (4.0.24-standard)
     
  4. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
  5. 405

    405 Registered

    Joined:
    Sep 15, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    same error here, anyone with a fix?
     
  6. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
  7. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Mine was fixed in last night's update. Check it again.
     
  8. ngchandak

    ngchandak Well-Known Member

    Joined:
    Apr 5, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Run the /script/updatenow before running the upcp script. It will help you.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    /scripts/updatenow has nothing to do with that. It is up to the cpan mirror that perlinstaller uses as to when you'll get the latest version that is OK.
     
Loading...

Share This Page