Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Compiling milter-greylist 4.3.4 with DKIM ?

2010-02-26 by Michael Mansour

Hi Emmanuel,

> Michael Mansour <mic@...> wrote:
> 
> > Any ideas what's wrong?
> 
> You need to look at config.log to see why the dkim_init test failed.
> Search for dkim_init, and you'll find a compliation attempts that 
> fails, with an error message.

I checked this but it didn't make much sense to me. What do you think?

configure:7173: checking for dkim_init in -ldkim -lsm -lcrypto
configure:7208: gcc -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Iyes/include -DUSE_GEOIP
-Iyes/include -Iyes/include   -Lyes/lib -Wl,--rpath=yes/lib -Lyes/lib
-Wl,--rpath=yes/lib -Lyes/lib -Wl,--rpath=yes/lib conftest.c -ldkim -lsm
-lcrypto  -lGeoIP  -lpthread -lspf2 >&5
/tmp/ccfEv56s.o: In function `main':
/usr/src/redhat/BUILD/milter-greylist-4.3.4/conftest.c:68: undefined reference
to `dkim_init'
collect2: ld returned 1 exit status
configure:7215: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "milter-greylist"
| #define PACKAGE_TARNAME "milter-greylist"
| #define PACKAGE_VERSION "4.3.4"
| #define PACKAGE_STRING "milter-greylist 4.3.4"
| #define PACKAGE_BUGREPORT "manu@..."
| #define YYTEXT_POINTER 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STRFTIME 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MALLOC 1
| #define HAVE_INET_NTOA 1
| #define HAVE_STRERROR 1
| #define HAVE_SELECT 1
| #define HAVE_SOCKET 1
| #define HAVE_INITGROUPS 1
| #define HAVE_VSYSLOG 1
| #define HAVE_SPF2 /**/
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dkim_init ();
| int
| main ()
| {
| return dkim_init ();
|   ;
|   return 0;
| }
configure:7236: result: no

I can email you the full config.log file if you can make sense of it?

Thanks.

Michael.

> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.