Re: Problems building Maildrop on a Macintosh
Larry Stone <[email protected]> Fri, 30 Nov 2018 23:08:37 -0600
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 30, 2018, at 9:33 PM, Sam Varshavchik <[email protected]> wrote: > > These options specify where the application will install various kinds of its files, if the application had any. So, if maildrop installs any header files, that's where they would go. > > maildrop does not install any header files, so this option has no effect. > > This has nothing to do with specifying where the compiler searches for header files, when compiling code. Thanks. I misunderstood what they do. > > But the compiler definitely didn't find it. Which simply means your compiler does not search /usr/local/include, by default. As simple as that. > So a change Apple has made since MacOS 10.9 when it did build without the need of telling it to look in /usr/local/include > So, you will need to add additional compilation options. This is done by using CPPFLAGS and LDFLAGS: > > ./configure [any other options] CPPFLAGS='-I/usr/local/include’ > and > LDFLAGS='-L/usr/local/lib’ > And with those 2.8.0 works. > You will need to do some research to figure out which additional options add a directory to the shared library search directory, at runtime. On Linux it's '-rpath <directory>' that needs to be passed to the linker, and gcc doesn't have a native forwarding option, so the -Wl passthrough option is needed: > > LDFLAGS='-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib' Not needed. Built fine and tested. Which now takes me to Maildrop 3.0.0 which adds the need for libidn. Even though libidn is in /usr/local/lib and I’m configuring with: ./configure --enable-utf CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib’ I get checking for LIBIDN... no configure: error: libidn not found I don’t see anything useful in config.log - just: configure:12674: checking for LIBIDN configure:12733: result: no configure:12745: error: libidn not found -- Larry Stone [email protected] _______________________________________________ Courier-maildrop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/courier-maildrop