Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 07:04:35 -0700
From:      "Jeff D. Hamann" <jeff_hamann@hamanndonald.com>
To:        <questions@freebsd.org>
Subject:   /usr/ports/mail/sentinel is broken...
Message-ID:  <004201c356a3$8275c4c0$0600a8c0@rodan>

next in thread | raw e-mail | index | archive | help
I've been looking for a milter to add to my FreeBSD 4.4 system and figured I
would simply go the great ports collection for the task. I chose sentinel
figuring it had al;l the rough edges taken off and the admin looked pretty
simple. I'm currently running sendmail 8.12.9. I ran the make install from
the /usr/ports/mail/sentinel dir and got the following errors:


stimpy# make install
===>  Building for sentinel-1.6.5b
cd /usr/ports/mail/sentinel/work/sentinel-1.6.5b &&
cc -O -pipe  -I/usr/local/include -D_THREAD_SAFE  -o sentinel
sentinel.c -L/usr/local/lib  -lmilter -lpcre -lpcreposix -pthread
sentinel.c:22: libmilter/mfapi.h: No such file or directory
In file included from sentinel.c:18:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
sentinel.c:235: syntax error before `mlfi_connect'
sentinel.c:235: syntax error before `*'
sentinel.c:235: warning: data definition has no type or storage class
sentinel.c:236: syntax error before `mlfi_envfrom'
sentinel.c:236: syntax error before `*'
sentinel.c:236: warning: data definition has no type or storage class
sentinel.c:237: syntax error before `mlfi_envrcpt'
sentinel.c:237: syntax error before `*'
sentinel.c:237: warning: data definition has no type or storage class
sentinel.c:238: syntax error before `mlfi_header'
sentinel.c:238: syntax error before `*'
sentinel.c:238: warning: data definition has no type or storage class
sentinel.c:239: syntax error before `mlfi_eoh'
sentinel.c:239: syntax error before `*'
sentinel.c:239: warning: data definition has no type or storage class
sentinel.c:240: syntax error before `mlfi_body'
sentinel.c:240: syntax error before `*'
sentinel.c:240: warning: data definition has no type or storage class
sentinel.c:241: syntax error before `mlfi_eom'
sentinel.c:241: syntax error before `*'
sentinel.c:241: warning: data definition has no type or storage class
sentinel.c:242: syntax error before `mlfi_close'
sentinel.c:242: syntax error before `*'
sentinel.c:242: warning: data definition has no type or storage class
sentinel.c:243: syntax error before `mlfi_abort'
sentinel.c:243: syntax error before `*'
sentinel.c:243: warning: data definition has no type or storage class
sentinel.c:248: variable `smfilter' has initializer but incomplete type
sentinel.c:249: warning: excess elements in struct initializer
sentinel.c:249: warning: (near initialization for `smfilter')
sentinel.c:250: `SMFI_VERSION' undeclared here (not in a function)
sentinel.c:250: warning: excess elements in struct initializer
sentinel.c:250: warning: (near initialization for `smfilter')
sentinel.c:251: warning: excess elements in struct initializer
sentinel.c:251: warning: (near initialization for `smfilter')
sentinel.c:252: warning: excess elements in struct initializer
sentinel.c:252: warning: (near initialization for `smfilter')
sentinel.c:253: warning: excess elements in struct initializer
sentinel.c:253: warning: (near initialization for `smfilter')
sentinel.c:254: warning: excess elements in struct initializer
sentinel.c:254: warning: (near initialization for `smfilter')
sentinel.c:255: warning: excess elements in struct initializer
sentinel.c:255: warning: (near initialization for `smfilter')
sentinel.c:256: warning: excess elements in struct initializer
sentinel.c:256: warning: (near initialization for `smfilter')
sentinel.c:257: warning: excess elements in struct initializer
sentinel.c:257: warning: (near initialization for `smfilter')
sentinel.c:258: warning: excess elements in struct initializer
sentinel.c:258: warning: (near initialization for `smfilter')
sentinel.c:259: warning: excess elements in struct initializer
sentinel.c:259: warning: (near initialization for `smfilter')
sentinel.c:260: warning: excess elements in struct initializer
sentinel.c:260: warning: (near initialization for `smfilter')
sentinel.c:262: warning: excess elements in struct initializer
sentinel.c:262: warning: (near initialization for `smfilter')
sentinel.c: In function `smfParseConfig':
sentinel.c:1299: invalid use of undefined type `struct smfiDesc'
sentinel.c:1299: `SMFIF_DELRCPT' undeclared (first use in this function)
sentinel.c:1299: (Each undeclared identifier is reported only once
sentinel.c:1299: for each function it appears in.)
sentinel.c:1301: invalid use of undefined type `struct smfiDesc'
sentinel.c:1301: `SMFIF_ADDRCPT' undeclared (first use in this function)
sentinel.c:1304: invalid use of undefined type `struct smfiDesc'
sentinel.c:1307: invalid use of undefined type `struct smfiDesc'
sentinel.c:1307: `SMFIF_ADDHDRS' undeclared (first use in this function)
sentinel.c:1310: invalid use of undefined type `struct smfiDesc'
sentinel.c:1310: `SMFIF_CHGBODY' undeclared (first use in this function)
sentinel.c:1313: invalid use of undefined type `struct smfiDesc'
sentinel.c:1313: `SMFIF_CHGHDRS' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2013: syntax error before `smfProgramAction'
sentinel.c: In function `smfProgramAction':
sentinel.c:2019: syntax error before `status'
sentinel.c:2047: `status' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2088: syntax error before `smfDoAction'
sentinel.c:2088: syntax error before `*'
sentinel.c: In function `smfDoAction':
sentinel.c:2089: `ctx' undeclared (first use in this function)
sentinel.c:2098: syntax error before `rc'
sentinel.c:2100: `action' undeclared (first use in this function)
sentinel.c:2102: `event' undeclared (first use in this function)
sentinel.c:2103: `rc' undeclared (first use in this function)
sentinel.c:2103: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c:2123: `SMFIS_REJECT' undeclared (first use in this function)
sentinel.c:2131: `SMFIS_DISCARD' undeclared (first use in this function)
sentinel.c:2159: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:2236: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c:2245: `status' undeclared (first use in this function)
sentinel.c:2104: warning: unreachable code at beginning of switch statement
sentinel.c: At top level:
sentinel.c:2584: syntax error before `mlfi_connect'
sentinel.c:2584: syntax error before `*'
sentinel.c: In function `mlfi_connect':
sentinel.c:2590: syntax error before `status'
sentinel.c:2595: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:2604: `sap' undeclared (first use in this function)
sentinel.c:2607: `hostname' undeclared (first use in this function)
sentinel.c:2613: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c:2614: `ctx' undeclared (first use in this function)
sentinel.c:2668: `status' undeclared (first use in this function)
sentinel.c:2672: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2686: syntax error before `mlfi_envfrom'
sentinel.c:2686: syntax error before `*'
sentinel.c: In function `mlfi_envfrom':
sentinel.c:2687: `ctx' undeclared (first use in this function)
sentinel.c:2694: syntax error before `status'
sentinel.c:2700: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:2703: warning: assignment makes pointer from integer without a
cast
sentinel.c:2727: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c:2729: `envfrom' undeclared (first use in this function)
sentinel.c:2756: `status' undeclared (first use in this function)
sentinel.c:2759: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2771: syntax error before `mlfi_envrcpt'
sentinel.c:2771: syntax error before `*'
sentinel.c: In function `mlfi_envrcpt':
sentinel.c:2772: `ctx' undeclared (first use in this function)
sentinel.c:2778: syntax error before `status'
sentinel.c:2786: `envrcpt' undeclared (first use in this function)
sentinel.c:2787: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:2813: `status' undeclared (first use in this function)
sentinel.c:2816: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c:2825: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2828: syntax error before `mlfi_header'
sentinel.c:2828: syntax error before `*'
sentinel.c: In function `mlfi_header':
sentinel.c:2829: `ctx' undeclared (first use in this function)
sentinel.c:2842: `headerf' undeclared (first use in this function)
sentinel.c:2843: `headerv' undeclared (first use in this function)
sentinel.c:2844: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:2958: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:2961: syntax error before `mlfi_eoh'
sentinel.c:2961: syntax error before `*'
sentinel.c: In function `mlfi_eoh':
sentinel.c:2962: `ctx' undeclared (first use in this function)
sentinel.c:2969: syntax error before `status'
sentinel.c:3005: `status' undeclared (first use in this function)
sentinel.c:3009: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:3009: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c:3014: `SMFIS_REJECT' undeclared (first use in this function)
sentinel.c:3014: `SMFIS_DISCARD' undeclared (first use in this function)
sentinel.c:3017: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:3033: syntax error before `mlfi_body'
sentinel.c:3033: syntax error before `*'
sentinel.c: In function `mlfi_body':
sentinel.c:3034: `ctx' undeclared (first use in this function)
sentinel.c:3039: `bodylen' undeclared (first use in this function)
sentinel.c:3040: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:3041: `bodyp' undeclared (first use in this function)
sentinel.c:3044: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:3047: syntax error before `mlfi_eom'
sentinel.c:3047: syntax error before `*'
sentinel.c: In function `mlfi_eom':
sentinel.c:3048: `ctx' undeclared (first use in this function)
sentinel.c:3059: syntax error before `status'
sentinel.c:3069: `SMFIS_ACCEPT' undeclared (first use in this function)
sentinel.c:3072: `SMFIS_TEMPFAIL' undeclared (first use in this function)
sentinel.c:3237: `status' undeclared (first use in this function)
sentinel.c:3243: `SMFIS_REJECT' undeclared (first use in this function)
sentinel.c:3243: `SMFIS_DISCARD' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:3248: syntax error before `mlfi_close'
sentinel.c:3248: syntax error before `*'
sentinel.c: In function `mlfi_close':
sentinel.c:3249: `ctx' undeclared (first use in this function)
sentinel.c:3257: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: In function `mlfi_log':
sentinel.c:3281: `SMFIS_REJECT' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:3291: syntax error before `mlfi_abort'
sentinel.c:3291: syntax error before `*'
sentinel.c: In function `mlfi_abort':
sentinel.c:3292: `ctx' undeclared (first use in this function)
sentinel.c:3303: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c: At top level:
sentinel.c:3306: syntax error before `mlfi_cleanup'
sentinel.c:3306: syntax error before `*'
sentinel.c: In function `mlfi_cleanup':
sentinel.c:3307: `ctx' undeclared (first use in this function)
sentinel.c:3317: `rc' undeclared (first use in this function)
sentinel.c: In function `smfTestMessage':
sentinel.c:3365: `SMFICTX' undeclared (first use in this function)
sentinel.c:3365: `ctx' undeclared (first use in this function)
sentinel.c:3366: syntax error before `int'
sentinel.c:3368: syntax error before `)'
sentinel.c:3370: `fd' undeclared (first use in this function)
sentinel.c:3373: `i' undeclared (first use in this function)
sentinel.c:3413: `SMFIS_CONTINUE' undeclared (first use in this function)
sentinel.c:3444: `len' undeclared (first use in this function)
sentinel.c: In function `main':
sentinel.c:3589: `smfilter' has an incomplete type
sentinel.c:3589: `MI_FAILURE' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/mail/sentinel.


Why are there so many errors? Does this:

sentinel.c:22: libmilter/mfapi.h: No such file or directory

have anything to do with it?  When I ran

stimpy# make search key="libmilter"

I didn't get any returns.

I'm searching my system fot the mfapi.h file and will see if there's a path
problem, but any help would be greatly appreciated.

Thanks,
Jeff.

---
Jeff D. Hamann
Hamann, Donald and Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
(office) 541-753-7333
(cell) 541-740-5988
jeff_hamann@hamanndonald.com
www.hamanndonald.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c356a3$8275c4c0$0600a8c0>