Re: 2.5.0.beta0: --enable-reputation fail

From: Todd Lyons <>
Date: Fri, 28 Oct 2011 07:05:10 -0700

On Thu, Oct 27, 2011 at 2:53 PM, Andreas Schulze <> wrote:
> hi,
> configure fail if I --enable-reputation.
> os: debian lenny
> log:

os: CentOS 4.9

When first enabling it, I got:
configure: error: reputation requires curl

Installed the curl development libs and then:
configure: error: reputation requires libxml2

Installed libxml2 development libs and then the same error. The
problem is that the path for libxml2 is different on CentOS/RH
pkgconfig: /usr/lib64/pkgconfig/libxml-2.0.pc (not libxml2 but libxml-2.0)
...and it shows us this:
CentOS49[root_at_smtp4 opendkim-2.5.0]# pkg-config libxml-2.0 --cflags
CentOS49[root_at_smtp4 opendkim-2.5.0]# pkg-config libxml-2.0 --libs
-lxml2 -lpthread -lz -lm

Note that the include path becomes /usr/include/libxml2/libxml/*.
Ugly, but if you can make pkg-config be found, it will work.

Both curl and libxml2 provide their own config programs, so you could
detect and use them if you like:
CentOS49[root_at_smtp4 opendkim-2.5.0]# xml2-config --cflags
CentOS49[root_at_smtp4 opendkim-2.5.0]# xml2-config --libs
-lxml2 -lz -lpthread -lm
CentOS49[root_at_smtp4 opendkim-2.5.0]# curl-config --cflags

CentOS49[root_at_smtp4 opendkim-2.5.0]# curl-config --libs
-L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lssl
-lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -ldl -lz
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/kerberos/lib
-L/usr/kerberos/lib64 -lidn -lssl -lcrypto -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -ldl -lz -lz

Regards... Todd
If Americans could eliminate sugary beverages, potatoes, white bread,
pasta, white rice and sugary snacks, we would wipe out almost all the
problems we have with weight and diabetes and other metabolic
diseases. -- Dr. Walter Willett, Harvard School of Public Health
Received on Fri Oct 28 2011 - 14:05:20 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:12 PST