Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Robert Chalmers
Thanks for looking at this Viktor, I’ll catch up with your suggestions tomorrow, and will also look into 3.4 if it’s available yet. I realise I’m on a non- standard system but as Apple are steadily discontinuing 3rd party packages, and have already abandoned their own server, I’m happy I’m havi

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Wietse Venema
rachalmers: > I'm now trying 3.3.2 and running into a mess of compile errors again. > > Firstly - > Had to add this patch; referenced elsewhere, but known about. > src/global/dict_mysql.c (postfix 3.2.0-5, 3.3.0 and current) to allow > build against MySQL 8.x > > Then had to add this def

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Viktor Dukhovni
> On Nov 27, 2018, at 2:14 PM, Alice Wonder wrote: > > I might be wrong about this, but also I seem to recall seeing OpenSSL 1.1.0 > or newer was needed for the Ed25519-sha256 sig support coming in next OpenDKIM > (and already in their Beta2 release). Actually, you need 1.1.1 (not 1.1.0) for

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Alice Wonder
On 11/27/2018 10:47 AM, Viktor Dukhovni wrote: On Nov 27, 2018, at 10:33 AM, Robert Chalmers wrote: set -- '-DUSE_TLS -I/usr/local/Cellar/openssl/1.0.2p/include' set -- "$@" '-I/usr/local/opt/icu4c/include' set -- "$@" '-DHAS_MYSQL -I/usr/local/include/mysql' set -- '-DHAS_PCRE -I/usr/local/inc

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Viktor Dukhovni
> On Nov 27, 2018, at 10:33 AM, Robert Chalmers wrote: > > set -- '-DUSE_TLS -I/usr/local/Cellar/openssl/1.0.2p/include' > set -- "$@" '-I/usr/local/opt/icu4c/include' > set -- "$@" '-DHAS_MYSQL -I/usr/local/include/mysql' > set -- '-DHAS_PCRE -I/usr/local/include' > set -- "$@" '-DUSE_SASL_AUTH

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Robert Chalmers
Thanks Victor. Indeed, that was it the openssl problem. I now have it set to the brew version of openssl. It compiled right through to the end. set -- '-DUSE_TLS -I/usr/local/Cellar/openssl/1.0.2p/include' set -- "$@" '-I/usr/local/opt/icu4c/include' set -- "$@" '-DHAS_MYSQL -I/usr/local/include

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread Viktor Dukhovni
You must be using LibreSSL, rather than OpenSSL. LibreSSL is not supported. LibreSSL is squatting on OPENSSL_VERSION_NUMBER values for what would be OpenSSL 2.x.y, which would be expected to have features introduced in OpenSSL 1.1.0 and 1.1.1. Recent MacOS ships LibreSSL, you need to use the inc

Re: Compiler error on 3.3.2. Mac Mojave (3.3.2)

2018-11-27 Thread rachalmers
I'm now trying 3.3.2 and running into a mess of compile errors again. Firstly - Had to add this patch; referenced elsewhere, but known about. src/global/dict_mysql.c (postfix 3.2.0-5, 3.3.0 and current) to allow build against MySQL 8.x Then had to add this define to dict_mysql.c #define