A jaśniej to ściągnij źródła mysqla albo jakiś mysql-dev i podaj lokalizację do źródeł przy ./configure
a z jakim parametrem ? mam zrodelka mysql'a ale albo ja czytac zapomnialem albo nie widze nic takiego w ./configure --help,
--libdir=/usr/local/mysql/include --incdir=/usr/local/mysql/lib
sprawdź u siebie i ustaw właściwe ścieżki, byćmoże będzie potrzebne także wykonanie ldconfig.
to sie robi powoli straszne, probowalem juz tak wczesniej i wydaje mi sie ze raczej powinno byc --incdir=/usr/src/mysql/include a nie jak podales --incdir=/usr/src/mysql/lib
./configure --libdir=/usr/local/mysql/lib--incdir=/usr/local/mysql/include dokladnie na tej sciezce mam mysql'a probowalem tez juz
./configure --libdir=/usr/src/mysql/lib --incdir=/usr/src/mysql/include
i non stop blad ten sam
cc -I/usr/local/mysql/lib -DUSE_MYSQL -c -o almsd.o almsd.c In file included from db.h:12, from almsd.h:11, from util.h:11, from almsd.c:34: mysql.h:8:25: mysql/mysql.h: No such file or directory mysql.h:9:32: mysql/mysqld_error.h: No such file or directory In file included from db.h:12, from almsd.h:11, from util.h:11, from almsd.c:34: mysql.h:11: parse error before "CONN_HANDLE" mysql.h:11: warning: data definition has no type or storage class mysql.h:12: parse error before "RESULT_HANDLE" mysql.h:12: warning: data definition has no type or storage class In file included from almsd.h:11, from util.h:11, from almsd.c:34: db.h:53: parse error before "RESULT_HANDLE" db.h:53: warning: no semicolon at end of struct or union db.h:58: parse error before '}' token db.h:59: warning: data definition has no type or storage class db.h:72: parse error before '*' token db.h:72: warning: data definition has no type or storage class db.h:76: parse error before '*' token db.h:76: warning: data definition has no type or storage class db.h:79: parse error before '*' token db.h:98: parse error before '*' token db.h:101: parse error before '*' token db.h:101: parse error before '*' token db.h:101: warning: data definition has no type or storage class In file included from util.h:11, from almsd.c:34: almsd.h:23: parse error before "QUERY_HANDLE" almsd.h:23: warning: no semicolon at end of struct or union almsd.h:24: `db_pquery' redeclared as different kind of symbol db.h:76: previous declaration of `db_pquery' almsd.h:24: warning: data definition has no type or storage class almsd.h:25: parse error before '*' token almsd.h:25: `db_free' redeclared as different kind of symbol db.h:79: previous declaration of `db_free' almsd.h:26: `db_exec' redeclared as different kind of symbol db.h:82: previous declaration of `db_exec' almsd.h:27: `db_pexec' redeclared as different kind of symbol db.h:86: previous declaration of `db_pexec' almsd.h:28: `db_begin' redeclared as different kind of symbol db.h:89: previous declaration of `db_begin' almsd.h:29: `db_commit' redeclared as different kind of symbol db.h:92: previous declaration of `db_commit' almsd.h:30: `db_abort' redeclared as different kind of symbol db.h:95: previous declaration of `db_abort' almsd.h:31: parse error before '*' token almsd.h:31: `db_get_data' redeclared as different kind of symbol db.h:98: previous declaration of `db_get_data' almsd.h:34: `iniparser_getstr' redeclared as different kind of symbol iniparser/iniparser.h:120: previous declaration of `iniparser_getstr' almsd.h:35: `iniparser_getstring' redeclared as different kind of symbol iniparser/iniparser.h:138: previous declaration of `iniparser_getstring' almsd.h:36: `iniparser_getint' redeclared as different kind of symbol iniparser/iniparser.h:153: previous declaration of `iniparser_getint' almsd.h:37: `iniparser_getboolean' redeclared as different kind of symbol iniparser/iniparser.h:202: previous declaration of `iniparser_getboolean' almsd.h:38: `iniparser_getdouble' redeclared as different kind of symbol iniparser/iniparser.h:168: previous declaration of `iniparser_getdouble' almsd.h:39: `iniparser_load' redeclared as different kind of symbol iniparser/iniparser.h:261: previous declaration of `iniparser_load' almsd.h:40: `iniparser_freedict' redeclared as different kind of symbol iniparser/iniparser.h:274: previous declaration of `iniparser_freedict' almsd.h:47: parse error before '}' token In file included from almsd.c:34: util.h:16: `str_replace' redeclared as different kind of symbol almsd.h:43: previous declaration of `str_replace' util.h:19: `str_save' redeclared as different kind of symbol almsd.h:44: previous declaration of `str_save' util.h:25: `str_concat' redeclared as different kind of symbol almsd.h:45: previous declaration of `str_concat' In file included from almsd.c:34: util.h:28:1: warning: no newline at end of file almsd.c: In function `main': almsd.c:39: `res' undeclared (first use in this function) almsd.c:39: (Each undeclared identifier is reported only once almsd.c:39: for each function it appears in.) almsd.c:82: sizeof applied to an incomplete type almsd.c:83: dereferencing pointer to incomplete type almsd.c:84: dereferencing pointer to incomplete type almsd.c:86: dereferencing pointer to incomplete type almsd.c:87: dereferencing pointer to incomplete type almsd.c:88: dereferencing pointer to incomplete type almsd.c:89: dereferencing pointer to incomplete type almsd.c:90: dereferencing pointer to incomplete type almsd.c:91: dereferencing pointer to incomplete type almsd.c:92: dereferencing pointer to incomplete type almsd.c:93: dereferencing pointer to incomplete type almsd.c:94: dereferencing pointer to incomplete type almsd.c:96: dereferencing pointer to incomplete type almsd.c:97: dereferencing pointer to incomplete type almsd.c:98: dereferencing pointer to incomplete type almsd.c:99: dereferencing pointer to incomplete type almsd.c:100: dereferencing pointer to incomplete type almsd.c:101: dereferencing pointer to incomplete type almsd.c:102: dereferencing pointer to incomplete type almsd.c:104: dereferencing pointer to incomplete type almsd.c:105: dereferencing pointer to incomplete type almsd.c:106: dereferencing pointer to incomplete type almsd.c:107: dereferencing pointer to incomplete type make: *** [almsd.o] Error 1