Hi,
Thinking that OpenBSD's packages incorporated assumptions that are
inapplicable to how I use postfix, I am attempting to build it myself.
Based on what I saw in the READMEs and what I found on the system, I am
using:
make tidy \
&& make makefiles CCARGS="-DUSE_TLS -I/usr/include/openssl
-DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"" AUXLIBS="-L/usr/lib
-lssl -lcrypto" \
&& make \
&& sudo sh postfix-install
I am getting:
tls_misc.c: In function 'tls_run_version':
tls_misc.c:984: error: 'OPENSSL_VERSION' undeclared (first use in this
function)
tls_misc.c:984: error: (Each undeclared identifier is reported only once
tls_misc.c:984: error: for each function it appears in.)
tls_misc.c:984: warning: return makes pointer from integer without a cast
*** Error 1 in src/tls (Makefile:75 'tls_misc.o')
*** Error 1 in /home/benfell/postfix-3.1.1 (Makefile:93 'update')
This is postfix-3.1.1 on OpenBSD 5.9. What am I failing to understand?
Thanks!