aseek-devel  

Re: [aseek-devel] compiling cvs source

Matt Sullivan
Thu, 06 Sep 2001 21:40:00 -0700

On Fri, 7 Sep 2001, Brian wrote:

> On Fri, Sep 07, 2001 at 03:26:57PM +1200, Matt Sullivan wrote:
> > On Fri, 7 Sep 2001, Brian wrote:
> > 
> > > Hi,
> > > 
> > > I just got the cvs source and tried to compile it, but got the following errors:
> > > 
> > > btherl@btherl:~/aspdev/aspseek$ ./cvsprep
> > > aclocal
> > > libtoolize --force --copy
> > > You should update your `aclocal.m4' by running aclocal.
> > > Putting files in AC_CONFIG_AUX_DIR, `misc'.
> > > autoheader
> > > autoheader2.50: No template for symbol `HAVE_GETHOSTBYNAME_R'
> > > autoheader2.50: No template for symbol `HAVE_ORACLE8'
> > > automake --add-missing --copy
> > > configure.in: 7: required file `include/aspseek-cfg.h.in' not found
> > > autoconf --localdir=misc

Above is the problem:

       --localdir=DIR

       -l DIR Look  for  the package file aclocal.m4 in directory
              DIR instead of in the current directory.

aclocal puts aclocal.m4 in . by default but autoconf --localdir=misc tells
autoconf to look for it in misc.

Kir?


Matt.

> > > configure.in:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
> > > configure.in:7: error: possibly undefined macro: AM_CONFIG_HEADER
> > > configure.in:22: error: possibly undefined macro: AM_SANITY_CHECK
> > > configure.in:32: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
> > > configure.in:33: error: possibly undefined macro: AM_DISABLE_STATIC
> > > configure.in:34: error: possibly undefined macro: AM_PROG_LIBTOOL
> > > configure.in:397: error: possibly undefined macro: AM_CONDITIONAL
> > > 
> > >  --==*** You need to run ./configure now ***==--
> > >                  Happy hacking, btherl!
> > > 
> > > btherl@btherl:~/aspdev/aspseek$
> > > 
> > > 
> > > Can you tell me what's wrong?  It's making aclocal.m4, but it's not making
> > > include/aspseek-cfg.h.in
> > 
> > Try the following small patch and re-run ./cvsprep.  Problem is with newer
> > autoconf/automake (you must be running Debian sid?).
> > 
> 
> Thanks, I've applied the patch.  I no longer get errors from autoheader and
> automake, but I still got the errors from autoconf.  I tried on a hunch
> 'cp aclocal.m4 misc'
> and then autoconf runs fine.  Seems it's not finding aclocal.m4 in the 
> current dir when it's been set to look in misc?
> 
> You're right, I'm running debian sid :)  Potato is too far out of date now..
> 
> Brian
>