Yahoo Groups archive

Milter-greylist

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

Thread

Compiling with GeoIP

Compiling with GeoIP

2010-02-02 by Michael Mansour

Hi,

I want to be able to do this:

http://milter-greylist.wikidot.com/geoip

I'm using EL5 (a Red Hat 5 derivative) and when I try to compile (from spec)
it comes back with:

checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... no
checking for pthread_create in -lpthreads -lpthread... no
Required libpthread not found. Use --with-libpthread
error: Bad exit status from /var/tmp/rpm-tmp.55653 (%build)

Any ideas what packages I need to install to make milter-greylist compile with
GeoIP support?

Thanks.

Michael.

Re: [milter-greylist] Compiling with GeoIP

2010-02-02 by Michael Mansour

Hi,

Ignore the below, I just solved it by installing:

geoip
geoip-devel 

from RPMforge. The geoip-devel supplied the requires library to allow compilation.

Now to the setup phase :)

Michael.
Show quoted textHide quoted text
> Hi,
> 
> I want to be able to do this:
> 
> http://milter-greylist.wikidot.com/geoip
> 
> I'm using EL5 (a Red Hat 5 derivative) and when I try to compile 
> (from spec) it comes back with:
> 
> checking for pthread_create in -lpthread... no
> checking for pthread_create in -lc_r... no
> checking for pthread_create in -lpthreads -lpthread... no
> Required libpthread not found. Use --with-libpthread
> error: Bad exit status from /var/tmp/rpm-tmp.55653 (%build)
> 
> Any ideas what packages I need to install to make milter-greylist 
> compile with GeoIP support?
> 
> Thanks.
> 
> Michael.
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>

Re: Compiling with GeoIP

2010-02-02 by chasd

> Ignore the below, I just solved it by installing:
>
> geoip
> geoip-devel
>
> from RPMforge. The geoip-devel supplied the requires library to  
> allow compilation.


There are milter-greylist RPMs you could rebuild for EL5 :

<http://rpmfind.net/linux/rpm2html/search.php?query=milter-greylist>

Most Fedora RPMs can be rebuilt with small effort if there are no  
EPEL RPMs.

<http://fedoraproject.org/wiki/EPEL>

Install the rpmdevtools package

<http://download.fedora.redhat.com/pub/epel/5/i386/repoview/ 
rpmdevtools.html>
( there is a x86_64 set of packages too )

If you try to build a SRPM, it should bark at you about installing  
the needed packages, and that takes care of issues like this.

I think building from SRPMs is easier than building from tarballs.  
especially long-term considering upgrades and updates.


-- 
Charles Dostale
System Admin - Silver Oaks Communications
http://www.silveroaks.com/
824 17th Street, Moline  IL  61265

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.