Hey all. I'm working on moving my server from 10.6 to 10.7, I've made a backup of my system and I'm working to get everything to build properly before and document my upgrade before doing my live server. I've run into an odd snag that I can't seem to figure out.
I've only found one web page giving info on building on Lion, http://diymacserver.com/mail/lion/compiling-postfix/, and it didn't list anything about compile issues. My make statement is very similar to the one on the above page, but even using the one listed there, when I do the 'sudo make install', I get hundreds of lines of errors, such as the following: $ sudo make install set -e; 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 \ (set -e; echo "[$i]"; cd $i; make 'CC=cc -DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DHAS_PCRE -I/usr/local/include -DHAS_SSL -I/usr/include/openssl -DHAS_MYSQL -I/usr/local/mysql/include -DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE' update MAKELEVEL=) || exit 1; \ done [src/util] cc -DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DHAS_PCRE -I/usr/local/include -DHAS_SSL -I/usr/include/openssl -DHAS_MYSQL -I/usr/local/mysql/include -DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O -I. -DMACOSX -c concatenate.c concatenate.c:2:1: warning: '/*' within block comment [-Wcomment] /* NAME ^ concatenate.c:3:1: warning: '/*' within block comment [-Wcomment] /* concatenate 3 ^ concatenate.c:4:1: warning: '/*' within block comment [-Wcomment] /* SUMMARY ^ concatenate.c:5:1: warning: '/*' within block comment [-Wcomment] /* concatenate strings ^ concatenate.c:6:1: warning: '/*' within block comment [-Wcomment] /* SYNOPSIS ^ concatenate.c:7:1: warning: '/*' within block comment [-Wcomment] /* #include <stringops.h> ^ concatenate.c:8:1: warning: '/*' within block comment [-Wcomment] /* ^ concatenate.c:9:1: warning: '/*' within block comment [-Wcomment] /* char *concatenate(str, ...) ^ concatenate.c:10:1: warning: '/*' within block comment [-Wcomment] /* const char *str; ^ concatenate.c:11:1: warning: '/*' within block comment [-Wcomment] /* DESCRIPTION Thinking I had an issue with my environment on the cloned drive, I tried compiling on a fresh Lion install on another machine, and ran into the same issues. Googling this didn't yield anything helpful, I'm hoping someone here might know what uber critical step I must have missed... Thanks!