![Компьютерный форум OSzone.net](images/oszone.net.print.gif) |
|
не компилируется Postfix
Здравствуйте,
пытаюсь установить postfix 2.9 на FreeBSD9 -
выдается ошибка - не пойму что с ней делать
Код:
===> Building for postfix-2.9.1,1
; for i in src/util src/global src/dns src/tls src/xsasl src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local 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 src/postmulti src/postscreen src/dnsblog src/tlsproxy; do (; echo "[$i]"; cd $i; make 'CC=cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL' update MAKELEVEL=) || exit 1; done
[src/util]
for i in argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h htable.h inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h base32_code.h dict_fail.h warn_stat.h; do cmp -s $i ../../include/$i 2>/dev/null || cp $i ../../include; done
cd ../../include; chmod 644 argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h htable.h inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h base32_code.h dict_fail.h warn_stat.h
[src/global]
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dsn.c
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dict_ldap.c
dict_ldap.c:232:18: error: sasl.h: No such file or directory
dict_ldap.c: In function 'ldap_b2_interact':
dict_ldap.c:469: error: 'sasl_interact_t' undeclared (first use in this function)
dict_ldap.c:469: error: (Each undeclared identifier is reported only once
dict_ldap.c:469: error: for each function it appears in.)
dict_ldap.c:469: error: 'in' undeclared (first use in this function)
dict_ldap.c:472: error: 'SASL_CB_LIST_END' undeclared (first use in this function)
dict_ldap.c:475: error: 'SASL_CB_GETREALM' undeclared (first use in this function)
dict_ldap.c:478: error: 'SASL_CB_AUTHNAME' undeclared (first use in this function)
dict_ldap.c:481: error: 'SASL_CB_USER' undeclared (first use in this function)
dict_ldap.c:484: error: 'SASL_CB_PASS' undeclared (first use in this function)
*** Error code 1
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dsn_buf.c
1 error
*** Error code 1
*** Error code 1
Stop in /usr/ports/mail/postfix.
*** Error code 1
Stop in /usr/ports/mail/postfix.
*** Error code 1
Stop in /usr/ports/mail/postfix.
|
Дело, очевидно, в неверных опциях сборки (make config которые). Наверное, выбрана LDAP, но забыта SASL, или как их там — гадать не берусь, а сообщить вы постеснялись.
|
Цитата:
Цитата vadblm
Наверное, выбрана LDAP, но забыта SASL »
|
с SASL тоже не компилится :(
Код:
# cd /usr/ports/mail/postfix
# make showconfig
===> The following configuration options are available for postfix-2.9.1,1:
PCRE=on "Perl Compatible Regular Expressions"
SASL2=off "Cyrus SASLv2 (Simple Auth. and Sec. Layer)"
DOVECOT=off "Dovecot 1.x SASL authentication method"
DOVECOT2=on "Dovecot 2.x SASL authentication method"
SASLKRB5=off "If your SASL req. Kerberos5, select this"
SASLKMIT=off "If your SASL req. MIT Kerberos5, select this"
TLS=off "Enable SSL and TLS support"
BDB=off "Berkeley DB (uses WITH_BDB_VER)"
MYSQL=off "MySQL maps (uses WITH_MYSQL_VER)"
PGSQL=on "PostgreSQL maps (uses DEFAULT_PGSQL_VER)"
SQLITE=off "SQLite maps"
OPENLDAP=on "OpenLDAP maps (uses WITH_OPENLDAP_VER)"
LDAP_SASL=off "Enable OpenLDAP client-to-server SASL auth"
CDB=off "CDB maps lookups"
NIS=off "NIS maps lookups"
VDA=on "VDA (Virtual Delivery Agent 32Bit)"
TEST=off "SMTP/LMTP test server and generator"
SPF=off "SPF support (via libspf2 1.2.x)"
INST_BASE=off "Install into /usr and /etc/postfix"
===> Use 'make config' to modify these settings
dovecot2, openldap, postgres, php5 и другое уже установлено, но не настроено
вот другой конфиг
Код:
===> The following configuration options are available for postfix-2.9.1,1:
PCRE=on "Perl Compatible Regular Expressions"
SASL2=on "Cyrus SASLv2 (Simple Auth. and Sec. Layer)"
DOVECOT=off "Dovecot 1.x SASL authentication method"
DOVECOT2=on "Dovecot 2.x SASL authentication method"
SASLKRB5=off "If your SASL req. Kerberos5, select this"
SASLKMIT=off "If your SASL req. MIT Kerberos5, select this"
TLS=off "Enable SSL and TLS support"
BDB=off "Berkeley DB (uses WITH_BDB_VER)"
MYSQL=off "MySQL maps (uses WITH_MYSQL_VER)"
PGSQL=on "PostgreSQL maps (uses DEFAULT_PGSQL_VER)"
SQLITE=off "SQLite maps"
OPENLDAP=on "OpenLDAP maps (uses WITH_OPENLDAP_VER)"
LDAP_SASL=off "Enable OpenLDAP client-to-server SASL auth"
CDB=off "CDB maps lookups"
NIS=off "NIS maps lookups"
VDA=on "VDA (Virtual Delivery Agent 32Bit)"
TEST=off "SMTP/LMTP test server and generator"
SPF=off "SPF support (via libspf2 1.2.x)"
INST_BASE=off "Install into /usr and /etc/postfix"
===> Use 'make config' to modify these settings
а вот что компилится
Код:
===> Building for postfix-2.9.1,1
; for i in src/util src/global src/dns src/tls src/xsasl src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local 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 src/postmulti src/postscreen src/dnsblog src/tlsproxy; do (; echo "[$i]"; cd $i; make 'CC=cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL' update MAKELEVEL=) || exit 1; done
[src/util]
for i in argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h htable.h inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h base32_code.h dict_fail.h warn_stat.h; do cmp -s $i ../../include/$i 2>/dev/null || cp $i ../../include; done
cd ../../include; chmod 644 argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h get_hostname.h hex_code.h hex_quote.h host_port.h htable.h inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h base32_code.h dict_fail.h warn_stat.h
[src/global]
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dict_ldap.c
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dsn_print.c
dict_ldap.c:232:18: error: sasl.h: No such file or directory
dict_ldap.c: In function 'ldap_b2_interact':
dict_ldap.c:469: error: 'sasl_interact_t' undeclared (first use in this function)
dict_ldap.c:469: error: (Each undeclared identifier is reported only once
dict_ldap.c:469: error: for each function it appears in.)
dict_ldap.c:469: error: 'in' undeclared (first use in this function)
dict_ldap.c:472: error: 'SASL_CB_LIST_END' undeclared (first use in this function)
dict_ldap.c:475: error: 'SASL_CB_GETREALM' undeclared (first use in this function)
dict_ldap.c:478: error: 'SASL_CB_AUTHNAME' undeclared (first use in this function)
dict_ldap.c:481: error: 'SASL_CB_USER' undeclared (first use in this function)
dict_ldap.c:484: error: 'SASL_CB_PASS' undeclared (first use in this function)
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include -DHAS_PGSQL -I/usr/local/include -I/usr/local/pgsql/include -DHAS_LDAP -I/usr/local/include -DUSE_LDAP_SASL -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I../../include -DFREEBSD9 -c dsn_util.c
*** Error code 1
1 error
*** Error code 1
*** Error code 1
Stop in /usr/ports/mail/postfix.
*** Error code 1
Stop in /usr/ports/mail/postfix.
*** Error code 1
Stop in /usr/ports/mail/postfix.
|
Я думаю, SASL2, DOVECOT, DOVECOT2 между собой конфликтуют. Может, не хватает LDAP_SASL. Проверить не имею возможности.
|
Оптимизация случаем никакая не включена?
|
Цитата:
Цитата leonty
Оптимизация случаем никакая не включена? »
|
Там явно ошибки при линке каких-то сасловских функций, оказавшихся недекларированными, оптимизация ни при чём.
|
попробовал добавить LDAP_SASL - не помогло
pkg_add -r gsasl
тоже проблему не решило
|
Не-не, наличие-отсутствие пакаджей ни при чём. Тут проблема на уровне функций, увы с наскоку не могу помочь, уж очень погляжу развелось методов сасл-аутентификации у постфикса, уверен, что они между собой конфликтуют на уровне сборки. Попробуйте убрать DOVECOT2
|
Цитата:
Цитата vadblm
оптимизация ни при чём. »
|
возможно. я не настаиваю :) просто немного спросони смутило это
%)
|
Цитата:
Цитата vadblm
Попробуйте убрать DOVECOT2 »
|
попробовал - то же
убрал вообще все опции
сделал make rmconfig
make config убрал опции
make install clean выдает туже ошибку
|
make clean перед каждой переборкой делали?
|
Цитата:
Цитата vadblm
make clean перед каждой переборкой »
|
сделал
make clean
make rmconfig
make config - выбрал опции без dovecot и tls. оставил openldap и ldap_sasl
затем make install clean - и все завелось! урааа!
спасибо за помощь! видимо проблема была в несовместимых опциях, а затем при выборе новых просто надо было почистить директорию!
|
Время: 22:23.
© OSzone.net 2001-