Warning: prerequisite DBD::mysql 1 not found错误解决方案(一)

2014-11-24 15:38:00 · 作者: · 浏览: 6
Warning: prerequisite DBD::mysql 1 not found错误解决方案
在使用perl编译的 DBD::mysql 的时候,进程提示无法编译成功,这里想需要我们手动进行编译相关的包文件;相关错误如下所示; www.2cto.com
[ html]
dbdimp.c: In function a href="http://www.2cto.com/database/MySQL/" target="_blank" class="keylink">mysql_db_async_result
dbdimp.c:5049: error: YSQL undeclared (first use in this function)
dbdimp.c:5049: error: vsock undeclared (first use in this function)
dbdimp.c:5049: error: invalid operands to binary *
dbdimp.c:5049: warning: statement with no effect
dbdimp.c:5050: error: YSQL_RES undeclared (first use in this function)
dbdimp.c:5050: error: res undeclared (first use in this function)
dbdimp.c:5050: error: invalid operands to binary *
dbdimp.c:5050: warning: statement with no effect
dbdimp.c:5051: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:5054: error: esp undeclared (first use in this function)
dbdimp.c:5055: warning: statement with no effect
dbdimp.c:5069: error: mp_dbh_t has no member named sync_query_in_flight
dbdimp.c:5073: error: mp_dbh_t has no member named sync_query_in_flight
dbdimp.c:5073: warning: comparison of distinct pointer types lacks a cast
dbdimp.c:5077: error: mp_dbh_t has no member named sync_query_in_flight
dbdimp.c:5077: warning: statement with no effect
dbdimp.c:5079: error: mp_dbh_t has no member named mysql
dbdimp.c:5079: warning: statement with no effect
dbdimp.c:5080: warning: implicit declaration of function ysql_read_query_result
dbdimp.c:5082: warning: implicit declaration of function ysql_store_result
dbdimp.c:5082: error: assignment of read-only location
dbdimp.c:5082: warning: statement with no effect
dbdimp.c:5085: warning: passing argument 3 of ysql_dr_error makes pointer from integer without a cast
dbdimp.c:5086: error: wrong type argument to unary exclamation mark
dbdimp.c:5090: warning: comparison of distinct pointer types lacks a cast
dbdimp.c:5098: error: y_ulonglong undeclared (first use in this function)
dbdimp.c:5098: warning: comparison between pointer and integer
dbdimp.c:5099: error: wrong type argument to unary exclamation mark
dbdimp.c:5100: error: mp_sth_t has no member named nsertid
dbdimp.c:5100: warning: statement with no effect
dbdimp.c:5106: error: mp_sth_t has no member named esult
dbdimp.c:5107: error: mp_sth_t has no member named one_desc
dbdimp.c:5107: warning: statement with no effect
dbdimp.c:5108: error: mp_sth_t has no member named etch_done
dbdimp.c:5108: warning: statement with no effect
dbdimp.c:5111: error: mp_sth_t has no member named arning_count
dbdimp.c:5111: warning: statement with no effect
dbdimp.c:5096: warning: unused variable mp_dbh
dbdimp.c:5115: warning: passing argument 3 of ysql_dr_error makes pointer from integer without a cast
dbdimp.c: In function ysql_db_async_ready
dbdimp.c:5139: error: mp_dbh_t has no member named sync_query_in_flight
dbdimp.c:5140: error: mp_dbh_t has no member named sync_query_in_flight
dbdimp.c:5140: warning: comparison of distinct pointer types lacks a cast
dbdimp.c:5144: error: mp_dbh_t has no member named mysql
dbdimp.c:5144: error: ql_type_info_t has no member named et