On Sun, May 11, 2014 at 10:53:05PM -0500, Larry Stone wrote:
> Viktor, thanks, that greatly improves my understanding of how
> those options work. And also serves as a reminder not to put to
> much trust in other people's "how to" documents since if I now
> understand it correctly, the '-I/usr/include/openssl' in the original
> document I followed at diymacserver.com was meaningless and instead,
> the headers were found from the default /usr/include.
Correct. If you're referring to:
http://diymacserver.com/mail/snow-leopard/compiling-postfix-in-64-bits/
drop the author a note. The instructions should be changed to:
make -f Makefile.init makefiles \
CCARGS='-arch x86_64
-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_MYSQL -I/usr/local/mysql/include
-DHAS_PCRE -I/usr/local/include
' \
AUXLIBS='-L/usr/local/lib \
-lpcre -lssl -lcrypto \
-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
On a Mac you should strongly consider a package manager, such as
either "MacPorts" or "Homebrew". These will also build dependencies,
make it easy to refresh packages that are out of date, ...
https://www.macports.org/
or if you're not put-off by Ruby:
http://brew.sh/
--
Viktor.