Solved

Installing MySQL::DBD for Bugzilla

Posted on 2009-07-06
3
1,862 Views
Last Modified: 2013-12-06
Hello Experts,
I am attempting to install Bugzilla which need a mySQL database and am having difficulty installing the MySQL::DBD driver on Linux(specifically Fedora Core 6). I have done the install commands that SHOULD work, but I'm hitting the errors as seen in the code section below. Most of them are just errors with dbdimp, but I don't know what that indicates. Immediately below is the command I ran in CPAN.

perl Makefile.PL --testuser=root --testpassword=********* --mysql_config=/usr/bin/mysql_config --testsocket=/var/lib/mysql/mysql.sock
Thanks in advance for the help.
Multiple copies of Driver.xst found in: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at Makefile.PL line 902
Using DBI 1.609 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/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/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c  -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"4.012\" -DXS_VERSION=\"4.012\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:144: error: expected specifier-qualifier-list before 'MYSQL'
dbdimp.h:236: error: expected specifier-qualifier-list before 'MYSQL_RES'
In file included from dbdimp.c:20:
dbdimp.h:293: error: expected ')' before '*' token
dbdimp.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysql_st_internal_execute'
dbdimp.h:328: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
dbdimp.c: In function 'alloc_param':
dbdimp.c:113: warning: comparison is always false due to limited range of data type
dbdimp.c: At top level:
dbdimp.c:408: error: expected ')' before '*' token
dbdimp.c:635: error: 'FIELD_TYPE_VAR_STRING' undeclared here (not in a function)
dbdimp.c:645: error: 'FIELD_TYPE_DECIMAL' undeclared here (not in a function)
dbdimp.c:655: error: 'FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:665: error: 'FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:675: error: 'FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:685: error: 'FIELD_TYPE_FLOAT' undeclared here (not in a function)
dbdimp.c:695: error: 'FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:718: error: 'FIELD_TYPE_TIMESTAMP' undeclared here (not in a function)
dbdimp.c:728: error: 'FIELD_TYPE_LONGLONG' undeclared here (not in a function)
dbdimp.c:738: error: 'FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:748: error: 'FIELD_TYPE_DATE' undeclared here (not in a function)
dbdimp.c:758: error: 'FIELD_TYPE_TIME' undeclared here (not in a function)
dbdimp.c:768: error: 'FIELD_TYPE_DATETIME' undeclared here (not in a function)
dbdimp.c:778: error: 'FIELD_TYPE_YEAR' undeclared here (not in a function)
dbdimp.c:788: error: 'FIELD_TYPE_NEWDATE' undeclared here (not in a function)
dbdimp.c:798: error: 'FIELD_TYPE_ENUM' undeclared here (not in a function)
dbdimp.c:808: error: 'FIELD_TYPE_SET' undeclared here (not in a function)
dbdimp.c:818: error: 'FIELD_TYPE_BLOB' undeclared here (not in a function)
dbdimp.c:828: error: 'FIELD_TYPE_TINY_BLOB' undeclared here (not in a function)
dbdimp.c:838: error: 'FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function)
dbdimp.c:848: error: 'FIELD_TYPE_LONG_BLOB' undeclared here (not in a function)
dbdimp.c:858: error: 'FIELD_TYPE_STRING' undeclared here (not in a function)
dbdimp.c: In function 'mysql_dr_error':
dbdimp.c:1246: warning: unused variable 'errstate'
dbdimp.c: At top level:
dbdimp.c:1325: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
dbdimp.c: In function 'my_login':
dbdimp.c:1785: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: 'MYSQL' undeclared (first use in this function)
dbdimp.c:1786: error: (Each undeclared identifier is reported only once
dbdimp.c:1786: error: for each function it appears in.)
dbdimp.c:1786: warning: comparison between pointer and integer
dbdimp.c:1786: error: invalid operands to binary /
dbdimp.c:1786: warning: comparison between pointer and integer
dbdimp.c:1786: error: expected expression before ')' token
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: warning: passing argument 3 of '__builtin___memset_chk' makes integer from pointer without a cast
dbdimp.c:1786: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1786: error: invalid operands to binary *
dbdimp.c:1786: warning: passing argument 3 of '__memset_ichk' makes integer from pointer without a cast
dbdimp.c:1786: warning: left-hand operand of comma expression has no effect
dbdimp.c:1786: warning: value computed is not used
dbdimp.c:1788: warning: implicit declaration of function 'mysql_dr_connect'
dbdimp.c:1788: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c: In function 'mysql_db_login':
dbdimp.c:1825: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:1825: error: request for member 'auto_reconnects_ok' in something not a structure or union
dbdimp.c:1825: warning: statement with no effect
dbdimp.c:1826: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:1826: error: request for member 'auto_reconnects_failed' in something not a structure or union
dbdimp.c:1826: warning: statement with no effect
dbdimp.c:1827: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c:1827: warning: statement with no effect
dbdimp.c:1828: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1828: warning: statement with no effect
dbdimp.c:1830: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:1830: warning: statement with no effect
dbdimp.c:1839: warning: implicit declaration of function 'mysql_errno'
dbdimp.c:1839: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1840: warning: implicit declaration of function 'mysql_error'
dbdimp.c:1840: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1840: warning: passing argument 3 of 'mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function 'mysql_db_commit':
dbdimp.c:1877: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1880: warning: implicit declaration of function 'mysql_real_query'
dbdimp.c:1880: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1885: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1885: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1886: warning: passing argument 3 of 'mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function 'mysql_db_rollback':
dbdimp.c:1905: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:1908: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1913: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1914: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1914: warning: passing argument 3 of 'mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function 'mysql_db_disconnect':
dbdimp.c:1951: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:1952: warning: implicit declaration of function 'mysql_close'
dbdimp.c:1952: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c: In function 'dbd_discon_all':
dbdimp.c:2002: warning: implicit declaration of function 'mysql_server_end'
dbdimp.c:1978: warning: unused variable 'imp_xxh'
dbdimp.c: In function 'mysql_db_destroy':
dbdimp.c:2039: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:2043: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2051: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c: In function 'mysql_db_STORE_attrib':
dbdimp.c:2089: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:2111: error: 'imp_dbh_t' has no member named 'no_autocommit_cmd'
dbdimp.c:2116: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2124: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2149: error: 'imp_dbh_t' has no member named 'use_mysql_use_result'
dbdimp.c:2149: warning: statement with no effect
dbdimp.c:2151: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:2151: warning: statement with no effect
dbdimp.c:2153: error: 'imp_dbh_t' has no member named 'use_server_side_prepare'
dbdimp.c:2153: warning: statement with no effect
dbdimp.c:2155: error: 'imp_dbh_t' has no member named 'no_autocommit_cmd'
dbdimp.c:2155: warning: statement with no effect
dbdimp.c:2157: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c:2157: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:2186: error: expected ')' before 'val'
dbdimp.c: In function 'mysql_db_FETCH_attrib':
dbdimp.c:2215: error: 'imp_dbh_t' has no member named 'has_transactions'
dbdimp.c:2232: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:2232: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:2237: error: 'imp_dbh_t' has no member named 'bind_type_guessing'
dbdimp.c:2237: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:2241: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2245: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2245: warning: initialization makes pointer from integer without a cast
dbdimp.c:2259: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:2259: error: request for member 'auto_reconnects_ok' in something not a structure or union
dbdimp.c:2259: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:2266: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:2266: error: request for member 'auto_reconnects_failed' in something not a structure or union
dbdimp.c:2266: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:2280: warning: implicit declaration of function 'mysql_get_host_info'
dbdimp.c:2280: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2280: warning: initialization makes pointer from integer without a cast
dbdimp.c:2289: warning: implicit declaration of function 'mysql_info'
dbdimp.c:2289: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2289: warning: initialization makes pointer from integer without a cast
dbdimp.c:2294: warning: implicit declaration of function 'my_ulonglong2str'
dbdimp.c:2294: warning: implicit declaration of function 'mysql_insert_id'
dbdimp.c:2294: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2294: warning: passing argument 2 of 'Perl_sv_2mortal' makes pointer from integer without a cast
dbdimp.c:2299: error: 'imp_dbh_t' has no member named 'no_autocommit_cmd'
dbdimp.c:2299: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:2304: warning: implicit declaration of function 'mysql_get_proto_info'
dbdimp.c:2304: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2310: warning: implicit declaration of function 'mysql_get_server_info'
dbdimp.c:2310: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2310: warning: initialization makes pointer from integer without a cast
dbdimp.c:2315: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2317: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2317: error: 'sql_type_info_t' has no member named 'net'
dbdimp.c:2317: error: request for member 'fd' in something not a structure or union
dbdimp.c:2320: warning: implicit declaration of function 'mysql_stat'
dbdimp.c:2320: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2320: warning: initialization makes pointer from integer without a cast
dbdimp.c:2327: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:2327: warning: initialization makes pointer from integer without a cast
dbdimp.c:2332: error: 'imp_dbh_t' has no member named 'use_server_side_prepare'
dbdimp.c:2337: warning: implicit declaration of function 'mysql_thread_id'
dbdimp.c:2337: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c: In function 'mysql_st_prepare':
dbdimp.c:2386: error: 'MYSQL_VERSION_ID' undeclared (first use in this function)
dbdimp.c:2401: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c:2401: warning: statement with no effect
dbdimp.c:2402: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2402: warning: statement with no effect
dbdimp.c:2403: error: 'imp_sth_t' has no member named 'currow'
dbdimp.c:2403: warning: statement with no effect
dbdimp.c:2407: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:2408: error: 'imp_dbh_t' has no member named 'use_mysql_use_result'
dbdimp.c:2408: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2408: warning: statement with no effect
dbdimp.c:2411: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:2411: error: assignment of read-only location
dbdimp.c:2411: warning: statement with no effect
dbdimp.c:2600: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:2600: warning: statement with no effect
dbdimp.c: In function 'mysql_st_free_result_sets':
dbdimp.c:2670: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2672: warning: implicit declaration of function 'mysql_free_result'
dbdimp.c:2672: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2673: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:2673: warning: statement with no effect
dbdimp.c:2623: warning: unused variable 'next_result_rc'
dbdimp.c:2621: warning: unused variable 'imp_dbh'
dbdimp.c: At top level:
dbdimp.c:2837: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysql_st_internal_execute'
dbdimp.c: In function 'mysql_st_execute':
dbdimp.c:3138: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3138: error: used struct type value where scalar is required
dbdimp.c:3139: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3139: error: cannot convert to a pointer type
dbdimp.c:3141: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3141: error: assignment of read-only location
dbdimp.c:3141: warning: statement with no effect
dbdimp.c:3174: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:3174: warning: implicit declaration of function 'mysql_st_internal_execute'
dbdimp.c:3179: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3180: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3181: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3182: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:3183: warning: statement with no effect
dbdimp.c:3185: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:3185: error: 'my_ulonglong' undeclared (first use in this function)
dbdimp.c:3187: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3189: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:3189: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3189: warning: statement with no effect
dbdimp.c:3198: warning: implicit declaration of function 'mysql_num_fields'
dbdimp.c:3198: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3200: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c:3200: warning: statement with no effect
dbdimp.c:3201: error: 'imp_sth_t' has no member named 'fetch_done'
dbdimp.c:3201: warning: statement with no effect
dbdimp.c:3205: error: 'imp_sth_t' has no member named 'warning_count'
dbdimp.c:3205: warning: statement with no effect
dbdimp.c:3213: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:3213: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'const struct sql_type_info_t *'
dbdimp.c:3219: error: 'imp_sth_t' has no member named 'row_num'
dbdimp.c:3219: warning: cast from pointer to integer of different size
dbdimp.c: In function 'mysql_describe':
dbdimp.c:3341: error: 'imp_sth_t' has no member named 'done_desc'
dbdimp.c:3341: warning: statement with no effect
dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:3369: error: 'MYSQL_ROW' undeclared (first use in this function)
dbdimp.c:3369: warning: statement with no effect
dbdimp.c:3369: error: expected ';' before 'cols'
dbdimp.c:3370: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3371: error: 'MYSQL' undeclared (first use in this function)
dbdimp.c:3371: error: 'svsock' undeclared (first use in this function)
dbdimp.c:3371: error: invalid operands to binary *
dbdimp.c:3371: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3371: warning: statement with no effect
dbdimp.c:3372: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3377: error: 'MYSQL_FIELD' undeclared (first use in this function)
dbdimp.c:3377: error: 'fields' undeclared (first use in this function)
dbdimp.c:3377: error: invalid operands to binary *
dbdimp.c:3377: warning: statement with no effect
dbdimp.c:3415: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3422: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3422: error: 'sql_type_info_t' has no member named 'net'
dbdimp.c:3422: error: request for member 'last_errno' in something not a structure or union
dbdimp.c:3422: warning: statement with no effect
dbdimp.c:3553: error: 'imp_sth_t' has no member named 'currow'
dbdimp.c:3553: error: invalid lvalue in increment
dbdimp.c:3553: warning: statement with no effect
dbdimp.c:3558: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3560: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3562: warning: implicit declaration of function 'mysql_num_rows'
dbdimp.c:3562: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3564: warning: implicit declaration of function 'mysql_affected_rows'
dbdimp.c:3564: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3566: error: 'imp_sth_t' has no member named 'currow'
dbdimp.c:3569: error: 'cols' undeclared (first use in this function)
dbdimp.c:3569: warning: implicit declaration of function 'mysql_fetch_row'
dbdimp.c:3569: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3575: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3576: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3577: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:3578: warning: passing argument 3 of 'mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:3588: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3589: warning: implicit declaration of function 'mysql_fetch_fields'
dbdimp.c:3589: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3589: warning: statement with no effect
dbdimp.c:3590: warning: implicit declaration of function 'mysql_fetch_lengths'
dbdimp.c:3590: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:3590: warning: assignment makes pointer from integer without a cast
dbdimp.c:3630: error: incompatible types in initialization
dbdimp.c:3372: warning: unused variable 'fbh'
dbdimp.c:3365: warning: unused variable 'rc'
dbdimp.c: In function 'mysql_st_destroy':
dbdimp.c:3818: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3820: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3820: warning: passing argument 1 of 'free_param' from incompatible pointer type
dbdimp.c:3821: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:3821: warning: statement with no effect
dbdimp.c:3827: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3827: error: used struct type value where scalar is required
dbdimp.c:3828: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3828: error: cannot convert to a pointer type
dbdimp.c:3829: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3829: error: assignment of read-only location
dbdimp.c:3829: warning: statement with no effect
dbdimp.c:3764: warning: unused variable 'imp_xxh'
dbdimp.c: In function 'mysql_st_STORE_attrib':
dbdimp.c:3873: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:3873: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:3921: error: expected declaration specifiers or '...' before 'MYSQL_RES'
dbdimp.c: In function 'mysql_st_FETCH_internal':
dbdimp.c:3927: error: 'MYSQL_FIELD' undeclared (first use in this function)
dbdimp.c:3927: error: 'curField' undeclared (first use in this function)
dbdimp.c:3927: error: invalid operands to binary *
dbdimp.c:3927: warning: statement with no effect
dbdimp.c:3934: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3934: error: invalid operands to binary &&
dbdimp.c:3935: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:3935: error: incompatible types in assignment
dbdimp.c:3935: warning: statement with no effect
dbdimp.c:3938: error: 'res' undeclared (first use in this function)
dbdimp.c:3945: warning: implicit declaration of function 'mysql_field_seek'
dbdimp.c:3946: warning: implicit declaration of function 'mysql_fetch_field'
dbdimp.c:3952: error: 'sql_type_info_t' has no member named 'name'
dbdimp.c:3952: error: 'sql_type_info_t' has no member named 'name'
dbdimp.c:3952: warning: passing argument 1 of 'strlen' from incompatible pointer type
dbdimp.c:3952: warning: passing argument 2 of 'Perl_newSVpv' from incompatible pointer type
dbdimp.c:3956: error: 'sql_type_info_t' has no member named 'table'
dbdimp.c:3956: error: 'sql_type_info_t' has no member named 'table'
dbdimp.c:3956: warning: passing argument 1 of 'strlen' from incompatible pointer type
dbdimp.c:3956: warning: passing argument 2 of 'Perl_newSVpv' from incompatible pointer type
dbdimp.c:3960: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3960: warning: cast from pointer to integer of different size
dbdimp.c:3964: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3964: warning: passing argument 1 of 'native2sql' makes integer from pointer without a cast
dbdimp.c:3967: warning: implicit declaration of function 'IS_PRI_KEY'
dbdimp.c:3967: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3971: warning: implicit declaration of function 'IS_NOT_NULL'
dbdimp.c:3971: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3975: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:3979: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:3979: warning: cast from pointer to integer of different size
dbdimp.c:3983: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3983: warning: passing argument 1 of 'native2sql' makes integer from pointer without a cast
dbdimp.c:3987: error: 'sql_type_info_t' has no member named 'type'
dbdimp.c:3987: warning: passing argument 1 of 'native2sql' makes integer from pointer without a cast
dbdimp.c:3991: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:3991: warning: cast from pointer to integer of different size
dbdimp.c:4003: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:4003: error: 'PRI_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:4003: error: 'UNIQUE_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:4003: error: invalid operands to binary |
dbdimp.c:4003: error: 'MULTIPLE_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:4003: error: invalid operands to binary |
dbdimp.c:4003: error: invalid operands to binary &
dbdimp.c:4007: warning: implicit declaration of function 'IS_BLOB'
dbdimp.c:4007: error: 'sql_type_info_t' has no member named 'flags'
dbdimp.c:4011: error: 'sql_type_info_t' has no member named 'decimals'
dbdimp.c:4011: warning: cast from pointer to integer of different size
dbdimp.c:4015: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:4015: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:4015: error: 'sql_type_info_t' has no member named 'length'
dbdimp.c:4015: error: 'sql_type_info_t' has no member named 'max_length'
dbdimp.c:4015: warning: passing argument 2 of 'Perl_newSViv' makes integer from pointer without a cast
dbdimp.c:4030: error: 'imp_sth_t' has no member named 'av_attr'
dbdimp.c:4030: error: assignment of read-only location
dbdimp.c:4030: warning: statement with no effect
dbdimp.c: In function 'mysql_st_FETCH_attrib':
dbdimp.c:4081: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4081: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4081: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4083: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4083: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4083: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4087: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4087: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4087: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4099: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:4099: error: 'struct sql_type_info_s' has no member named 'value'
dbdimp.c:4099: warning: passing argument 2 of 'Perl_newSVsv' from incompatible pointer type
dbdimp.c:4108: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4108: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4108: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4112: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4112: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4112: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4118: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4118: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4118: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4122: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4122: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4122: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4126: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4126: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4126: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4128: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4128: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4128: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4130: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4130: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4130: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4132: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4136: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4136: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4136: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4143: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:4145: error: 'imp_sth_t' has no member named 'insertid'
dbdimp.c:4145: warning: passing argument 2 of 'Perl_sv_2mortal' makes pointer from integer without a cast
dbdimp.c:4150: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4150: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4150: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4154: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4154: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4154: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4156: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4156: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4156: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c:4158: error: 'imp_sth_t' has no member named 'use_mysql_use_result'
dbdimp.c:4162: error: 'imp_sth_t' has no member named 'warning_count'
dbdimp.c:4174: error: 'imp_sth_t' has no member named 'result'
dbdimp.c:4174: warning: passing argument 3 of 'mysql_st_FETCH_internal' makes integer from pointer without a cast
dbdimp.c:4174: error: too many arguments to function 'mysql_st_FETCH_internal'
dbdimp.c: In function 'mysql_bind_ph':
dbdimp.c:4298: error: 'imp_sth_t' has no member named 'params'
dbdimp.c:4298: warning: passing argument 1 of 'bind_param' from incompatible pointer type
dbdimp.c:4252: warning: unused variable 'imp_xxh'
dbdimp.c: In function 'mysql_db_reconnect':
dbdimp.c:4420: error: 'MYSQL' undeclared (first use in this function)
dbdimp.c:4420: warning: statement with no effect
dbdimp.c:4420: error: expected ';' before 'save_socket'
dbdimp.c:4430: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4430: error: 'CR_SERVER_GONE_ERROR' undeclared (first use in this function)
dbdimp.c:4430: warning: comparison between pointer and integer
dbdimp.c:4434: error: 'imp_dbh_t' has no member named 'auto_reconnect'
dbdimp.c:4448: error: 'save_socket' undeclared (first use in this function)
dbdimp.c:4448: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4448: warning: statement with no effect
dbdimp.c:4449: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4449: warning: passing argument 3 of '__builtin___memcpy_chk' makes integer from pointer without a cast
dbdimp.c:4449: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4449: warning: passing argument 3 of '__memcpy_ichk' makes integer from pointer without a cast
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: warning: passing argument 1 of '__builtin___memset_chk' discards qualifiers from pointer target type
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4450: warning: passing argument 1 of '__memset_ichk' discards qualifiers from pointer target type
dbdimp.c:4458: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4458: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4459: warning: passing argument 3 of 'mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:4460: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4460: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4460: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4460: warning: passing argument 1 of '__builtin___memcpy_chk' discards qualifiers from pointer target type
dbdimp.c:4460: warning: passing argument 3 of '__builtin___memcpy_chk' makes integer from pointer without a cast
dbdimp.c:4460: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4460: warning: passing argument 1 of '__memcpy_ichk' discards qualifiers from pointer target type
dbdimp.c:4460: warning: passing argument 3 of '__memcpy_ichk' makes integer from pointer without a cast
dbdimp.c:4461: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:4461: error: request for member 'auto_reconnects_failed' in something not a structure or union
dbdimp.c:4461: error: invalid lvalue in increment
dbdimp.c:4461: warning: statement with no effect
dbdimp.c:4470: error: 'imp_dbh_t' has no member named 'stats'
dbdimp.c:4470: error: request for member 'auto_reconnects_ok' in something not a structure or union
dbdimp.c:4470: error: invalid lvalue in increment
dbdimp.c:4470: warning: statement with no effect
dbdimp.c: In function 'mysql_db_quote':
dbdimp.c:4630: warning: implicit declaration of function 'mysql_real_escape_string'
dbdimp.c:4630: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c: In function 'mysql_db_last_insert_id':
dbdimp.c:4653: error: 'imp_dbh_t' has no member named 'pmysql'
dbdimp.c:4653: warning: passing argument 2 of 'Perl_sv_2mortal' makes pointer from integer without a cast
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
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
  DBD::mysql

Open in new window

0
Comment
Question by:djmounce553
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 39

Assisted Solution

by:Adam314
Adam314 earned 250 total points
ID: 24785972
You need to install the package that contains the missing header files (mysql.h, mysqld_error.h, ...).  I'm not familiar with Fedora, but look for a mysql development, mysql headers, or similar package in your package manager.
0
 
LVL 4

Author Comment

by:djmounce553
ID: 24786941
Would anyone care to elaborate on this?
0
 
LVL 4

Accepted Solution

by:
djmounce553 earned 0 total points
ID: 24795544
The missing header files were contained in the mysql-devel package. I installed the mysql-devel rpm and all of its dependancies and was good to go.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question