Hi , I am trying to manually install DBD::mysql module on my linux machine. It makes the file perfectly but throws error while "make" command is executed. The basic problem is because of missing headers. The files that are along with some lines of error are :
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:24:49: error: errmsg.h: No such file or directory In file included from dbdimp.c:20: dbdimp.h:143: 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:405: error: expected ?)? before ?*? token dbdimp.c:621: error: ?FIELD_TYPE_VAR_STRING? undeclared here (not in a function) dbdimp.c:631: error: ?FIELD_TYPE_DECIMAL? undeclared here (not in a function) dbdimp.c:641: error: ?FIELD_TYPE_TINY? undeclared here (not in a function) dbdimp.c:651: error: ?FIELD_TYPE_SHORT? undeclared here (not in a function) dbdimp.c:661: error: ?FIELD_TYPE_LONG? undeclared here (not in a function) dbdimp.c:671: error: ?FIELD_TYPE_FLOAT? undeclared here (not in a function) dbdimp.c:681: error: ?FIELD_TYPE_DOUBLE? undeclared here (not in a function) dbdimp.c:704: error: ?FIELD_TYPE_TIMESTAMP? undeclared here (not in a function) dbdimp.c:714: error: ?FIELD_TYPE_LONGLONG? undeclared here (not in a function) dbdimp.c:724: error: ?FIELD_TYPE_INT24? undeclared here (not in a function) dbdimp.c:734: error: ?FIELD_TYPE_DATE? undeclared here (not in a function) Please do help for resolving this error . Ankit Arun Mehrotra =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you