Hallo Liste, zwei hoffentlich nur kleine Fragen. 1) Beim einloggen in mein gerade frisch aufgesetztes System bekomme ich beim Anmelden (Cyrus) gegen eine MySQL-DB die Meldung, dass die Ordner (Inbox, Drafts, Sent, Templates) nicht existieren. Der Authentifizierungsvorgang scheint ordnungsgemäß funktioniert zu haben. Wie kann ich also, nach einem Anlegen eines Benutzers in der Datenbank, sein "HOME"-Dir mit den entsprechenden Verzeichnissen anlegen? 2) Versenden über den lokalen SMTP funktioniert bei mir leider noch nicht ganz. Obwohl ich Postfix (Yast, letzte STable und letztes Snapshot) schon mehrmals mit MYSQL-Support folgendermaßen kompiliert habe make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib -lsasl2' make tidy make make install nicht. In der /var/log/mail.err kommt immer die Meldung beim Versenden die folgende Fehler-Meldung Nov 30 15:52:29 psYkoMobil postfix/qmgr[4793]: fatal: unsupported dictionary type: mysql Das eMailprogramm erhält dann irgendwann einen Timeout beim Versenden. Woran kann das liegen? Das Kompilieren der Sourcen erfolgt dabei jedesmal ohne Fehlermdlungen. Vielen Dank Michael
Michael Post schrieb:
Hallo Liste,
zwei hoffentlich nur kleine Fragen.
1)
Beim einloggen in mein gerade frisch aufgesetztes System bekomme ich beim Anmelden (Cyrus) gegen eine MySQL-DB die Meldung, dass die Ordner (Inbox, Drafts, Sent, Templates) nicht existieren. Der Authentifizierungsvorgang scheint ordnungsgemäß funktioniert zu haben.
Wie kann ich also, nach einem Anlegen eines Benutzers in der Datenbank, sein "HOME"-Dir mit den entsprechenden Verzeichnissen anlegen?
2)
Versenden über den lokalen SMTP funktioniert bei mir leider noch nicht ganz. Obwohl ich Postfix (Yast, letzte STable und letztes Snapshot) schon mehrmals mit MYSQL-Support folgendermaßen kompiliert habe
make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib -lsasl2' make tidy make make install
nicht. In der /var/log/mail.err kommt immer die Meldung beim Versenden die folgende Fehler-Meldung
Nov 30 15:52:29 psYkoMobil postfix/qmgr[4793]: fatal: unsupported dictionary type: mysql
Das eMailprogramm erhält dann irgendwann einen Timeout beim Versenden.
Woran kann das liegen? Das Kompilieren der Sourcen erfolgt dabei jedesmal ohne Fehlermdlungen.
cd [source-verzeichnis von postfix] make src/postconf/postconf -m rcpostfix stop make upgrade postconf -m postconf mail_version danach sollte die neue Version und die Unterstützung für MySQL angezeigt werden -- Andreas Ernst Publishing & Software Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 ae@ae-online.de www.ae-online.de
Hallo Andreas, hallo Liste, Andreas Ernst wrote:
cd [source-verzeichnis von postfix] make src/postconf/postconf -m rcpostfix stop make upgrade postconf -m postconf mail_version
danach sollte die neue Version und die Unterstützung für MySQL angezeigt werden Theoretisch würde ich Dir recht geben. Die Praxis belehrt mich leider etwas anderem. Kurz: Es funktioniert nicht.
Ich habe make clean ausgeführt, dann mit make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' 'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm' das Makefile neu erstellt Da ich jetzt bei make in dieser Version leider einen Fehler erhalte, {Fehlermeldung dict_mysql.c:751: error: `PLDB' undeclared (first use in this function) make: *** [dict_mysql.o] Fehler 1 make: *** [update] Fehler 1 } führe ich immer noch make tidy aus. Danach erscheint der Fehler nicht mehr. Weiter gehts mit make src/postconf/postconf -m Ausgabe: btree cidr environ hash nis pcre proxy regexp static unix Dann weiter mit rcpostfix stop make upgrade psYkoMobil:/home/michael/tmp/postfix-2.2.5 # src/postconf/postconf -m btree cidr environ hash nis pcre proxy regexp static unix psYkoMobil:/home/michael/tmp/postfix-2.2.5 # postconf mail_version mail_version = 2.2.5 Wie soll ich jetzt weiter machen? Jemand eine Idee?? MFG Michael
Michael Post wrote:
Dann weiter mit
rcpostfix stop make upgrade
psYkoMobil:/home/michael/tmp/postfix-2.2.5 # src/postconf/postconf -m btree cidr environ hash nis pcre proxy regexp static unix psYkoMobil:/home/michael/tmp/postfix-2.2.5 # postconf mail_version mail_version = 2.2.5
Okay, siehst du hier eine Unterstützung für SQL? Ich sehe keine. (^-^) 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. Sandy -- Antworten bitte nur in die Mailingliste! PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
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>
Michael Post 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.
Gut, dann sind wir uns einig. (^-^)
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
Das scheint genau der Anfang des Übels zu sein. Die header files sind im Paket mysql-devel, ist das installiert? Ich habe gerade mysql-devel nachinstalliert, die Datei mysql.h ist jetzt in /usr/include/mysql zu finden. Hattest du diesen Pfad angegeben? Sandy -- Antworten bitte nur in die Mailingliste! PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com
Hallo Sandy, hallo Liste, Sandy Drobic wrote:
Das scheint genau der Anfang des Übels zu sein. Die header files sind im Paket mysql-devel, ist das installiert? Ich habe gerade mysql-devel nachinstalliert, die Datei mysql.h ist jetzt in /usr/include/mysql zu finden. Hattest du diesen Pfad angegeben? Nachdem ich mir den Aufruf noch einmal genau angeschaut habe und feststellen musste dass die Pfade zusätzlich auch nicht stimmten, habe ich das Ganze noch einmal ausprobiert.
Leider ohne einwandfreiem Ergebnis. Das ganze habe ich dann mit beiden Versionen gemacht. Beide negativ. Zum guten Schluss habe ich die Source-Verzeichnisse noch einaml neu erstellt und siehe da es funktionierte. Final sei gesagt: Andreas: Vielen Dank für den ersten Hinweis, der ja auch ausschlaggebend war. Sandy: Dir ein ganz, ganz herzlichen Dank für den / die richtigen Hinweise und Deine Geduld. Du hast mir meinen Abend - aber noch nicht Feierabend - zurück gegeben. Vielen Dank Euch Beiden Michael
Und ein letztes mal für diese eigentlich zusammen gehörende Mail. Und hier die Ausgabe von make nach dem Aufruf von make tidy (s. Anhang) <Ausgabe> psYkoMobil:/home/michael/tmp/postfix-2.2.5 # make > make.log Das kommt dann noch während des kompilierens: ar: creating libutil.a ar: creating libglobal.a ar: creating libdns.a ar: creating libtls.a ar: creating libmaster.a </Ausgabe> Ich kann leider nichts fehlerhaftes entdecken.
participants (3)
-
Andreas Ernst
-
Michael Post
-
Sandy Drobic