[milters] Archive

Lists Index Date Thread Search

Article: 664
From: Anthony Howe
Date: 2005-07-27 15:55:48 -0400
Subject: Re: problems building milter-ahead on debian woody

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Marcus Sobchak wrote:
> I've problems to build milter-ahead on debian woody. configuring and building 
> libsnert is running through without problems. libmilter-dev is version 
> 8.12.3-7.1. Here is the milter-ahead output:

I'd say is not libmilter-dev installed or that libsnert didn't detect it 
the first time.

	cd com/snert/src/lib
	make clean build
	cd ../milter-ahead
	make clean install

> :~/install/snert_ahead/com/snert/src/milter-ahead# make build
> gcc -DMILTER_BUILD=`cat BUILD_ID.TXT` -DMILTER_BUILD_STRING='"'`cat 
> BUILD_ID.TXT`'"' \
> -D_REENTRANT -g -I./../../include  -L./../../lib  -o milter-ahead 
> milter-ahead.c -lsnert -ldb-4.1 -lpam -lrt -lpthrea
> d

-lmilter does NOT appear in the above, which means libsnert did not see 
libmilter installed. Try again.

All the other errors relate to this.

> 
> LibSnert/1.49.743
> Copyright 1996, 2005 by Anthony Howe. All rights reserved.
> 
>   Platform..........: Linux gcc
>   pthread & mutex...: yes yes
>   Semaphore.........: SYSTEMV_API
>   Shared Memory.....: SYSTEMV_API
>   Time..............: POSIX_API
>   Berkeley DB.......: yes
>   libmilter.........: yes

Looks like it should be there..

>   CFLAGS............: -D_REENTRANT -g -I${top_srcdir}/../../include
>   LDFLAGS...........: -L${top_srcdir}/../../lib
>   LIBS..............: -ldb-4.1 -lpam -lrt -lpthread

...but -lmilter is missing from LIBS.

-- 
Anthony C Howe                                 +33 6 11 89 73 78
http://www.snert.com/       ICQ:
7116561         AIM: Sir Wumpus

Sendmail Anti-Spam Solutions           http://www.snertsoft.com/
                                             We Serve Your Server

Lists Index Date Thread Search