RE: 2.4.0 Beta0 problem building on RedHat
> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Todd Lyons
> Sent: Monday, May 09, 2011 9:27 AM
> To: Steve Jenkins
> Cc: opendkim-dev_at_lists.opendkim.org
> Subject: Re: 2.4.0 Beta0 problem building on RedHat
>
> On CentOS, the package providing this is:
> CentOS49[root_at_smtp4 ~]# rpm -qs libmemcache-devel
> normal /usr/include/memcache
> normal /usr/include/memcache.h
> normal /usr/include/memcache/_buffer.h
> normal /usr/include/memcache/buffer.h
> normal /usr/lib64/libmemcache.so
>
> Murray, it appears you have to also look for memcache.h in addition to
> libmemcached/memcache.h and as long as autoconf knows to look in
> /usr/lib/ or /usr/lib64/, it should be cool.
Something's amiss here. If you look at the source and examples in libmemcached's source tarball, it seems to expect that its includes live in a subdirectory called libmemcached. So that's what I did in opendkim/opendkim-db.c:
#include <libmemcached/memcache.h>
The pkg-config info installed from the FreeBSD port seems to concur, since it installs files in /usr/local/include/libmemcached/ but tells me to add "-I/usr/local/include" to the build.
But what you're telling me is the RPM for Ubuntu and CentOS seems to disagree. So I'm not sure how to go about fixing this.
Received on Mon May 09 2011 - 18:18:14 PST
This archive was generated by hypermail 2.3.0
: Mon Oct 29 2012 - 23:33:10 PST