so hier mein bericht, nach dem ich ./configure --with-modules=mod_sql:mod_sql_mysql ausbeführt habe fürt er ja ein test durch, dann hab ich mit make weitergemacht und dann tauchen auch schon die ersten Fehler auf
cd lib/ && make lib
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/lib'
gcc -DLINUX -I.. -I../include -O2 -Wall -c pr_fnmatch.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c strsep.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c vsnprintf.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c glibc-glob.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c glibc-mkstemp.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c pr-syslog.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c pwgrent.c
ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/src'
gcc -DLINUX -I.. -I../include -O2 -Wall -c main.c
main.c: In function `cmd_loop':
main.c:772: warning: comparison between signed and unsigned
main.c: In function `daemon_loop':
main.c:1473: warning: comparison between signed and unsigned
main.c:1491: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c timers.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c sets.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c pool.c
pool.c: In function `__walk_pools':
pool.c:253: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c regexp.c
regexp.c: In function `regexp_cleanup':
regexp.c:45: warning: comparison between signed and unsigned
regexp.c: In function `pr_regexp_free':
regexp.c:102: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c dirtree.c
dirtree.c: In function `define_exists':
dirtree.c:363: warning: comparison between signed and unsigned
dirtree.c: In function `match_ip':
dirtree.c:1359: warning: comparison between signed and unsigned
dirtree.c:1360: warning: signed and unsigned type in conditional expression
dirtree.c: In function `_check_limits':
dirtree.c:1729: warning: comparison between signed and unsigned
dirtree.c:1734: warning: comparison between signed and unsigned
dirtree.c: In function `_find_best_dir':
dirtree.c:2346: warning: comparison between signed and unsigned
dirtree.c:2350: warning: comparison between signed and unsigned
dirtree.c: In function `get_full_cmd':
dirtree.c:3176: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c support.c
support.c: In function `access_check':
support.c:516: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c inet.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c log.c
log.c: In function `log':
log.c:437: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c bindings.c
bindings.c: In function `pr_ipbind_close':
bindings.c:249: warning: comparison between signed and unsigned
bindings.c:283: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_create':
bindings.c:318: warning: comparison between signed and unsigned
bindings.c: In function `pr_ipbind_open':
bindings.c:526: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_create':
bindings.c:588: warning: comparison between signed and unsigned
bindings.c: In function `pr_namebind_find':
bindings.c:663: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c scoreboard.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c feat.c
feat.c: In function `pr_add_feat':
feat.c:49: warning: comparison between signed and unsigned
feat.c: In function `pr_get_next_feat':
feat.c:67: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c netio.c
netio.c: In function `pr_netio_read':
netio.c:648: warning: comparison between signed and unsigned
netio.c: In function `pr_netio_gets':
netio.c:758: warning: comparison between signed and unsigned
netio.c: In function `pr_netio_telnet_gets':
netio.c:824: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c response.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c ident.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c data.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c modules.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c auth.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c fsio.c
fsio.c: In function `pr_unregister_fs':
fsio.c:589: warning: comparison between signed and unsigned
fsio.c:607: warning: comparison between signed and unsigned
fsio.c: In function `pr_get_fs':
fsio.c:671: warning: comparison between signed and unsigned
fsio.c: In function `pr_fs_interpolate':
fsio.c:1017: warning: comparison between signed and unsigned
fsio.c:1017: warning: signed and unsigned type in conditional expression
fsio.c:1030: warning: comparison between signed and unsigned
fsio.c:1030: warning: signed and unsigned type in conditional expression
fsio.c:1058: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_chroot':
fsio.c:2321: warning: comparison between signed and unsigned
fsio.c: In function `pr_fsio_gets':
fsio.c:2376: warning: comparison between signed and unsigned
fsio.c: In function `pr_resolve_fs_map':
fsio.c:2515: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c mkhome.c
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/modules'
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_core.c
mod_core.c: In function `set_rlimitmemory':
mod_core.c:1046: warning: comparison between signed and unsigned
mod_core.c:1049: warning: comparison between signed and unsigned
mod_core.c:1061: warning: comparison between signed and unsigned
mod_core.c:1064: warning: comparison between signed and unsigned
mod_core.c:1096: warning: comparison between signed and unsigned
mod_core.c:1099: warning: comparison between signed and unsigned
mod_core.c:1111: warning: comparison between signed and unsigned
mod_core.c:1114: warning: comparison between signed and unsigned
mod_core.c: In function `set_authorder':
mod_core.c:2253: warning: comparison between signed and unsigned
mod_core.c: In function `core_sess_init':
mod_core.c:3796: warning: comparison between signed and unsigned
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
mod_auth_file.c: In function `set_authgroupfile':
mod_auth_file.c:941: warning: comparison between signed and unsigned
mod_auth_file.c: In function `set_authuserfile':
mod_auth_file.c:1042: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth.c
mod_auth.c: In function `auth_count_scoreboard':
mod_auth.c:1527: warning: comparison between signed and unsigned
mod_auth.c:1549: warning: comparison between signed and unsigned
mod_auth.c:1570: warning: comparison between signed and unsigned
mod_auth.c:1590: warning: comparison between signed and unsigned
mod_auth.c: In function `auth_pass':
mod_auth.c:1820: warning: comparison between signed and unsigned
mod_auth.c: In function `set_createhome':
mod_auth.c:1996: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_ls.c
mod_ls.c: In function `_find_ls_limit':
mod_ls.c:103: warning: comparison between signed and unsigned
mod_ls.c:113: warning: comparison between signed and unsigned
mod_ls.c: In function `sortfiles':
mod_ls.c:578: warning: comparison between signed and unsigned
mod_ls.c: In function `dolist':
mod_ls.c:1162: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_log.c
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_site.c
mod_site.c: In function `site_chgrp':
mod_site.c:82: warning: comparison between signed and unsigned
mod_site.c:120: warning: comparison between signed and unsigned
mod_site.c: In function `site_chmod':
mod_site.c:152: warning: comparison between signed and unsigned
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory
mod_sql_mysql.c:163: error: parse error before "MYSQL"
mod_sql_mysql.c:163: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:280: warning: comparison between signed and unsigned
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: error: for each function it appears in.)
mod_sql_mysql.c:345: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: error: parse error before "row"
mod_sql_mysql.c:356: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:626: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1145: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1225: 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] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/modules'
make: *** [modules] Error 2
der näste befehl ist make install nur glaube ich das bei denn vielen meldungen oben hier auch nichts brauchbares rauskommen kann.
cd lib/ && make lib
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/usr/local/src/proftpd-1.2.8/modules'
gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:136:25: mysql/mysql.h: No such file or directory
mod_sql_mysql.c:163: error: parse error before "MYSQL"
mod_sql_mysql.c:163: warning: no semicolon at end of struct or union
mod_sql_mysql.c: In function `_sql_timer_callback':
mod_sql_mysql.c:280: warning: comparison between signed and unsigned
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:331: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:331: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:333: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:333: warning: passing arg 4 of `mod_create_ret' makes pointer from integer without a cast
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:345: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:345: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:345: error: for each function it appears in.)
mod_sql_mysql.c:345: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:346: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:347: error: `MYSQL_ROW' undeclared (first use in this function)
mod_sql_mysql.c:347: error: parse error before "row"
mod_sql_mysql.c:356: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:362: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:368: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:369: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:374: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:374: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:384: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:438: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:438: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:450: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:452: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:460: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:461: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:462: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:556: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:556: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:557: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_defineconnection':
mod_sql_mysql.c:623: error: invalid application of `sizeof' to an incomplete type
mod_sql_mysql.c:626: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:627: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:658: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:659: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:660: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:677: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:678: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:679: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:680: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:801: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:801: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:915: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1014: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1130: error: dereferencing pointer to incomplete type
mod_sql_mysql.c:1145: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1145: error: dereferencing pointer to incomplete type
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1225: 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] Error 1
make[1]: Leaving directory `/usr/local/src/proftpd-1.2.8/modules'
make: *** [modules] Error 2
ich höffe es kann einer was mit anfangen