[PATCH] memcached on FreeBSD...

Sean Chittenden sean@chittenden.org
Thu, 21 Aug 2003 14:24:39 -0700


> > I couldn't get CVS to build though.  What version of autofuck are you
> > guys depending on?  I couldn't get it to build with 213, 253, or 257
> > (need to copy in install.sh or install-sh too, btw).
> > 
> > % autoconf257
> > configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
> >       If this token and others are legitimate, please use m4_pattern_allow.
> >       See the Autoconf documentation.
> > configure.ac:6: error: possibly undefined macro: AM_CONFIG_HEADER
> 
> What version of automake are you using?

What version do you want me to try using?  I've got 1.4.5, 1.5, and
1.7.5, none seemed successful.

> Are you using the same version of aclocal?

Yup.

> Also, could you give the output of aclocal --print-ac-dir?

Depending on the version of aclocal:

/usr/local/share/aclocal
/usr/local/share/aclocal14
/usr/local/share/aclocal17

> I hate auto* as much as the next person, but I think I'm the one who
> gets to try to make it work.  :)

Doh!  I don't know if you've looked around at all, but pmk looks
promising and vastly less hellish.

http://premk.sourceforge.net/

> > % cp /usr/src/crypto/openssl/util/install.sh .
> > % ./configure --with-libevent=/usr/local/lib --prefix=/usr/local
> > configure: error: cannot run /usr/local/bin/bash ./config.sub
> 
> Try "automake --add-missing".  I suppose that's not in the autogen
> script, but it ought to be.

Duh, thanks, that helps some, but now I'm getting a syntax error in
configure:

% ./configure --with-libevent=/usr/local/lib --prefix=/usr/local
checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking target system type... i386-unknown-freebsd5.1
./configure: line 1318: syntax error near unexpected token `memcached,'
./configure: line 1318: `AM_INIT_AUTOMAKE(memcached, 1.1.9-snapshot)'

or with autoconf257:

checking build system type... i386-unknown-freebsd5.1
checking host system type... i386-unknown-freebsd5.1
checking target system type... i386-unknown-freebsd5.1
./configure: line 1393: syntax error near unexpected token `memcached,'
./configure: line 1393: `AM_INIT_AUTOMAKE(memcached, 1.1.9-snapshot)'

autoconf can't find the macro AM_INIT_AUTOMAKE.  :-/

configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

-sc

-- 
Sean Chittenden