On Mon, May 9, 2011 at 8:40 AM, Steve Jenkins <stevejenkins_at_gmail.com> wrote:
> On Fedora 12 box did:
>
> ./configure --enable-stats
>
> Everything going fine until:
>
> checking for LIBMEMCACHED... no
> configure: WARNING: pkg-config for libmemcached not found, trying
> manual search...
> checking for libmemcached... configure: error: not found
>
> Exact same issue on a CentOS 5.6 box, too.
Just a guess:
yum install memcache-devel
LIBMEMCACHED_LIBS=/usr/lib64 LIBMEMCACHED_CFLAGS="/usr/include" ./configure
..which is what I had to do on Ubuntu and the paths seem the same from
my cursory inspection. It does this if I do all of:
make distclean
make dist-gzip
make clean
They all do a ./configure before it will do anything. But adding the
two env vars above gets it past
On Ubuntu, it's provided by:
[todd_at_tlyons ~/projects/opendkim (develop)]$ dpkg --listfiles libmemcache-dev
<snip>
/usr/include/memcache
/usr/include/memcache/_buffer.h
/usr/include/memcache/buffer.h
/usr/include/memcache.h
/usr/lib
/usr/lib/libmemcache.a
/usr/lib/libmemcache.la
/usr/lib/libmemcache.so
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.
--
Regards... Todd
"It is the nature of the human species to reject what is true but
unpleasant and to embrace what is obviously false but comforting."
"You might be a skeptic if you have pedantically argued the topic of pedantry."
Received on Mon May 09 2011 - 16:27:23 PST