Yahoo Groups archive

Milter-greylist

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

Thread

Unable to compile on Debian Lenny

Unable to compile on Debian Lenny

2010-09-22 by super_1337_2010

I have tried to compile the latest stable milter-greylist (milter-greylist-4.2.6) on a largely unmodified Lenny system (sendmail-8.14.3-5+lenny1). The configure stage bombs with the following:

checking if defines timeradd... yes
checking if -D_REENTRANT is needed to use localtime_r and strtok_r... no
checking if -D__EXTENSIONS__ is needed to use snprintf... no
checking for smfi_register in -lmilter... no
checking for smfi_register in -lmilter -lsm... no
checking for smfi_register in -lmilter -lsmutil... no
Required libmilter not found. Use --with-libmilter

I have libmilter and libmilter-dev installed, along with the usual prerequisites ie: flex, yacc, bison. Using `--with-libmilter=/usr/lib' doesn't help and I have tried numerous other configure options.

The full configure output and config.log can be found here: http://pastebin.com/gZp5AFKA

Can somebody enlighten me? I've managed to compile (much) earlier versions in the past.

Re: [milter-greylist] Unable to compile on Debian Lenny

2010-09-23 by manu@netbsd.org

super_1337_2010 <robert.spam.me.senseless@...> wrote:

> Required libmilter not found. Use --with-libmilter

Look at config.log for the exact error, there must be some linking issue
that is weakly reported on stdout.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: Unable to compile on Debian Lenny

2010-11-14 by super_1337_2010

>
> > Required libmilter not found. Use --with-libmilter
> 
> Look at config.log for the exact error, there must be some linking issue
> that is weakly reported on stdout.

I've put config.log here: http://pastebin.com/gZp5AFKA - would somebody like to have a look at it?

TIA.

Re: [milter-greylist] Re: Unable to compile on Debian Lenny

2010-11-15 by manu@netbsd.org

super_1337_2010 <robert.spam.me.senseless@...> wrote:

> I've put config.log here: http://pastebin.com/gZp5AFKA - would somebody
> like to have a look at it?

It says: "Unknown paste ID, it may have expired or been deleted!"

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Re: Unable to compile on Debian Lenny

2010-11-15 by John Wood

> > I've put config.log here: http://pastebin.com/gZp5AFKA - would somebody
> > like to have a look at it?
> 
> It says: "Unknown paste ID, it may have expired or been deleted!"

It worked for me. The problem is fairly clear on lines 3217/3218:

configure:6398: gcc -o conftest -g -O2 -Wall   conftest.c -lmilter 
-lsmutil   -lpthread -lresolv -lnsl >&5
/usr/bin/ld: cannot find -lmilter

* Make sure you have libmilter (shared) library as well as the headers 
installed

* Make sure it is in your library search path

Since this is Debian, it should show up in /usr/lib and be part of the 
default link path. 

John

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.