Problems building Maildrop on a Macintosh

Larry Stone <[email protected]> Fri, 30 Nov 2018 12:57:29 -0600
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
I’ve just rejoined to this list after three plus years away. I’ve had maildrop running all that time on a Macintosh currently running MacOS High Sierra (10.13) (built in late 2015 under OS X El Capitan (10.11). There has been no need to rebuild and the system it's currently used on has gone as far as it can go for MacOS versions.

That said, because I was upgrading openSSL, I decided to rebuild everything else I use just to make sure all was well (unless I missed it somewhere, Maildrop does not use openSSL - please correct me if I’m wrong). Everything has gone fine except Maildrop

I actually have three Macs: one still running Mavericks (10.9), the “production server” running High Sierra (10.13), and my MacBookPro running Mojave (10.14). Maildrop version has been 2.8.0 but downloaded 3.0.0 when I started having problem. I’ve used the 10.9 system to build stuff that needs good logging (instead of Apple’s current crappy logging) like Postfix and then port them to the other two. All systems have pcre 8.3.2, courier-unicode 1.1, and libidn 1.35 installed on them.

So what’s happening now is:
On the 10.9 system:
2.8.0 builds fine. But when I then port the build to either the 10.13 or 10.14 system, make install fails with:
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -I.. -I./.. -MT rfc2047u.lo -MD -MP -MF .deps/rfc2047u.Tpo -c rfc2047u.c  -fno-common -DPIC -o .libs/rfc2047u.o
rfc2047u.c:12:10: fatal error: 'unicode.h' file not found
#include        <unicode.h>
                ^
1 error generated.
make[2]: *** [rfc2047u.lo] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
(/usr/local/include/unicode.h exists)

3.0.0 fails in configure:
./configure —enable—utf
…
checking for LIBIDN... no
configure: error: libidn not found
(despite just installing libidn 1.35:
ls -l /usr/local/lib/libidn.*
-rwxr-xr-x  1 root  wheel  215140 Nov 30 12:41 /usr/local/lib/libidn.12.dylib
-rw-r--r--  1 root  wheel  369824 Nov 30 12:41 /usr/local/lib/libidn.a
lrwxr-xr-x  1 root  wheel      15 Nov 30 12:41 /usr/local/lib/libidn.dylib -> libidn.12.dylib
-rwxr-xr-x  1 root  wheel     931 Nov 30 12:41 /usr/local/lib/libidn.la
)

On both the 10.13 and 10.14 systems, both 2.8.0 and 3.0.0 fail in configure:
./configure —enable—utf
…
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
configure: error: pcre.h not found - install PCRE from www.pcre.org
(/usr/local/include/pcre.h exists
A search turned up lots of other incidents of pcre.h not found but none with a solution that seems to fit me)

As I said, the build of 2.8.0 from three years ago continues to run fine so nothing urgent here - just mystified. And it’s a very low usage case: fetch mail retrieves mail from a special mailbox and passes it to maildrop which then send email to my email to text message address alerting me to certain events - I could survive without it.

-- 
Larry Stone
[email protected]







_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop