Re: [exim] Compiling Exim 4.94 with SPF on Ubuntu

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Andrew C Aitchison
日付:  
To: Chris Bunch
CC: exim-users
題目: Re: [exim] Compiling Exim 4.94 with SPF on Ubuntu
On Fri, 9 Oct 2020, Chris Bunch via Exim-users wrote:

> I am attempting to add SPF to an Ubuntu 18.04 Exim installation (compiled from source, not the Ubuntu package), but Exim compilation fails:
>
>     cc -DMACRO_PREDEF macro_predef.c
>     In file included from exim.h:494:0,
>                 from macro_predef.c:12:
>     spf.h:17:10: fatal error: spf2/spf.h: No such file or directory
>      #include <spf2/spf.h>
>          ^~~~~~~~~~~~
>     compilation terminated.

>
> I have this in Local/Makefile:
>
>     SUPPORT_SPF=yes
>     CFLAGS += -I/usr/include
>     LDFLAGS += -l/usr/lib/spf2

>
> Ubuntu has libspf2 installed (in /usr/lib) but this does not include spf.h


Do you have the development package
      libspf2-dev
as well as
      libspf2-2
?



> I have tried compiling libspf2-1.2.10 from source but this fails with several errors, finally:
>
>     Makefile:228: recipe for target 'all' failed
>     make: *** [all] Error 2

>
> (It looks like libspf2 is now quite old (2010?) and links to their support forums are dead.)
>
> There is spf.h at exim-4.94/build-Linux-x86_64/spf.h. Can I use this and if so where should it go?


-- 
Andrew C. Aitchison                    Kendal, UK
             andrew@???