DBD::Mydbdriver - Mozilla

This is a discussion on DBD::Mydbdriver - Mozilla ; I keep getting an error in what appears to be the final step of checksetup.pl that reads: Checking user setup ... Removing existing compiled templates ... Precompiling templates ... Bugzilla requires that perl's DBD::Mydbdriver be installed. To install this module, ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: DBD::Mydbdriver

  1. DBD::Mydbdriver

    I keep getting an error in what appears to be the final step of
    checksetup.pl that reads:

    Checking user setup ...
    Removing existing compiled templates ...
    Precompiling templates ...
    Bugzilla requires that perl's DBD::Mydbdriver be installed.
    To install this module, you can do:
    /opt/lampp/bin/perl -MCPAN -e 'install "DBD::Mydbdriver"'

    This command returns an error - apparently, there's no perl module
    called "DBD:Mydbdriver."

    I went into the localconfig file and replaced the words "mydbdriver"
    with "mysql," thinking maybe I needed to specify but the error
    persists. Furthermore, I can't find documentation about this ANYWHERE,
    not even on Google.

    Anyone have any tips?


  2. Re: DBD::Mydbdriver

    On Mon, 2006-10-30 at 06:58 -0800, Adam Scheinberg wrote:
    > Bugzilla requires that perl's DBD::Mydbdriver be installed.
    > To install this module, you can do:
    > /opt/lampp/bin/perl -MCPAN -e 'install "DBD::Mydbdriver"'
    >
    > This command returns an error - apparently, there's no perl module
    > called "DBD:Mydbdriver."


    Um, what? Have you specified something strange or invalid for
    $db_driver in localconfig?

    -Max
    --
    http://www.everythingsolved.com/
    Competent, Friendly Bugzilla Services. And Everything Else, too.


  3. Re: DBD::Mydbdriver

    Hi Max,

    > Um, what? Have you specified something strange or invalid for
    > $db_driver in localconfig?


    [root@grasshopper bugzilla]# nano localconfig

    $answer{'db_host'} = q[
    $db_host = 'localhost';
    $db_driver = 'mysql';
    $db_port = 3306;
    $db_name = 'bugzilla';
    $db_user = 'bugzilla';
    ];

    // SNIPPED...
    // I also tried changing the value to its default value, which was
    "mydbdriver"

    [root@grasshopper bugzilla]# ./checksetup.pl

    Checking perl modules ...
    [... lots of stuff snipped out here...]

    Checking user setup ...
    Removing existing compiled templates ...
    Precompiling templates ...
    Bugzilla requires that perl's DBD::Mydbdriver be installed.
    To install this module, you can do:
    /opt/lampp/bin/perl -MCPAN -e 'install "DBD::Mydbdriver"'
    [... lots of stuff snipped out here...]

    [root@grasshopper bugzilla]# /opt/lampp/bin/perl -MCPAN -e 'install
    "DBD::Mydbdriver"'


    Warning: Cannot install DBD::Mydbdriver, don't know what it is.
    Try the command

    i /DBD::Mydbdriver/


    Any ideas?


  4. Re: DBD::Mydbdriver

    On Thu, 2006-11-02 at 11:55 -0800, Adam Scheinberg wrote:
    > $db_driver = 'mysql';


    Okay, well, that's fine.

    > Bugzilla requires that perl's DBD::Mydbdriver be installed.


    Did you install Bugzilla from a distro package, perhaps? Because I've
    never seen that message, and I maintain the installation tools for
    Bugzilla.

    What you need to install is DBD::mysql.

    -Max
    --
    http://www.everythingsolved.com/
    Competent, Friendly Bugzilla Services. And Everything Else, too.


  5. Re: DBD::Mydbdriver

    Max Kanat-Alexander wrote:
    > Did you install Bugzilla from a distro package, perhaps?


    No, I downloaded it. Since then, I also tried to fetch from CPAN the
    Bundle::Bugzilla.


    > What you need to install is DBD::mysql.


    Okay, so I tried that. This is my first run in with CPAN. I'm a PHP
    guy, so I setup CPAN specifically for Bugzilla. This is what I get, I
    see an error with "make." I compile stuff from time to time, so it's
    not an actual error with the make program. I'm sorry it's long, but
    any help you have would be fantastic, since I don't understand exactly
    what the problem is - is it the path to mysqlclient? Is it the library?
    I don't "get" this output.

    Thanks,

    [root@grasshopper bugzilla]# /opt/lampp/bin/perl -MCPAN -e 'install
    "DBD::mysql"'
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Wed, 25 Oct 2006 11:24:29 GMT
    Running install for module DBD::mysql
    Running make for C/CA/CAPTTOFU/DBD-mysql-3.0008.tar.gz
    CPAN: Digest::MD5 loaded ok
    Checksum for
    /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0008.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    DBD-mysql-3.0008/
    DBD-mysql-3.0008/ChangeLog
    DBD-mysql-3.0008/constants.h
    DBD-mysql-3.0008/dbdimp.c
    DBD-mysql-3.0008/dbdimp.h
    DBD-mysql-3.0008/eg/
    DBD-mysql-3.0008/eg/prepare_memory_usage.pl
    DBD-mysql-3.0008/eg/proc_example1.pl
    DBD-mysql-3.0008/eg/proc_example2.pl
    DBD-mysql-3.0008/eg/proc_example3.pl
    DBD-mysql-3.0008/INSTALL.html
    DBD-mysql-3.0008/lib/
    DBD-mysql-3.0008/lib/Bundle/
    DBD-mysql-3.0008/lib/Bundle/DBD/
    DBD-mysql-3.0008/lib/Bundle/DBD/mysql.pm
    DBD-mysql-3.0008/lib/DBD/
    DBD-mysql-3.0008/lib/DBD/mysql/
    DBD-mysql-3.0008/lib/DBD/mysql/GetInfo.pm
    DBD-mysql-3.0008/lib/DBD/mysql/INSTALL.pod
    DBD-mysql-3.0008/lib/DBD/mysql.pm
    DBD-mysql-3.0008/lib/Mysql/
    DBD-mysql-3.0008/lib/Mysql/Statement.pm
    DBD-mysql-3.0008/lib/Mysql.pm
    DBD-mysql-3.0008/Makefile.PL
    DBD-mysql-3.0008/Makefile.PL.embedded
    DBD-mysql-3.0008/MANIFEST
    DBD-mysql-3.0008/MANIFEST.SKIP
    DBD-mysql-3.0008/META.yml
    DBD-mysql-3.0008/myld
    DBD-mysql-3.0008/mysql.xs
    DBD-mysql-3.0008/README
    DBD-mysql-3.0008/t/
    DBD-mysql-3.0008/t/00base.t
    DBD-mysql-3.0008/t/10dsnlist.t
    DBD-mysql-3.0008/t/20createdrop.t
    DBD-mysql-3.0008/t/30insertfetch.t
    DBD-mysql-3.0008/t/35limit.t
    DBD-mysql-3.0008/t/35prepare.t
    DBD-mysql-3.0008/t/40bindparam.t
    DBD-mysql-3.0008/t/40bindparam2.t
    DBD-mysql-3.0008/t/40blobs.t
    DBD-mysql-3.0008/t/40listfields.t
    DBD-mysql-3.0008/t/40nulls.t
    DBD-mysql-3.0008/t/40numrows.t
    DBD-mysql-3.0008/t/41bindparam.t
    DBD-mysql-3.0008/t/41blobs_prepare.t
    DBD-mysql-3.0008/t/42bindparam.t
    DBD-mysql-3.0008/t/50chopblanks.t
    DBD-mysql-3.0008/t/50commit.t
    DBD-mysql-3.0008/t/60leaks.t
    DBD-mysql-3.0008/t/dbdadmin.t
    DBD-mysql-3.0008/t/insertid.t
    DBD-mysql-3.0008/t/lib.pl
    DBD-mysql-3.0008/t/mysql.dbtest
    DBD-mysql-3.0008/t/param_values.t
    DBD-mysql-3.0008/t/._prepare_noerror.t
    DBD-mysql-3.0008/t/prepare_noerror.t
    DBD-mysql-3.0008/t/texecute.t
    DBD-mysql-3.0008/TODO
    Removing previously used /root/.cpan/build/DBD-mysql-3.0008

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

    I will use the following settings for compiling and testing:

    cflags (mysql_config) = -I'/usr/include'
    embedded (guessed ) =
    libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz
    -lcrypt -lnsl -lm
    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
    Note (probably harmless): No library found for -lmysqlclient
    Using DBI 1.52 (for perl 5.008007 on i686-linux) installed in
    /opt/lampp/lib/perl5/site_perl/5.8.7/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/opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI
    -I'/usr/include' -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing
    -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -O2 -DVERSION=\"3.0008\" -DXS_VERSION=\"3.0008\" -fpic
    "-I/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE" dbdimp.c
    In file included from
    /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/perl.h:3813,
    from
    /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/DBIXS.h:19,
    from dbdimp.h:20,
    from dbdimp.c:20:
    /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning:
    `struct tm' declared inside parameter list
    /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning: its
    scope is only this definition or declaration, which is probably not
    what you want
    /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:441: warning:
    `struct tm' declared inside parameter list
    In file included from dbdimp.c:20:
    dbdimp.h:21:49: mysql.h: No such file or directory
    dbdimp.h:22:45: mysqld_error.h: No such file or directory
    dbdimp.h:23:49: errmsg.h: No such file or directory
    In file included from dbdimp.c:20:
    dbdimp.h:124: error: syntax error before "MYSQL"
    dbdimp.h:124: warning: no semicolon at end of struct or union
    dbdimp.h:142: error: syntax error before '}' token
    dbdimp.h:214: error: syntax error before "MYSQL_RES"
    dbdimp.h:214: warning: no semicolon at end of struct or union
    dbdimp.h:217: error: syntax error before "row_num"
    dbdimp.h:217: warning: data definition has no type or storage class
    dbdimp.h:222: error: syntax error before "insertid"
    dbdimp.h:222: warning: data definition has no type or storage class
    dbdimp.h:228: error: syntax error before '}' token
    In file included from dbdimp.c:20:
    dbdimp.h:268: error: syntax error before '*' token
    dbdimp.h:271: error: syntax error before "mysql_st_internal_execute"
    dbdimp.h:271: error: syntax error before "MYSQL_RES"
    dbdimp.h:272: warning: data definition has no type or storage class
    dbdimp.h:292: error: syntax error before '*' token
    dbdimp.h:292: error: syntax error before "MYSQL"
    dbdimp.h:293: warning: data definition has no type or storage class
    dbdimp.c:398: error: syntax error before '*' token
    dbdimp.c: In function `parse_params':
    dbdimp.c:410: error: `slen_ptr' undeclared (first use in this function)
    dbdimp.c:410: error: (Each undeclared identifier is reported only once
    dbdimp.c:410: error: for each function it appears in.)
    dbdimp.c:419: error: `statement' undeclared (first use in this
    function)
    dbdimp.c:419: error: `num_params' undeclared (first use in this
    function)
    dbdimp.c:607: error: `sock' undeclared (first use in this function)
    dbdimp.c: At top level:
    dbdimp.c:666: error: `FIELD_TYPE_VAR_STRING' undeclared here (not in a
    function)
    dbdimp.c:666: error: initializer element is not constant
    dbdimp.c:666: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[0].native_type')
    dbdimp.c:668: error: initializer element is not constant
    dbdimp.c:668: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[0]')
    dbdimp.c:673: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a
    function)
    dbdimp.c:673: error: initializer element is not constant
    dbdimp.c:673: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[1].native_type')
    dbdimp.c:675: error: initializer element is not constant
    dbdimp.c:675: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[1]')
    dbdimp.c:680: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:680: error: initializer element is not constant
    dbdimp.c:680: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[2].native_type')
    dbdimp.c:682: error: initializer element is not constant
    dbdimp.c:682: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[2]')
    dbdimp.c:687: error: `FIELD_TYPE_SHORT' undeclared here (not in a
    function)
    dbdimp.c:687: error: initializer element is not constant
    dbdimp.c:687: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[3].native_type')
    dbdimp.c:689: error: initializer element is not constant
    dbdimp.c:689: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[3]')
    dbdimp.c:694: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:694: error: initializer element is not constant
    dbdimp.c:694: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[4].native_type')
    dbdimp.c:696: error: initializer element is not constant
    dbdimp.c:696: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[4]')
    dbdimp.c:701: error: `FIELD_TYPE_FLOAT' undeclared here (not in a
    function)
    dbdimp.c:701: error: initializer element is not constant
    dbdimp.c:701: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[5].native_type')
    dbdimp.c:703: error: initializer element is not constant
    dbdimp.c:703: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[5]')
    dbdimp.c:708: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a
    function)
    dbdimp.c:708: error: initializer element is not constant
    dbdimp.c:708: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[6].native_type')
    dbdimp.c:710: error: initializer element is not constant
    dbdimp.c:710: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[6]')
    dbdimp.c:715: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a
    function)
    dbdimp.c:715: error: initializer element is not constant
    dbdimp.c:715: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[7].native_type')
    dbdimp.c:717: error: initializer element is not constant
    dbdimp.c:717: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[7]')
    dbdimp.c:725: error: `FIELD_TYPE_TIMESTAMP' undeclared here (not in a
    function)
    dbdimp.c:725: error: initializer element is not constant
    dbdimp.c:725: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[8].native_type')
    dbdimp.c:727: error: initializer element is not constant
    dbdimp.c:727: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[8]')
    dbdimp.c:732: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a
    function)
    dbdimp.c:732: error: initializer element is not constant
    dbdimp.c:732: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[9].native_type')
    dbdimp.c:734: error: initializer element is not constant
    dbdimp.c:734: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[9]')
    dbdimp.c:739: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:739: error: initializer element is not constant
    dbdimp.c:739: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[10].native_type')
    dbdimp.c:741: error: initializer element is not constant
    dbdimp.c:741: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[10]')
    dbdimp.c:746: error: `FIELD_TYPE_DATE' undeclared here (not in a
    function)
    dbdimp.c:746: error: initializer element is not constant
    dbdimp.c:746: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[11].native_type')
    dbdimp.c:748: error: initializer element is not constant
    dbdimp.c:748: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[11]')
    dbdimp.c:753: error: `FIELD_TYPE_TIME' undeclared here (not in a
    function)
    dbdimp.c:753: error: initializer element is not constant
    dbdimp.c:753: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[12].native_type')
    dbdimp.c:755: error: initializer element is not constant
    dbdimp.c:755: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[12]')
    dbdimp.c:760: error: `FIELD_TYPE_DATETIME' undeclared here (not in a
    function)
    dbdimp.c:760: error: initializer element is not constant
    dbdimp.c:760: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[13].native_type')
    dbdimp.c:762: error: initializer element is not constant
    dbdimp.c:762: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[13]')
    dbdimp.c:767: error: `FIELD_TYPE_YEAR' undeclared here (not in a
    function)
    dbdimp.c:767: error: initializer element is not constant
    dbdimp.c:767: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[14].native_type')
    dbdimp.c:769: error: initializer element is not constant
    dbdimp.c:769: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[14]')
    dbdimp.c:774: error: `FIELD_TYPE_NEWDATE' undeclared here (not in a
    function)
    dbdimp.c:774: error: initializer element is not constant
    dbdimp.c:774: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[15].native_type')
    dbdimp.c:776: error: initializer element is not constant
    dbdimp.c:776: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[15]')
    dbdimp.c:781: error: `FIELD_TYPE_ENUM' undeclared here (not in a
    function)
    dbdimp.c:781: error: initializer element is not constant
    dbdimp.c:781: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[16].native_type')
    dbdimp.c:783: error: initializer element is not constant
    dbdimp.c:783: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[16]')
    dbdimp.c:788: error: `FIELD_TYPE_SET' undeclared here (not in a
    function)
    dbdimp.c:788: error: initializer element is not constant
    dbdimp.c:788: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[17].native_type')
    dbdimp.c:790: error: initializer element is not constant
    dbdimp.c:790: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[17]')
    dbdimp.c:795: error: `FIELD_TYPE_BLOB' undeclared here (not in a
    function)
    dbdimp.c:795: error: initializer element is not constant
    dbdimp.c:795: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[18].native_type')
    dbdimp.c:797: error: initializer element is not constant
    dbdimp.c:797: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[18]')
    dbdimp.c:802: error: `FIELD_TYPE_TINY_BLOB' undeclared here (not in a
    function)
    dbdimp.c:802: error: initializer element is not constant
    dbdimp.c:802: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[19].native_type')
    dbdimp.c:804: error: initializer element is not constant
    dbdimp.c:804: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[19]')
    dbdimp.c:809: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a
    function)
    dbdimp.c:809: error: initializer element is not constant
    dbdimp.c:809: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[20].native_type')
    dbdimp.c:811: error: initializer element is not constant
    dbdimp.c:811: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[20]')
    dbdimp.c:816: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a
    function)
    dbdimp.c:816: error: initializer element is not constant
    dbdimp.c:816: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[21].native_type')
    dbdimp.c:818: error: initializer element is not constant
    dbdimp.c:818: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[21]')
    dbdimp.c:823: error: `FIELD_TYPE_STRING' undeclared here (not in a
    function)
    dbdimp.c:823: error: initializer element is not constant
    dbdimp.c:823: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[22].native_type')
    dbdimp.c:825: error: initializer element is not constant
    dbdimp.c:825: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[22]')
    dbdimp.c:831: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a
    function)
    dbdimp.c:831: error: initializer element is not constant
    dbdimp.c:831: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[23].native_type')
    dbdimp.c:832: error: initializer element is not constant
    dbdimp.c:832: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[23]')
    dbdimp.c:843: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:843: error: initializer element is not constant
    dbdimp.c:843: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[24].native_type')
    dbdimp.c:844: error: initializer element is not constant
    dbdimp.c:844: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[24]')
    dbdimp.c:849: error: `FIELD_TYPE_SHORT' undeclared here (not in a
    function)
    dbdimp.c:849: error: initializer element is not constant
    dbdimp.c:849: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[25].native_type')
    dbdimp.c:850: error: initializer element is not constant
    dbdimp.c:850: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[25]')
    dbdimp.c:855: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:855: error: initializer element is not constant
    dbdimp.c:855: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[26].native_type')
    dbdimp.c:856: error: initializer element is not constant
    dbdimp.c:856: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[26]')
    dbdimp.c:861: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:861: error: initializer element is not constant
    dbdimp.c:861: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[27].native_type')
    dbdimp.c:862: error: initializer element is not constant
    dbdimp.c:862: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[27]')
    dbdimp.c:867: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:867: error: initializer element is not constant
    dbdimp.c:867: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[28].native_type')
    dbdimp.c:868: error: initializer element is not constant
    dbdimp.c:868: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[28]')
    dbdimp.c:873: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:873: error: initializer element is not constant
    dbdimp.c:873: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[29].native_type')
    dbdimp.c:874: error: initializer element is not constant
    dbdimp.c:874: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[29]')
    dbdimp.c:879: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a
    function)
    dbdimp.c:879: error: initializer element is not constant
    dbdimp.c:879: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[30].native_type')
    dbdimp.c:880: error: initializer element is not constant
    dbdimp.c:880: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[30]')
    dbdimp.c:885: error: `FIELD_TYPE_BLOB' undeclared here (not in a
    function)
    dbdimp.c:885: error: initializer element is not constant
    dbdimp.c:885: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[31].native_type')
    dbdimp.c:886: error: initializer element is not constant
    dbdimp.c:886: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[31]')
    dbdimp.c:891: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a
    function)
    dbdimp.c:891: error: initializer element is not constant
    dbdimp.c:891: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[32].native_type')
    dbdimp.c:892: error: initializer element is not constant
    dbdimp.c:892: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[32]')
    dbdimp.c:901: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:901: error: initializer element is not constant
    dbdimp.c:901: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[33].native_type')
    dbdimp.c:902: error: initializer element is not constant
    dbdimp.c:902: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[33]')
    dbdimp.c:906: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:906: error: initializer element is not constant
    dbdimp.c:906: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[34].native_type')
    dbdimp.c:907: error: initializer element is not constant
    dbdimp.c:907: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[34]')
    dbdimp.c:911: error: `FIELD_TYPE_SHORT' undeclared here (not in a
    function)
    dbdimp.c:911: error: initializer element is not constant
    dbdimp.c:911: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[35].native_type')
    dbdimp.c:912: error: initializer element is not constant
    dbdimp.c:912: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[35]')
    dbdimp.c:916: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:916: error: initializer element is not constant
    dbdimp.c:916: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[36].native_type')
    dbdimp.c:917: error: initializer element is not constant
    dbdimp.c:917: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[36]')
    dbdimp.c:921: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:921: error: initializer element is not constant
    dbdimp.c:921: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[37].native_type')
    dbdimp.c:922: error: initializer element is not constant
    dbdimp.c:922: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[37]')
    dbdimp.c:926: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:926: error: initializer element is not constant
    dbdimp.c:926: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[38].native_type')
    dbdimp.c:927: error: initializer element is not constant
    dbdimp.c:927: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[38]')
    dbdimp.c:931: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a
    function)
    dbdimp.c:931: error: initializer element is not constant
    dbdimp.c:931: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[39].native_type')
    dbdimp.c:932: error: initializer element is not constant
    dbdimp.c:932: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[39]')
    dbdimp.c:936: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:936: error: initializer element is not constant
    dbdimp.c:936: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[40].native_type')
    dbdimp.c:937: error: initializer element is not constant
    dbdimp.c:937: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[40]')
    dbdimp.c:941: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:941: error: initializer element is not constant
    dbdimp.c:941: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[41].native_type')
    dbdimp.c:942: error: initializer element is not constant
    dbdimp.c:942: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[41]')
    dbdimp.c:946: error: `FIELD_TYPE_SHORT' undeclared here (not in a
    function)
    dbdimp.c:946: error: initializer element is not constant
    dbdimp.c:946: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[42].native_type')
    dbdimp.c:947: error: initializer element is not constant
    dbdimp.c:947: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[42]')
    dbdimp.c:951: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:951: error: initializer element is not constant
    dbdimp.c:951: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[43].native_type')
    dbdimp.c:952: error: initializer element is not constant
    dbdimp.c:952: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[43]')
    dbdimp.c:956: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a
    function)
    dbdimp.c:956: error: initializer element is not constant
    dbdimp.c:956: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[44].native_type')
    dbdimp.c:957: error: initializer element is not constant
    dbdimp.c:957: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[44]')
    dbdimp.c:961: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a
    function)
    dbdimp.c:961: error: initializer element is not constant
    dbdimp.c:961: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[45].native_type')
    dbdimp.c:962: error: initializer element is not constant
    dbdimp.c:962: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[45]')
    dbdimp.c:966: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a
    function)
    dbdimp.c:966: error: initializer element is not constant
    dbdimp.c:966: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[46].native_type')
    dbdimp.c:967: error: initializer element is not constant
    dbdimp.c:967: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[46]')
    dbdimp.c:971: error: `FIELD_TYPE_LONG' undeclared here (not in a
    function)
    dbdimp.c:971: error: initializer element is not constant
    dbdimp.c:971: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[47].native_type')
    dbdimp.c:972: error: initializer element is not constant
    dbdimp.c:972: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[47]')
    dbdimp.c:976: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a
    function)
    dbdimp.c:976: error: initializer element is not constant
    dbdimp.c:976: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[48].native_type')
    dbdimp.c:977: error: initializer element is not constant
    dbdimp.c:977: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[48]')
    dbdimp.c:981: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:981: error: initializer element is not constant
    dbdimp.c:981: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[49].native_type')
    dbdimp.c:982: error: initializer element is not constant
    dbdimp.c:982: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[49]')
    dbdimp.c:986: error: `FIELD_TYPE_INT24' undeclared here (not in a
    function)
    dbdimp.c:986: error: initializer element is not constant
    dbdimp.c:986: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[50].native_type')
    dbdimp.c:987: error: initializer element is not constant
    dbdimp.c:987: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[50]')
    dbdimp.c:991: error: `FIELD_TYPE_FLOAT' undeclared here (not in a
    function)
    dbdimp.c:991: error: initializer element is not constant
    dbdimp.c:991: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[51].native_type')
    dbdimp.c:992: error: initializer element is not constant
    dbdimp.c:992: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[51]')
    dbdimp.c:996: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a
    function)
    dbdimp.c:996: error: initializer element is not constant
    dbdimp.c:996: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[52].native_type')
    dbdimp.c:997: error: initializer element is not constant
    dbdimp.c:997: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[52]')
    dbdimp.c:1001: error: `FIELD_TYPE_TINY' undeclared here (not in a
    function)
    dbdimp.c:1001: error: initializer element is not constant
    dbdimp.c:1001: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[53].native_type')
    dbdimp.c:1002: error: initializer element is not constant
    dbdimp.c:1002: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[53]')
    dbdimp.c:1006: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a
    function)
    dbdimp.c:1006: error: initializer element is not constant
    dbdimp.c:1006: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[54].native_type')
    dbdimp.c:1007: error: initializer element is not constant
    dbdimp.c:1007: error: (near initialization for
    `SQL_GET_TYPE_INFO_values[54]')
    dbdimp.c: In function `native2sql':
    dbdimp.c:1018: error: `FIELD_TYPE_VAR_STRING' undeclared (first use in
    this function)
    dbdimp.c:1019: error: `FIELD_TYPE_DECIMAL' undeclared (first use in
    this function)
    dbdimp.c:1020: error: `FIELD_TYPE_TINY' undeclared (first use in this
    function)
    dbdimp.c:1021: error: `FIELD_TYPE_SHORT' undeclared (first use in this
    function)
    dbdimp.c:1022: error: `FIELD_TYPE_LONG' undeclared (first use in this
    function)
    dbdimp.c:1023: error: `FIELD_TYPE_FLOAT' undeclared (first use in this
    function)
    dbdimp.c:1026: error: `FIELD_TYPE_DOUBLE' undeclared (first use in this
    function)
    dbdimp.c:1027: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use in
    this function)
    dbdimp.c:1028: error: `FIELD_TYPE_LONGLONG' undeclared (first use in
    this function)
    dbdimp.c:1029: error: `FIELD_TYPE_INT24' undeclared (first use in this
    function)
    dbdimp.c:1030: error: `FIELD_TYPE_DATE' undeclared (first use in this
    function)
    dbdimp.c:1031: error: `FIELD_TYPE_TIME' undeclared (first use in this
    function)
    dbdimp.c:1032: error: `FIELD_TYPE_DATETIME' undeclared (first use in
    this function)
    dbdimp.c:1033: error: `FIELD_TYPE_YEAR' undeclared (first use in this
    function)
    dbdimp.c:1034: error: `FIELD_TYPE_NEWDATE' undeclared (first use in
    this function)
    dbdimp.c:1035: error: `FIELD_TYPE_ENUM' undeclared (first use in this
    function)
    dbdimp.c:1036: error: `FIELD_TYPE_SET' undeclared (first use in this
    function)
    dbdimp.c:1037: error: `FIELD_TYPE_BLOB' undeclared (first use in this
    function)
    dbdimp.c:1038: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use in
    this function)
    dbdimp.c:1039: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use in
    this function)
    dbdimp.c:1040: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use in
    this function)
    dbdimp.c:1041: error: `FIELD_TYPE_STRING' undeclared (first use in this
    function)
    dbdimp.c: At top level:
    dbdimp.c:1156: error: syntax error before '*' token
    dbdimp.c:1156: error: syntax error before "MYSQL"
    dbdimp.c: In function `mysql_dr_connect':
    dbdimp.c:1160: error: `MYSQL' undeclared (first use in this function)
    dbdimp.c:1160: error: `result' undeclared (first use in this function)
    dbdimp.c:1168: error: `port' undeclared (first use in this function)
    dbdimp.c:1178: error: `host' undeclared (first use in this function)
    dbdimp.c:1179: error: `user' undeclared (first use in this function)
    dbdimp.c:1180: error: `password' undeclared (first use in this
    function)
    dbdimp.c:1285: error: `CLIENT_FOUND_ROWS' undeclared (first use in this
    function)
    dbdimp.c:1287: error: `sock' undeclared (first use in this function)
    dbdimp.c:1289: error: `imp_dbh' undeclared (first use in this function)
    dbdimp.c:1307: error: `MYSQL_OPT_COMPRESS' undeclared (first use in
    this function)
    dbdimp.c:1317: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use
    in this function)
    dbdimp.c:1328: error: `MYSQL_READ_DEFAULT_FILE' undeclared (first use
    in this function)
    dbdimp.c:1339: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use
    in this function)
    dbdimp.c:1439: error: `dbname' undeclared (first use in this function)
    dbdimp.c:1440: error: `mysql_socket' undeclared (first use in this
    function)
    dbdimp.c: In function `my_login':
    dbdimp.c:1513: error: dereferencing pointer to incomplete type
    dbdimp.c:1539: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_login':
    dbdimp.c:1575: error: dereferencing pointer to incomplete type
    dbdimp.c:1576: error: dereferencing pointer to incomplete type
    dbdimp.c:1577: error: dereferencing pointer to incomplete type
    dbdimp.c:1578: error: dereferencing pointer to incomplete type
    dbdimp.c:1580: error: dereferencing pointer to incomplete type
    dbdimp.c:1584: error: dereferencing pointer to incomplete type
    dbdimp.c:1585: error: dereferencing pointer to incomplete type
    dbdimp.c:1585: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:1592: error: dereferencing pointer to incomplete type
    dbdimp.c:1592: error: dereferencing pointer to incomplete type
    dbdimp.c:1592: error: dereferencing pointer to incomplete type
    dbdimp.c:1595: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_commit':
    dbdimp.c:1621: error: dereferencing pointer to incomplete type
    dbdimp.c:1628: error: dereferencing pointer to incomplete type
    dbdimp.c:1631: error: dereferencing pointer to incomplete type
    dbdimp.c:1636: error: dereferencing pointer to incomplete type
    dbdimp.c:1637: error: dereferencing pointer to incomplete type
    dbdimp.c:1637: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c: In function `mysql_db_rollback':
    dbdimp.c:1653: error: dereferencing pointer to incomplete type
    dbdimp.c:1660: error: dereferencing pointer to incomplete type
    dbdimp.c:1663: error: dereferencing pointer to incomplete type
    dbdimp.c:1668: error: dereferencing pointer to incomplete type
    dbdimp.c:1669: error: dereferencing pointer to incomplete type
    dbdimp.c:1669: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c: In function `mysql_db_disconnect':
    dbdimp.c:1703: error: dereferencing pointer to incomplete type
    dbdimp.c:1703: error: dereferencing pointer to incomplete type
    dbdimp.c:1703: error: dereferencing pointer to incomplete type
    dbdimp.c:1706: error: dereferencing pointer to incomplete type
    dbdimp.c:1707: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_destroy':
    dbdimp.c:1789: error: dereferencing pointer to incomplete type
    dbdimp.c:1791: error: dereferencing pointer to incomplete type
    dbdimp.c:1793: error: dereferencing pointer to incomplete type
    dbdimp.c:1795: error: dereferencing pointer to incomplete type
    dbdimp.c:1805: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_STORE_attrib':
    dbdimp.c:1840: error: dereferencing pointer to incomplete type
    dbdimp.c:1842: error: dereferencing pointer to incomplete type
    dbdimp.c:1859: error: dereferencing pointer to incomplete type
    dbdimp.c:1867: error: dereferencing pointer to incomplete type
    dbdimp.c:1874: error: dereferencing pointer to incomplete type
    dbdimp.c:1874: error: dereferencing pointer to incomplete type
    dbdimp.c:1891: error: dereferencing pointer to incomplete type
    dbdimp.c:1894: error: dereferencing pointer to incomplete type
    dbdimp.c:1896: error: dereferencing pointer to incomplete type
    dbdimp.c:1899: error: dereferencing pointer to incomplete type
    dbdimp.c: At top level:
    dbdimp.c:1924: error: syntax error before "val"
    dbdimp.c: In function `my_ulonglong2str':
    dbdimp.c:1929: error: `val' undeclared (first use in this function)
    dbdimp.c: In function `mysql_db_FETCH_attrib':
    dbdimp.c:1957: error: dereferencing pointer to incomplete type
    dbdimp.c:1958: error: dereferencing pointer to incomplete type
    dbdimp.c:1974: error: dereferencing pointer to incomplete type
    dbdimp.c:1979: error: dereferencing pointer to incomplete type
    dbdimp.c:1983: error: dereferencing pointer to incomplete type
    dbdimp.c:1987: error: dereferencing pointer to incomplete type
    dbdimp.c:1987: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2000: error: dereferencing pointer to incomplete type
    dbdimp.c:2007: error: dereferencing pointer to incomplete type
    dbdimp.c:2017: error: dereferencing pointer to incomplete type
    dbdimp.c:2017: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2026: error: dereferencing pointer to incomplete type
    dbdimp.c:2026: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2031: error: dereferencing pointer to incomplete type
    dbdimp.c:2036: error: dereferencing pointer to incomplete type
    dbdimp.c:2042: error: dereferencing pointer to incomplete type
    dbdimp.c:2042: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2047: error: dereferencing pointer to incomplete type
    dbdimp.c:2049: error: dereferencing pointer to incomplete type
    dbdimp.c:2052: error: dereferencing pointer to incomplete type
    dbdimp.c:2052: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2059: error: dereferencing pointer to incomplete type
    dbdimp.c:2059: warning: initialization makes pointer from integer
    without a cast
    dbdimp.c:2064: error: dereferencing pointer to incomplete type
    dbdimp.c:2069: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_st_prepare':
    dbdimp.c:2115: error: dereferencing pointer to incomplete type
    dbdimp.c:2122: error: dereferencing pointer to incomplete type
    dbdimp.c:2125: error: dereferencing pointer to incomplete type
    dbdimp.c:2126: error: dereferencing pointer to incomplete type
    dbdimp.c:2127: error: dereferencing pointer to incomplete type
    dbdimp.c:2131: error: dereferencing pointer to incomplete type
    dbdimp.c:2132: error: dereferencing pointer to incomplete type
    dbdimp.c:2178: error: dereferencing pointer to incomplete type
    dbdimp.c:2309: error: dereferencing pointer to incomplete type
    dbdimp.c:2309: error: dereferencing pointer to incomplete type
    dbdimp.c:2310: error: dereferencing pointer to incomplete type
    dbdimp.c: At top level:
    dbdimp.c:2332: error: syntax error before "mysql_st_internal_execute"
    dbdimp.c:2338: error: syntax error before "MYSQL_RES"
    dbdimp.c: In function `mysql_st_internal_execute':
    dbdimp.c:2343: error: `h' undeclared (first use in this function)
    dbdimp.c:2344: error: dereferencing pointer to incomplete type
    dbdimp.c:2347: error: `statement' undeclared (first use in this
    function)
    dbdimp.c:2351: error: `my_ulonglong' undeclared (first use in this
    function)
    dbdimp.c:2351: error: syntax error before "rows"
    dbdimp.c:2369: error: dereferencing pointer to incomplete type
    dbdimp.c:2377: error: dereferencing pointer to incomplete type
    dbdimp.c:2380: error: dereferencing pointer to incomplete type
    dbdimp.c:2385: error: `svsock' undeclared (first use in this function)
    dbdimp.c:2389: error: `num_params' undeclared (first use in this
    function)
    dbdimp.c:2403: error: `result' undeclared (first use in this function)
    dbdimp.c:2443: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:2455: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:2465: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:2468: error: `rows' undeclared (first use in this function)
    dbdimp.c: In function `mysql_st_execute':
    dbdimp.c:2605: error: dereferencing pointer to incomplete type
    dbdimp.c:2620: error: dereferencing pointer to incomplete type
    dbdimp.c:2621: error: dereferencing pointer to incomplete type
    dbdimp.c:2623: error: dereferencing pointer to incomplete type
    dbdimp.c:2654: error: dereferencing pointer to incomplete type
    dbdimp.c:2658: error: dereferencing pointer to incomplete type
    dbdimp.c:2659: error: dereferencing pointer to incomplete type
    dbdimp.c:2660: error: dereferencing pointer to incomplete type
    dbdimp.c:2661: error: dereferencing pointer to incomplete type
    dbdimp.c:2662: error: dereferencing pointer to incomplete type
    dbdimp.c:2665: error: dereferencing pointer to incomplete type
    dbdimp.c:2665: error: `my_ulonglong' undeclared (first use in this
    function)
    dbdimp.c:2667: error: dereferencing pointer to incomplete type
    dbdimp.c:2668: error: dereferencing pointer to incomplete type
    dbdimp.c:2668: error: dereferencing pointer to incomplete type
    dbdimp.c:2672: error: dereferencing pointer to incomplete type
    dbdimp.c:2672: error: dereferencing pointer to incomplete type
    dbdimp.c:2672: error: dereferencing pointer to incomplete type
    dbdimp.c:2673: error: dereferencing pointer to incomplete type
    dbdimp.c:2673: error: dereferencing pointer to incomplete type
    dbdimp.c:2674: error: dereferencing pointer to incomplete type
    dbdimp.c:2675: error: dereferencing pointer to incomplete type
    dbdimp.c:2685: error: dereferencing pointer to incomplete type
    dbdimp.c:2691: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_describe':
    dbdimp.c:2797: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_st_fetch':
    dbdimp.c:2825: error: `MYSQL_ROW' undeclared (first use in this
    function)
    dbdimp.c:2825: error: syntax error before "cols"
    dbdimp.c:2831: error: dereferencing pointer to incomplete type
    dbdimp.c:2859: error: dereferencing pointer to incomplete type
    dbdimp.c:2868: error: dereferencing pointer to incomplete type
    dbdimp.c:2875: error: dereferencing pointer to incomplete type
    dbdimp.c:2987: error: dereferencing pointer to incomplete type
    dbdimp.c:2989: error: `cols' undeclared (first use in this function)
    dbdimp.c:2989: error: dereferencing pointer to incomplete type
    dbdimp.c:2991: error: dereferencing pointer to incomplete type
    dbdimp.c:2992: error: dereferencing pointer to incomplete type
    dbdimp.c:2993: error: dereferencing pointer to incomplete type
    dbdimp.c:2993: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:3000: error: dereferencing pointer to incomplete type
    dbdimp.c:3000: warning: assignment makes pointer from integer without a
    cast
    dbdimp.c: In function `mysql_st_finish':
    dbdimp.c:3124: error: dereferencing pointer to incomplete type
    dbdimp.c:3126: error: dereferencing pointer to incomplete type
    dbdimp.c:3127: error: dereferencing pointer to incomplete type
    dbdimp.c:3129: error: dereferencing pointer to incomplete type
    dbdimp.c:3129: error: dereferencing pointer to incomplete type
    dbdimp.c:3129: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_st_destroy':
    dbdimp.c:3203: error: dereferencing pointer to incomplete type
    dbdimp.c:3203: error: dereferencing pointer to incomplete type
    dbdimp.c:3204: error: dereferencing pointer to incomplete type
    dbdimp.c:3209: error: dereferencing pointer to incomplete type
    dbdimp.c:3210: error: dereferencing pointer to incomplete type
    dbdimp.c:3211: error: dereferencing pointer to incomplete type
    dbdimp.c:3213: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_st_STORE_attrib':
    dbdimp.c:3255: error: dereferencing pointer to incomplete type
    dbdimp.c: At top level:
    dbdimp.c:3305: error: syntax error before "MYSQL_RES"
    dbdimp.c: In function `mysql_st_FETCH_internal':
    dbdimp.c:3309: error: `sth' undeclared (first use in this function)
    dbdimp.c:3311: error: `MYSQL_FIELD' undeclared (first use in this
    function)
    dbdimp.c:3311: error: `curField' undeclared (first use in this
    function)
    dbdimp.c:3314: error: `what' undeclared (first use in this function)
    dbdimp.c:3318: error: `cacheit' undeclared (first use in this function)
    dbdimp.c:3318: error: dereferencing pointer to incomplete type
    dbdimp.c:3319: error: dereferencing pointer to incomplete type
    dbdimp.c:3322: error: `res' undeclared (first use in this function)
    dbdimp.c:3387: error: `PRI_KEY_FLAG' undeclared (first use in this
    function)
    dbdimp.c:3387: error: `UNIQUE_KEY_FLAG' undeclared (first use in this
    function)
    dbdimp.c:3387: error: `MULTIPLE_KEY_FLAG' undeclared (first use in this
    function)
    dbdimp.c:3414: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_st_FETCH_attrib':
    dbdimp.c:3463: error: dereferencing pointer to incomplete type
    dbdimp.c:3465: error: dereferencing pointer to incomplete type
    dbdimp.c:3469: error: dereferencing pointer to incomplete type
    dbdimp.c:3473: error: dereferencing pointer to incomplete type
    dbdimp.c:3478: error: dereferencing pointer to incomplete type
    dbdimp.c:3482: error: dereferencing pointer to incomplete type
    dbdimp.c:3490: error: dereferencing pointer to incomplete type
    dbdimp.c:3494: error: dereferencing pointer to incomplete type
    dbdimp.c:3500: error: dereferencing pointer to incomplete type
    dbdimp.c:3504: error: dereferencing pointer to incomplete type
    dbdimp.c:3508: error: dereferencing pointer to incomplete type
    dbdimp.c:3510: error: dereferencing pointer to incomplete type
    dbdimp.c:3512: error: dereferencing pointer to incomplete type
    dbdimp.c:3514: error: dereferencing pointer to incomplete type
    dbdimp.c:3518: error: dereferencing pointer to incomplete type
    dbdimp.c:3525: error: dereferencing pointer to incomplete type
    dbdimp.c:3527: error: dereferencing pointer to incomplete type
    dbdimp.c:3532: error: dereferencing pointer to incomplete type
    dbdimp.c:3536: error: dereferencing pointer to incomplete type
    dbdimp.c:3538: error: dereferencing pointer to incomplete type
    dbdimp.c:3540: error: dereferencing pointer to incomplete type
    dbdimp.c:3552: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_bind_ph':
    dbdimp.c:3631: error: dereferencing pointer to incomplete type
    dbdimp.c:3667: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_reconnect':
    dbdimp.c:3788: error: `MYSQL' undeclared (first use in this function)
    dbdimp.c:3788: error: syntax error before "save_socket"
    dbdimp.c:3798: error: dereferencing pointer to incomplete type
    dbdimp.c:3798: error: `CR_SERVER_GONE_ERROR' undeclared (first use in
    this function)
    dbdimp.c:3802: error: dereferencing pointer to incomplete type
    dbdimp.c:3802: error: dereferencing pointer to incomplete type
    dbdimp.c:3816: error: `save_socket' undeclared (first use in this
    function)
    dbdimp.c:3816: error: dereferencing pointer to incomplete type
    dbdimp.c:3817: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3818: error: dereferencing pointer to incomplete type
    dbdimp.c:3822: error: dereferencing pointer to incomplete type
    dbdimp.c:3822: error: dereferencing pointer to incomplete type
    dbdimp.c:3822: warning: passing arg 3 of `mysql_dr_error' makes pointer
    from integer without a cast
    dbdimp.c:3823: error: dereferencing pointer to incomplete type
    dbdimp.c:3824: error: dereferencing pointer to incomplete type
    dbdimp.c:3827: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_quote':
    dbdimp.c:3978: error: dereferencing pointer to incomplete type
    dbdimp.c: In function `mysql_db_last_insert_id':
    dbdimp.c:3993: error: dereferencing pointer to incomplete type
    make: *** [dbdimp.o] Error 1
    /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


  6. Re: DBD::Mydbdriver

    On Thu, 2006-11-02 at 17:13 -0800, Adam Scheinberg wrote:
    > Note (probably harmless): No library found for -lmysqlclient


    You picked a bad server to try things out on.

    From what it looks like, you have a bunch of stuff installed in weird,
    non-standard locations. (In /opt/.)

    You'll probably need more help getting this working than I can give you
    over email.

    Basically, you at least need to set LD_LIBRARY_PATH to the location
    where the MySQL libraries are. And after that you're going to have to
    set it when Bugzilla runs, also.

    Any more help than that would be difficult to give you by email.

    -Max
    --
    http://www.everythingsolved.com/
    Competent, Friendly Bugzilla Services. And Everything Else, too.


+ Reply to Thread