在使用mod_auth_mysql编译APACHE时出现问题,请大家帮忙看看
在./configure后make的时候出现以下问题,说什么要mysql.h,请问这个文件在哪里可以找到阿?具体的出错信息如下:
mod_auth_mysql.c:25:19: mysql.h: No such file or directory
mod_auth_mysql.c:30: parse error before "auth_sql_server"
mod_auth_mysql.c:30: warning: data definition has no type or storage class
mod_auth_mysql.c: In function `auth_mysql_cleanup':
mod_auth_mysql.c:329: `MYSQL' undeclared (first use in this function)
mod_auth_mysql.c:329: (Each undeclared identifier is reported only once
mod_auth_mysql.c:329: for each function it appears in.)
mod_auth_mysql.c:329: parse error before ')' token
mod_auth_mysql.c: At top level:
mod_auth_mysql.c:339: parse error before "MYSQL"
mod_auth_mysql.c: In function `note_cleanups_for_mysql_auth':
mod_auth_mysql.c:341: `p' undeclared (first use in this function)
mod_auth_mysql.c:341: `mysql' undeclared (first use in this function)
mod_auth_mysql.c: In function `auth_mysql_result_cleanup':
mod_auth_mysql.c:347: `MYSQL_RES' undeclared (first use in this function)
mod_auth_mysql.c:347: parse error before ')' token
mod_auth_mysql.c: At top level:
mod_auth_mysql.c:351: parse error before "MYSQL_RES"
mod_auth_mysql.c: In function `note_cleanups_for_mysql_auth_result':
mod_auth_mysql.c:353: `p' undeclared (first use in this function)
mod_auth_mysql.c:353: `result' undeclared (first use in this function)
mod_auth_mysql.c: In function `open_auth_dblink':
mod_auth_mysql.c:375: warning: assignment makes pointer from integer without a cast
mod_auth_mysql.c: In function `safe_mysql_query':
mod_auth_mysql.c:395: warning: passing arg 1 of `strcasecmp' makes pointer from integer without a cast
mod_auth_mysql.c:405: warning: pointer/integer type mismatch in conditional expression
mod_auth_mysql.c:419: warning: pointer/integer type mismatch in conditional expression
mod_auth_mysql.c: At top level:
mod_auth_mysql.c:425: parse error before '*' token
mod_auth_mysql.c: In function `safe_mysql_store_result':
mod_auth_mysql.c:427: `MYSQL_RES' undeclared (first use in this function)
mod_auth_mysql.c:427: `result' undeclared (first use in this function)
mod_auth_mysql.c: In function `mysql_check_pass':
mod_auth_mysql.c:444: `MYSQL_RES' undeclared (first use in this function)
mod_auth_mysql.c:444: `result' undeclared (first use in this function)
mod_auth_mysql.c:445: `MYSQL_ROW' undeclared (first use in this function)
mod_auth_mysql.c:445: parse error before "sql_row"
mod_auth_mysql.c:474: `sql_row' undeclared (first use in this function)
mod_auth_mysql.c: In function `mysql_check_group':
mod_auth_mysql.c:510: `MYSQL_RES' undeclared (first use in this function)
mod_auth_mysql.c:510: `result' undeclared (first use in this function)
mod_auth_mysql.c:511: `MYSQL_ROW' undeclared (first use in this function)
mod_auth_mysql.c:511: parse error before "row"
mod_auth_mysql.c:535: `row' undeclared (first use in this function)
make[4]: *** [mod_auth_mysql.so-o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/dw/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/dw/apache_1.3.27'
make: *** [build] Error 2