error with libmilter

Herta Van den Eynde herta.vandeneynde at gmail.com
Sun Jul 22 20:40:26 UTC 2007


On 22/07/07, sylvan dacounha <sylvan_2804 at yahoo.com> wrote:
> dear All,
>
>  I am jus installed centOS 5.0 from the distrubution to be as our mail
>  server
>
>  i have installed the following
>
>  sendmail-8.13.8-2.el5
>  mailsacnner  4.61.7
>  spamassassin 3.2.1
>  clamav-0.91-1.el5.rf
>
>  and every thing is workin fine
>
>  but i want to implement domain keys so i downloaded the dkim-milter-1.2.0
>  and uncompress it edited the site.config.m4 file n folled intructions in
>  the INSTALL file but when i run
>  sh Build
>  it gives me errors
>
>  here below a part of the errors
>
>  tmp/software/dkim-milter-1.2.0/libdkim
>  Configuration: pfx=, os=Linux, rel=2.6.18-8.el5xen, rbase=2,
> rroot=2.6.18-8, arch=i686, sfx=, variant=optimized
>  Making in
>  /tmp/software/dkim-milter-1.2.0/obj.Linux.2.6.18-8.el5xen.i686/libdkim
>  make[1]: Entering directory
>  `/tmp/software/dkim-milter-1.2.0/obj.Linux.2.6.18-8.el5xen.i686/libdkim'
>  make[1]: Nothing to be done for `all'.
>  make[1]: Leaving directory
>  `/tmp/software/dkim-milter-1.2.0/obj.Linux.2.6.18-8.el5xen.i686/libdkim'
>  Making all in:
>  /tmp/software/dkim-milter-1.2.0/dkim-filter
>  Configuration: pfx=, os=Linux, rel=2.6.18-8.el5xen, rbase=2,
>  rroot=2.6.18-8, arch=i686, sfx=, variant=optimized
>  Making in
>  /tmp/software/dkim-milter-1.2.0/obj.Linux.2.6.18-8.el5xen.i686/dkim-filter
>  make[1]: Entering directory
>  /tmp/software/dkim-milter-1.2.0/obj.Linux.2.6.18-8.el5xen.i686/dkim-filter'
>  cc -O2 -I. -I../../include  -I../libdkim/   -D_REENTRANT -DXP_MT   -c -o
>  dkim-filter.o dkim-filter.c
>  dkim-filter.c:63:29: error: libmilter/mfapi.h: No such file or directory
>  dkim-filter.c:193: error: expected specifier-qualifier-list before
>  '_SOCK_ADDR'
>  dkim-filter.c:213: error: 'SMFIS_ACCEPT' undeclared here (not in a
>  function)
>  dkim-filter.c:216: error: 'SMFIS_TEMPFAIL' undeclared here (not in a
>  function)
>  dkim-filter.c:275: error: 'SMFIS_DISCARD' undeclared here (not in a
>  function)
>  dkim-filter.c:277: error: 'SMFIS_REJECT' undeclared here (not in a
>  function)
>  dkim-filter.c:311: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_abort'
>  dkim-filter.c:312: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_body'
>  dkim-filter.c:313: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_connect'
>  dkim-filter.c:314: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_envfrom'
> > dkim-filter.c:315: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_envrcpt'
>  dkim-filter.c:316: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_eoh'
>  dkim-filter.c:317: error: expected '=', ',', ';', 'asm' or
>  '__attribute__' before 'mlfi_eom'
>  dkim-filter.c:318: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'mlfi_header'
>  dkim-filter.c:320: error: expected ')' before '*' token
>  dkim-filter.c: In function 'dkimf_sendprogress':
>  dkim-filter.c:565: error: 'SMFICTX' undeclared (first use in this
>  function)
>  dkim-filter.c:565: error: (Each undeclared identifier is reported only
> > once
>  dkim-filter.c:565: error: for each function it appears in
>
>
> apprecite if someone can help me..
>

According to "yum whatprovides mfapi.h", sendmail-devel provides
/usr/include/libmilter/mfapi.h.
Have you tried installing that package?

Kind regards,

Herta




More information about the redhat-list mailing list