Hi ich nutze Debian 3.1, MYSQL 5, proftpd-mysql
na reichlicher suche und dem feststellen das mein problem ja schon bekannt ist bekomm ich es trotzdem nicht gelöst
(User in db , abfrage funktioniert einwandfrei -laut sql.log- aber es kommt trotzdem incorrect user)
was ich als Lösungsansatz gefunden hatte war das ich es einfach mal selbst compilen lassen sollte, gesagt getan (tar.gz von proftpd.de)
auf sys 1 mit gcc4 gings gar nicht
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
auf sys 2 mit gcc 3.3 gings bis zum mysql teil
make[1]: Leaving directory `/root/pf/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/root/pf/proftpd-1.2.10/modules'
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_core.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_xfer.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_unix.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_file.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_ls.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_log.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_site.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:137:19: error: mysql.h: Datei oder Verzeichnis nicht gefunden
mod_sql_mysql.c:164: error: syntax error before 'MYSQL'
mod_sql_mysql.c:164: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function '_build_error':
mod_sql_mysql.c:325: warning: implicit declaration of function 'mysql_errno'
mod_sql_mysql.c:325: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:327: warning: implicit declaration of function 'mysql_error'
mod_sql_mysql.c:327: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function '_build_data':
mod_sql_mysql.c:338: error: 'MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:338: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:338: error: for each function it appears in.)
mod_sql_mysql.c:338: error: 'mysql' undeclared (first use in this function)
mod_sql_mysql.c:339: error: 'MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:339: error: 'result' undeclared (first use in this function)
mod_sql_mysql.c:340: error: 'MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:340: error: syntax error before 'row'
mod_sql_mysql.c:349: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:355: warning: implicit declaration of function 'mysql_store_result'
mod_sql_mysql.c:361: warning: implicit declaration of function 'mysql_num_rows'
mod_sql_mysql.c:362: warning: implicit declaration of function 'mysql_num_fields'
mod_sql_mysql.c:367: error: 'row' undeclared (first use in this function)
mod_sql_mysql.c:367: warning: implicit declaration of function 'mysql_fetch_row'
mod_sql_mysql.c:377: warning: implicit declaration of function 'mysql_free_result'
mod_sql_mysql.c: In function 'cmd_open':
mod_sql_mysql.c:430: warning: implicit declaration of function 'mysql_ping'
mod_sql_mysql.c:430: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:442: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:442: warning: implicit declaration of function 'mysql_init'
mod_sql_mysql.c:444: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:455: warning: implicit declaration of function 'mysql_options'
mod_sql_mysql.c:455: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:455: error: 'MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:457: warning: implicit declaration of function 'mysql_real_connect'
mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:457: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:458: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:458: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:459: error: 'CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function 'cmd_close':
mod_sql_mysql.c:553: warning: implicit declaration of function 'mysql_close'
mod_sql_mysql.c:553: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:554: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_defineconnection':
mod_sql_mysql.c:620: error: invalid application of 'sizeof' to incomplete type 'db_conn_t'
mod_sql_mysql.c:623: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:624: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:655: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:656: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:657: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:674: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:675: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:676: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_select':
mod_sql_mysql.c:798: warning: implicit declaration of function 'mysql_real_query'
mod_sql_mysql.c:798: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_insert':
mod_sql_mysql.c:912: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_update':
mod_sql_mysql.c:1011: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_query':
mod_sql_mysql.c:1127: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1142: warning: implicit declaration of function 'mysql_field_count'
mod_sql_mysql.c:1142: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function 'cmd_escapestring':
mod_sql_mysql.c:1222: warning: implicit declaration of function 'mysql_escape_string'
mod_sql_mysql.c: In function 'cmd_checkauth':
mod_sql_mysql.c:1289: warning: implicit declaration of function 'make_scrambled_password'
make[1]: *** [mod_sql_mysql.o] Fehler 1
make[1]: Leaving directory `/root/pf/proftpd-1.2.10/modules'
make: *** [modules] Fehler 2
die libmysqlclient-dev (22feb06 - strato deb mirror) hab ich installiert half trotzdem nix
bin derzeit sehr ratlos
jemand eine idee ? - bzw ich hab auch mal nach deb´s gesucht , aber nichts gefunden
(auser den org debian debs)