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.

DBD::mysql installation problem

Discussion in 'General Discussion' started by troubleshooter, Jul 3, 2005.

  1. troubleshooter

    Joined:
    Feb 22, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Cpanel update is having a problem installing DBD::mysql. Here's the relevant output. Not sure what I need to do next with this. The offending code seems to be:

    D_imp_dbh_from_sth;
    (imp_dbh->mysql).net.last_errno = 0;

    I have no clue about this. Can anyone please point me in the right direction?

    Thanks,

    Terry


    Running install for module DBD::mysql
    Running make for C/CA/CAPTTOFU/DBD-mysql-3.0000.tar.gz
    Checksum for /home/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0000.tar.gz ok
    DBD-mysql-3.0000/
    DBD-mysql-3.0000/ChangeLog
    DBD-mysql-3.0000/constants.h
    DBD-mysql-3.0000/dbdimp.c
    DBD-mysql-3.0000/dbdimp.h
    DBD-mysql-3.0000/INSTALL.html
    DBD-mysql-3.0000/lib/
    DBD-mysql-3.0000/lib/Bundle/
    DBD-mysql-3.0000/lib/Bundle/DBD/
    DBD-mysql-3.0000/lib/Bundle/DBD/mysql.pm
    DBD-mysql-3.0000/lib/DBD/
    DBD-mysql-3.0000/lib/DBD/mysql/
    DBD-mysql-3.0000/lib/DBD/mysql/GetInfo.pm
    DBD-mysql-3.0000/lib/DBD/mysql/INSTALL.pod
    DBD-mysql-3.0000/lib/DBD/mysql.pm
    DBD-mysql-3.0000/lib/Mysql/
    DBD-mysql-3.0000/lib/Mysql/Statement.pm
    DBD-mysql-3.0000/lib/Mysql.pm
    DBD-mysql-3.0000/Makefile.PL
    DBD-mysql-3.0000/Makefile.PL.embedded
    DBD-mysql-3.0000/MANIFEST
    DBD-mysql-3.0000/MANIFEST.SKIP
    DBD-mysql-3.0000/META.yml
    DBD-mysql-3.0000/myld
    DBD-mysql-3.0000/mysql.xs
    DBD-mysql-3.0000/README
    DBD-mysql-3.0000/t/
    DBD-mysql-3.0000/t/00base.t
    DBD-mysql-3.0000/t/10dsnlist.t
    DBD-mysql-3.0000/t/20createdrop.t
    DBD-mysql-3.0000/t/30insertfetch.t
    DBD-mysql-3.0000/t/35limit.t
    DBD-mysql-3.0000/t/40bindparam.t
    DBD-mysql-3.0000/t/40blobs.t
    DBD-mysql-3.0000/t/40listfields.t
    DBD-mysql-3.0000/t/40nulls.t
    DBD-mysql-3.0000/t/40numrows.t
    DBD-mysql-3.0000/t/50chopblanks.t
    DBD-mysql-3.0000/t/50commit.t
    DBD-mysql-3.0000/t/60leaks.t
    DBD-mysql-3.0000/t/ak-dbd.t
    DBD-mysql-3.0000/t/akmisc.t
    DBD-mysql-3.0000/t/dbdadmin.t
    DBD-mysql-3.0000/t/insertid.t
    DBD-mysql-3.0000/t/lib.pl
    DBD-mysql-3.0000/t/mysql.dbtest
    DBD-mysql-3.0000/t/mysql.t
    DBD-mysql-3.0000/t/mysql2.t
    DBD-mysql-3.0000/TODO
    Removing previously used /home/.cpan/build/DBD-mysql-3.0000
    CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-3.0000.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.008001 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/DBI/
    Writing Makefile for DBD::mysql
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cc -c -I/usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/DBI/ -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.0000\" -DXS_VERSION=\"3.0000\" -fpic "-I/usr/lib/perl5/5.8.1/i686-linux/CORE" dbdimp.c
    dbdimp.c: In function `mysql_st_fetch':
    dbdimp.c:2748: parse error before `*'
    dbdimp.c:2749: `imp_dbh' undeclared (first use in this function)
    dbdimp.c:2749: (Each undeclared identifier is reported only once
    dbdimp.c:2749: 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. gahelm

    gahelm Active Member

    Joined:
    Jun 21, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Florida
    Same exact problem here. Started with last nights update. Any ideas anyone?

    GH
     
  3. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    18
    Guys, we are having the same issue on SOME of our servers.

    Let's try to find what may be the problem?

    The servers in question runs:
    RedHat 7.3 and MySQL 4.0.22

    Servers that doesn't have problems:
    RedHat 9 and MySQL 4.0.22
    RedHat Enterprise 3 and MySQL 4.0.22
    CentOS 3.5 and MySQL 4.0.22

    So we are thinks that RH 7.3 may be the problem.

    What are your servers specs?
     
  4. tetraweb

    tetraweb Member

    Joined:
    May 19, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Yes, Redhat 7.3 and mysql 4.0.22 and having same issue.

    Greg
     
  5. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    There apparently seems to be some issue with 3.00000.
    I had every bit of mod_perl scripts starting segfault (11)
    Downgraded and things are fine after that.

    Anup
     
  6. gahelm

    gahelm Active Member

    Joined:
    Jun 21, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Florida
    Newby here. Can you give me the steps required to downgrade? It seems Cpanel isnt too concerned about this, so I will just follow your lead.
     
  7. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
  8. tetraweb

    tetraweb Member

    Joined:
    May 19, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Brand new dbd:mysql 3.0001 seems to also have errors.

    Greg
     
  9. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    That is definitely not the fixed version.
    I have already posted the comments from the author of DBD::Mysql and those comments are after 3.0001. Till then the answer is downgrade to 2.9008 (as per what fixed my problems)

    Anup
     
    #9 anup123, Jul 7, 2005
    Last edited: Jul 7, 2005
  10. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
  11. taotoon

    taotoon Well-Known Member

    Joined:
    Nov 14, 2004
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    2005-07-06 Parick Galbraith <patg@mysql.com> (3.0001_3)
    * Fix to ensure MYSQL_BIND is only defined when mysql
    client version is >= 4.1.3. Thanks to Tom Parkison

    2005-07-06 Parick Galbraith <patg@mysql.com> (3.0001_2)
    * Fixed runtime bug (when inserting or updating quotes or double quotes)
    (Thanks to Brad Choate, Six Apart Ltd.)

    2005-07-04 Parick Galbraith <patg@mysql.com> (3.0001_1)
    * Changed uint argument in safe_sv_fetch to int due to
    uint not being available on windows unless you include
    my_globals.h in dbdimp.h, which also breaks on unixen!
    * Removed // comments from mysql.xs (thanks Bodo Bergman!)
     
  12. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Hmmm Pat knocked my name off from the first one ... I had it there in the mail from mailing list. NM as long as the problem is fixed :D

    Anup
     
Loading...

Share This Page