Re: Building with DB on CentOS/RHEL

From: Scott Kitterman <ietf-dkim_at_kitterman.com>
Date: Fri, 17 May 2013 02:40:15 -0400

On Thursday, May 16, 2013 10:07:11 PM Steve Jenkins wrote:
> On Thu, May 16, 2013 at 9:57 PM, Scott Kitterman <ietf-
dkim_at_kitterman.com>wrote:
> > On Thursday, May 16, 2013 09:43:18 PM Steve Jenkins wrote:
> > > On Thu, May 16, 2013 at 7:19 PM, Murray S. Kucherawy
> >
> > <msk_at_blackops.org>wrote:
> > > > On Thu, 16 May 2013, Steve Jenkins wrote:
> > > >> # grep memcached_return_t /usr/include/libmemcached/*
> > > >>
> > > >> There's a memcached_constants.h, but memcached_return_t is nowhere to
> >
> > be
> >
> > > >> found in it:
> > > > Ah, then probably we have a libmemcached versioning problem. The
> > > > build
> > > > I've been using is 0.48 but it looks like the one you're using is a
> >
> > fair
> >
> > > > bit older. Perhaps I need to version-limit the check in configure.ac.
> > > > I'll propose a patch later today.
> > >
> > > The default (EPEL) repos have libmemcached-0.31-1.1 as the version
> > > available for both EL5 and EL6, so that's what it would have to
> > > successfully build with.
> >
> > I just spent some time trolling back through the VCS history. 0.36
> > (released
> > January 2010) is the first version to have memcached_return_t. Before
> > that it
> > was called memcached_return. Other than the name change, the typedef is
> > unchanged, so I wonder if changing memcached_return_t to memcached_return
> > would be enough to get it to build with the older version. The commit
> > message
> > for the commit that changed it is "Style cleanup".
> >
> > In any case, I think 0.36 ought to be the minimum supported version in the
> > configure check
>
> Thx, Scott. So does that mean I could potentially apply a patch on the EL
> package build, and it could still build with memcached support? Or does
> OpenDKIM actually require 0.36 in order to work properly?

Maybe (re a patch). Without a patch it definitely needs 0.36. With a patch,
you'd have to try it.

Scott K
Received on Fri May 17 2013 - 06:40:31 PST

This archive was generated by hypermail 2.3.0 : Fri May 17 2013 - 06:45:02 PST