Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
Thanks Victor, understood. - Robert Chalmers https://robert-chalmers.uk aut...@robert-chalmers.uk @R_A_Chalmers > On 19 Nov 2018, at 8:53 pm, Viktor Dukhovni > wrote: > >> On Mon, Nov 19, 2018 at 07:43:06PM +, Robert Chalmers wrote: >> >> sorry Wietse, you’ve lost me there. >> >> W

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Viktor Dukhovni
On Mon, Nov 19, 2018 at 07:43:06PM +, Robert Chalmers wrote: > sorry Wietse, you’ve lost me there. > > What does your statement mean in relation to the commands of Viktor that now > build it? To get unicode enabled automatically, add: /usr/local/opt/icu4c/bin to your PATH, and the

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Wietse Venema
Viktor Dukhovni: > Change the above to: > > # There's no need to mention "-I/usr/local/include" multiple times. > # > set -- '-DUSE_TLS -I/usr/local/opt/openssl/include' > set -- "$@" '-I/usr/local/opt/icu4c/include' On 19 Nov 2018, at 19:33, Wietse Venema wrote: > Please don't hard-code ICU pat

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
it seems icu-config is gone from Mojave. however, pkg-config is there. According to the icu project docs, Note: icu-config is deprecated, and no longer recommended for production use. Please use pkg-config files or other options. http://userguide.icu-project.org/howtouseicu#TOC-pkg-config r

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
opps. Viktor. In my slight rework enthusiasm I’ve gone and put -lsasl2 in twice… no matter I’ll fix it. robert > On 19 Nov 2018, at 17:16, Viktor Dukhovni wrote: > > On Mon, Nov 19, 2018 at 03:42:51PM +, Robert Chalmers wrote: > >> make -f Makefile.init dynamicmaps=yes CCARGS='-DHAS_MYSQL

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
sorry Wietse, you’ve lost me there. What does your statement mean in relation to the commands of Viktor that now build it? thanks Robert > On 19 Nov 2018, at 19:33, Wietse Venema wrote: > > Viktor Dukhovni: >> Change the above to: >> >> # There's no need to mention "-I/usr/local/include" mul

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
Thanks Viktor. I have a compile… I’ve had to make a couple of very small changes. The queue directory is missing the “/“ in front of var. and I added in the sasl2 stuff. I’m rebuilding this so that I’m not having to use macports - only Homebrew things, and the native Apple libraries in the ca

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Wietse Venema
Viktor Dukhovni: > Change the above to: > > # There's no need to mention "-I/usr/local/include" multiple times. > # > set -- '-DUSE_TLS -I/usr/local/opt/openssl/include' > set -- "$@" '-I/usr/local/opt/icu4c/include' Please don't hard-code ICU pathnames. EAI support is enabled by default when the

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Viktor Dukhovni
On Mon, Nov 19, 2018 at 03:42:51PM +, Robert Chalmers wrote: > make -f Makefile.init dynamicmaps=yes CCARGS='-DHAS_MYSQL > -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include/openssl > -I/usr/local/include/gnutls -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL > -I/Applications/Xco

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
I think I’ve got the OpenSSL libraries correct, but not the TLD part. - Robert Chalmers https://robert-chalmers.uk aut...@robert-chalmers.uk @R_A_Chalmers > On 19 Nov 2018, at 4:20 pm, Bill Cole > wrote: > >> On 19 Nov 2018, at 10:42, Robert Chalmers wrote: >> >> This is my make script.

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
Yes, I only just put that gnutls in there... in desperation really! But I get the same error with or without. I figured it was some library thing... but finding the right one is a real problem. - Robert Chalmers https://robert-chalmers.uk aut...@robert-chalmers.uk @R_A_Chalmers > On 19 N

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Bill Cole
On 19 Nov 2018, at 10:42, Robert Chalmers wrote: This is my make script. [...] -I/usr/local/include/openssl -I/usr/local/include/gnutls I don't think that can work. I know that the only reference to gnutls anywhere in the Postfix distribution is in the 2 TLS read-me files, both of which sa

Re: A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Jim Reid
On 19 Nov 2018, at 15:42, Robert Chalmers wrote: > > "_OpenSSL_version", referenced from: > import-atom in libpostfix-tls.dylib > ... > "_X509_up_ref", referenced from: > import-atom in libpostfix-tls.dylib > ld: symbol(s) not found for architecture x86_64 > clang: error: linker comm

A bit stuck compiling Postfix on Mac Mojave.

2018-11-19 Thread Robert Chalmers
This is my make script. make -f Makefile.init dynamicmaps=yes CCARGS='-DHAS_MYSQL -I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include/openssl -I/usr/local/include/gnutls -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.p