On Thu, Oct 27, 2011 at 2:53 PM, Andreas Schulze <sca_at_andreasschulze.de> wrote:
> hi,
>
> configure fail if I --enable-reputation.
>
> os: debian lenny
> log: http://andreasschulze.de/tmp/dv-opendkim_2.5.0.beta0-2011102701_i386.build
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
machines.
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
-I/usr/include/libxml2
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.
Optional:
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
-I/usr/include/libxml2
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 HealthReceived on Fri Oct 28 2011 - 14:05:20 PST
This archive was generated by hypermail 2.2.0+W3C-0.50 : Fri Oct 28 2011 - 20:50:03 PST