Hallo Sandy, hallo Liste, Sandy Drobic wrote:
Okay, siehst du hier eine Unterstützung für SQL? Ich sehe keine. (^-^) Siehst Du eine ;-) Ich auch nicht. Sonst wäre ich ja nicht hier in der Liste mit meinem Prob. Ich gehe stark davon aus, dass du entweder nicht alle notwendigen Pakete auf den System hast oder dass der Compiler sie nicht findet wegen eines falschen Pfades. Lenke die Ausgabe von make mal in eine Datei um und sieh genau nach, was er sagt, wenn es zur Abarbeitung der MySQL-Unterstützung kommt.
Dann würde der Compiler allerdings mit einem Fehler abbrechen oder eine Meldung bringen. Ich kann nichts auffälliges finden. Hier die Ausgabe wenn ich make ohne vorherigem make tidy aufrufe <Ausgabe> psYkoMobil:/home/michael/tmp/postfix-2.2.5 # make > make.log ar: creating libutil.a dict_mysql.c:173:19: mysql.h: Datei oder Verzeichnis nicht gefunden dict_mysql.c:198: error: syntax error before "MYSQL" dict_mysql.c:198: warning: no semicolon at end of struct or union dict_mysql.c:206: error: syntax error before '}' token dict_mysql.c:206: warning: data definition has no type or storage class dict_mysql.c:210: error: syntax error before "HOST" dict_mysql.c:210: warning: no semicolon at end of struct or union dict_mysql.c:212: warning: data definition has no type or storage class dict_mysql.c:226: error: syntax error before "PLMYSQL" dict_mysql.c:226: warning: no semicolon at end of struct or union dict_mysql.c:227: warning: data definition has no type or storage class dict_mysql.c:241: error: syntax error before '*' token dict_mysql.c:241: warning: data definition has no type or storage class dict_mysql.c:242: error: syntax error before '*' token dict_mysql.c:242: error: syntax error before '*' token dict_mysql.c:242: warning: data definition has no type or storage class dict_mysql.c:243: error: syntax error before '*' token dict_mysql.c:244: error: syntax error before '*' token dict_mysql.c:245: error: syntax error before '*' token dict_mysql.c:246: error: syntax error before '*' token dict_mysql.c:250: error: syntax error before '*' token dict_mysql.c:251: error: syntax error before '*' token dict_mysql.c:251: warning: data definition has no type or storage class dict_mysql.c: In function `dict_mysql_quote': dict_mysql.c:257: error: `dict_mysql' undeclared (first use in this function) dict_mysql.c:257: error: (Each undeclared identifier is reported only once dict_mysql.c:257: error: for each function it appears in.) dict_mysql.c:257: error: syntax error before ')' token dict_mysql.c: In function `dict_mysql_lookup': dict_mysql.c:287: error: `dict_mysql' undeclared (first use in this function) dict_mysql.c:287: error: syntax error before ')' token dict_mysql.c:288: error: `pldb' undeclared (first use in this function) dict_mysql.c:289: error: `MYSQL_RES' undeclared (first use in this function) dict_mysql.c:289: error: `query_res' undeclared (first use in this function) dict_mysql.c:290: error: `MYSQL_ROW' undeclared (first use in this function) dict_mysql.c:290: error: syntax error before "row" dict_mysql.c:348: error: `row' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:368: error: syntax error before '*' token dict_mysql.c: In function `dict_mysql_check_stat': dict_mysql.c:371: error: `host' undeclared (first use in this function) dict_mysql.c:373: error: `t' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:382: error: syntax error before '*' token dict_mysql.c:382: error: syntax error before '*' token dict_mysql.c:383: warning: no previous prototype for `dict_mysql_find_host' dict_mysql.c: In function `dict_mysql_find_host': dict_mysql.c:390: error: `PLDB' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:414: error: syntax error before '*' token dict_mysql.c:414: error: syntax error before '*' token dict_mysql.c:416: warning: no previous prototype for `dict_mysql_get_active' dict_mysql.c: In function `dict_mysql_get_active': dict_mysql.c:418: error: `host' undeclared (first use in this function) dict_mysql.c:422: error: `PLDB' undeclared (first use in this function) dict_mysql.c:443: error: `dbname' undeclared (first use in this function) dict_mysql.c:443: error: `username' undeclared (first use in this function) dict_mysql.c:443: error: `password' undeclared (first use in this function) dict_mysql.c: In function `dict_mysql_event': dict_mysql.c:456: error: `host' undeclared (first use in this function) dict_mysql.c:456: error: syntax error before ')' token dict_mysql.c: At top level: dict_mysql.c:469: error: syntax error before '*' token dict_mysql.c:469: error: syntax error before '*' token dict_mysql.c:474: warning: no previous prototype for `plmysql_query' dict_mysql.c: In function `plmysql_query': dict_mysql.c:475: error: `host' undeclared (first use in this function) dict_mysql.c:476: error: `MYSQL_RES' undeclared (first use in this function) dict_mysql.c:476: error: `res' undeclared (first use in this function) dict_mysql.c:478: error: `PLDB' undeclared (first use in this function) dict_mysql.c:478: error: `dbname' undeclared (first use in this function) dict_mysql.c:478: error: `username' undeclared (first use in this function) dict_mysql.c:478: error: `password' undeclared (first use in this function) dict_mysql.c:479: error: `query' undeclared (first use in this function) dict_mysql.c:481: warning: format argument is not a pointer (arg 2) dict_mysql.c:490: warning: format argument is not a pointer (arg 2) dict_mysql.c: At top level: dict_mysql.c:503: error: syntax error before '*' token dict_mysql.c:504: warning: `plmysql_connect_single' was used with no prototype before its definition dict_mysql.c: In function `plmysql_connect_single': dict_mysql.c:505: error: `host' undeclared (first use in this function) dict_mysql.c:509: error: `username' undeclared (first use in this function) dict_mysql.c:510: error: `password' undeclared (first use in this function) dict_mysql.c:511: error: `dbname' undeclared (first use in this function) dict_mysql.c:521: warning: format argument is not a pointer (arg 3) dict_mysql.c: At top level: dict_mysql.c:527: error: syntax error before '*' token dict_mysql.c:528: warning: `plmysql_close_host' was used with no prototype before its definition dict_mysql.c: In function `plmysql_close_host': dict_mysql.c:529: error: `host' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:538: error: syntax error before '*' token dict_mysql.c:539: warning: `plmysql_down_host' was used with no prototype before its definition dict_mysql.c: In function `plmysql_down_host': dict_mysql.c:540: error: `host' undeclared (first use in this function) dict_mysql.c: At top level: dict_mysql.c:549: error: syntax error before '*' token dict_mysql.c: In function `mysql_parse_config': dict_mysql.c:558: error: `dict_mysql' undeclared (first use in this function) dict_mysql.c:558: error: `mysqlcf' undeclared (first use in this function) dict_mysql.c: In function `dict_mysql_open': dict_mysql.c:620: error: `dict_mysql' undeclared (first use in this function) dict_mysql.c:629: error: syntax error before ')' token dict_mysql.c: At top level: dict_mysql.c:645: error: syntax error before '*' token dict_mysql.c: In function `plmysql_init': dict_mysql.c:647: error: `PLDB' undeclared (first use in this function) dict_mysql.c:650: error: syntax error before ')' token dict_mysql.c:654: error: syntax error before ')' token dict_mysql.c:654: error: syntax error before ')' token dict_mysql.c: At top level: dict_mysql.c:664: error: syntax error before '*' token dict_mysql.c: In function `host_init': dict_mysql.c:667: error: `host' undeclared (first use in this function) dict_mysql.c:667: error: syntax error before ')' token dict_mysql.c: In function `dict_mysql_close': dict_mysql.c:711: error: `dict_mysql' undeclared (first use in this function) dict_mysql.c:711: error: syntax error before ')' token dict_mysql.c: At top level: dict_mysql.c:730: error: syntax error before '*' token dict_mysql.c:731: warning: `plmysql_dealloc' was used with no prototype before its definition dict_mysql.c: In function `plmysql_dealloc': dict_mysql.c:734: error: `PLDB' undeclared (first use in this function) make: *** [dict_mysql.o] Fehler 1 make: *** [update] Fehler 1 </Ausgabe> Hier die Ausgabe von make tidy <Ausgabe> psYkoMobil:/home/michael/tmp/postfix-2.2.5 # make tidy set -e; for i in src/util src/global src/dns src/tls src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr; do \ (set -e; echo "[$i]"; cd $i; make clean) || exit 1; \ done [src/util] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/util' rm -f *.o libutil.a *core dict_open dup2_pass_on_exec events exec_command fifo_open fifo_rdonly_bug fifo_rdwr_bug fifo_trigger fsspace fullname inet_addr_host inet_addr_local mac_parse make_dirs msg_syslog mystrtok sigdelay translit valid_hostname vstream_popen vstring vstring_vstream doze select_bug stream_test mac_expand watchdog unescape hex_quote name_mask rand_sleep sane_time ctable inet_addr_list attr_print64 attr_scan64 base64_code attr_print0 attr_scan0 host_port attr_scan_plain attr_print_plain htable unix_recv_fd unix_send_fd stream_recv_fd stream_send_fd hex_code myaddrinfo myaddrinfo4 inet_proto junk *.tmp rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/util' [src/global] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/global' rm -f *.o libglobal.a *core domain_list dot_lockfile mail_addr_crunch mail_addr_find mail_addr_map mail_date maps mynetworks mypwd namadr_list off_cvt quote_822_local rec2stream recdump resolve_clnt resolve_local rewrite_clnt stream2rec string_list tok822_parse quote_821_local mail_conf_time mime_state strip_addr virtual8_maps verify_clnt xtext anvil_clnt scache ehlo_mask valid_mailhost_addr own_inet_addr junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/global' [src/dns] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/dns' rm -f *.o libdns.a *core test_dns_lookup dns_rr_to_pa dns_rr_to_sa dns_sa_to_rr dns_rr_eq_sa junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/dns' [src/tls] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/tls' rm -f *.o libtls.a *core tls_dh tls_mgr junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/tls' [src/master] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/master' rm -f *.o *core master junk libmaster.a rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/master' [src/postfix] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postfix' rm -f *.o *core postfix junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postfix' [src/smtpstone] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/smtpstone' rm -f *.o *core smtp-source smtp-sink qmqp-source qmqp-sink junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/smtpstone' [src/sendmail] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/sendmail' rm -f *.o *core sendmail junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/sendmail' [src/error] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/error' rm -f *.o *core error junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/error' [src/pickup] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/pickup' rm -f *.o *core pickup junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/pickup' [src/cleanup] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/cleanup' rm -f *.o *core cleanup cleanup_masquerade junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/cleanup' [src/smtpd] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/smtpd' rm -f *.o *core smtpd smtpd_token smtpd_check junk *.db *.out *.tmp rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/smtpd' [src/local] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/local' rm -f *.o *core local junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/local' [src/lmtp] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/lmtp' rm -f *.o *core lmtp junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/lmtp' [src/trivial-rewrite] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/trivial-rewrite' rm -f *.o *core trivial-rewrite junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/trivial-rewrite' [src/qmgr] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/qmgr' rm -f *.o *core qmgr junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/qmgr' [src/oqmgr] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/oqmgr' rm -f *.o *core qmgr junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/oqmgr' [src/smtp] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/smtp' rm -f *.o *core smtp smtp_unalias smtp_map11 junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/smtp' [src/bounce] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/bounce' rm -f *.o *core bounce junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/bounce' [src/pipe] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/pipe' rm -f *.o *core pipe junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/pipe' [src/showq] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/showq' rm -f *.o *core showq junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/showq' [src/postalias] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postalias' rm -f *.o *core postalias junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postalias' [src/postcat] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postcat' rm -f *.o *core postcat junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postcat' [src/postconf] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postconf' rm -f *.o *core postconf junk bool_table.h bool_vars.h int_table.h int_vars.h str_table.h str_vars.h time_table.h time_vars.h raw_table.h raw_vars.h rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postconf' [src/postdrop] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postdrop' rm -f *.o *core postdrop junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postdrop' [src/postkick] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postkick' rm -f *.o *core postkick junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postkick' [src/postlock] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postlock' rm -f *.o *core postlock junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postlock' [src/postlog] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postlog' rm -f *.o *core postlog junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postlog' [src/postmap] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postmap' rm -f *.o *core postmap junk map.in.db rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postmap' [src/postqueue] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postqueue' rm -f *.o *core postqueue junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postqueue' [src/postsuper] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/postsuper' rm -f *.o *core postsuper junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/postsuper' [src/qmqpd] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/qmqpd' rm -f *.o *core qmqpd junk *.db *.out *.tmp rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/qmqpd' [src/spawn] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/spawn' rm -f *.o *core spawn junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/spawn' [src/flush] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/flush' rm -f *.o *core flush junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/flush' [src/verify] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/verify' rm -f *.o *core verify junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/verify' [src/virtual] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/virtual' rm -f *.o *core virtual junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/virtual' [src/proxymap] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/proxymap' rm -f *.o *core proxymap junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/proxymap' [src/anvil] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/anvil' rm -f *.o *core anvil junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/anvil' [src/scache] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/scache' rm -f *.o *core scache junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/scache' [src/discard] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/discard' rm -f *.o *core discard junk rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/discard' [src/tlsmgr] make[1]: Entering directory `/home/michael/tmp/postfix-2.2.5/src/tlsmgr' rm -f *.o *core tlsmgr junk *.db *.out *.tmp rm -rf printfck make[1]: Leaving directory `/home/michael/tmp/postfix-2.2.5/src/tlsmgr' rm -f Makefile */Makefile src/*/Makefile cp Makefile.init Makefile rm -f bin/[!CRS]* lib/[!CRS]* include/[!CRS]* libexec/[!CRS]* \ junk */junk */*/junk \ *core */*core */*/*core \ .nfs* */.nfs* */*/.nfs* \ .pure */.pure */*/.pure \ *.out */*.out */*/*.out \ *.tmp */*.tmp */*/*.tmp \ *.a */*.a */*/*.a \ *~ */*~ */*/*~ \ *- */*- */*/*- \ *.orig */*.orig */*/*.orig \ *.bak */*.bak */*/*.bak \ make.err */make.err */*/make.err \ *.gmon */*.gmon */*/*.gmon \ conf/main.cf.default find . -type s -print | xargs rm -f find . -type d -print | xargs chmod 755 find . -type f -print | xargs chmod a+r </Ausgabe>