ich hab versucht nach dem FAQ-Tutorial Postfix zu aktualisieren (auf Version 2.1.1). Ich bleib aber beim make hängen.
Ich habe das Makefile wie folgt erstellt:
Beim make kommen jetzt immer folgende Meldungen:make makefiles CCARGS="-DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL" AUXLIBS="-lldap -llber -lpcre -lsasl -lssl -lcrypto"
ipx11099:/usr/local/src/postfix-2.1.1 # make
set -e; for i in src/util src/global src/dns 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; do
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL' update MAKELEVEL=) || exit 1;
done
[src/util]
gcc -Wmissing-prototypes -Wformat -DHAS_LDAP -DHAS_PCRE -DUSE_SASL_AUTH -DHAS_SSL -g -O -I. -DLINUX2 -c dict_pcre.c
dict_pcre.c:56:18: pcre.h: No such file or directory
dict_pcre.c:80: error: parse error before "pcre"
dict_pcre.c:80: warning: no semicolon at end of struct or union
dict_pcre.c:81: warning: data definition has no type or storage class
dict_pcre.c:82: error: parse error before '}' token
dict_pcre.c:82: warning: data definition has no type or storage class
dict_pcre.c:96: error: parse error before "pcre"
dict_pcre.c:96: warning: no semicolon at end of struct or union
dict_pcre.c:97: warning: data definition has no type or storage class
dict_pcre.cerror: parse error before '}' token
dict_pcre.cwarning: data definition has no type or storage class
dict_pcre.c:104: error: parse error before "pcre"
dict_pcre.c:104: warning: no semicolon at end of struct or union
dict_pcre.c:105: warning: data definition has no type or storage class
dict_pcre.c:107: error: parse error before '}' token
dict_pcre.c:107: warning: data definition has no type or storage class
dict_pcre.c: In function `dict_pcre_expand':
dict_pcre.c:173: error: `PCRE_ERROR_NOSUBSTRING' undeclared (first use in this function)
dict_pcre.c:173: error: (Each undeclared identifier is reported only once
dict_pcre.c:173: error: for each function it appears in.)
dict_pcre.c: In function `dict_pcre_exec_error':
dict_pcre.c:207: error: `PCRE_ERROR_NULL' undeclared (first use in this function)
dict_pcre.c:208: error: `PCRE_ERROR_BADOPTION' undeclared (first use in this function)
dict_pcre.c:211: error: `PCRE_ERROR_BADMAGIC' undeclared (first use in this function)
dict_pcre.c:212: error: `PCRE_ERROR_UNKNOWN_NODE' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_lookup':
dict_pcre.c:227: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:228: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:253: error: parse error before ')' token
dict_pcre.c:262: error: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
dict_pcre.c:301: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_close':
dict_pcre.c:342: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:343: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:349: error: parse error before ')' token
dict_pcre.c:358: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_get_pattern':
dict_pcre.c:427: error: `PCRE_CASELESS' undeclared (first use in this function)
dict_pcre.c:427: error: `PCRE_DOTALL' undeclared (first use in this function)
dict_pcre.c:434: error: `PCRE_MULTILINE' undeclared (first use in this function)
dict_pcre.c:440: error: `PCRE_EXTENDED' undeclared (first use in this function)
dict_pcre.c:443: error: `PCRE_ANCHORED' undeclared (first use in this function)
dict_pcre.c:446: error: `PCRE_DOLLAR_ENDONLY' undeclared (first use in this function)
dict_pcre.c:449: error: `PCRE_UNGREEDY' undeclared (first use in this function)
dict_pcre.c:452: error: `PCRE_EXTRA' undeclared (first use in this function)
dict_pcre.c: At top level:
dict_pcre.c:500: error: parse error before "DICT_PCRE_ENGINE"
dict_pcre.c: In function `dict_pcre_compile':
dict_pcre.c:505: error: `engine' undeclared (first use in this function)
dict_pcre.c:505: error: `pattern' undeclared (first use in this function)
dict_pcre.c:509: error: `mapname' undeclared (first use in this function)
dict_pcre.c:509: error: `lineno' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_parse_rule':
dict_pcre.c:554: error: parse error before "engine"
dict_pcre.c:556: error: `match_rule' undeclared (first use in this function)
dict_pcre.c:600: error: `engine' undeclared (first use in this function)
dict_pcre.c:606: error: parse error before ')' token
dict_pcre.c:621: error: parse error before "engine"
dict_pcre.c:622: error: `if_rule' undeclared (first use in this function)
dict_pcre.c:652: error: parse error before ')' token
dict_pcre.c: In function `dict_pcre_open':
dict_pcre.c:728: error: `pcre_malloc' undeclared (first use in this function)
dict_pcre.c:729: error: `pcre_free' undeclared (first use in this function)
make: *** [dict_pcre.o] Error 1
make: *** [update] Error 1
ipx11099:/usr/local/src/postfix-2.1.1 #
Kann mir jemand weiterhelfen? Ich weiß echt net, wo der Fehler liegt...
