l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Oct 23 14:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] using autoconf (errors)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] using autoconf (errors)

hi dave,

ok, i'm now writing this knowing a bit more about autoconf than i did

do you mean that i should do something like:

   aclocal && autoheader && autoconf

the docs say that aclocal should output a file named something like
aclocal.m4 (or something like that) which is used with configure.in and
autoconf to generate a configure script.

however, aclocal isn't producing any files or output.

also, the types of errors that autoconf is generating are stranger to me
today than they were yesterday.  something like AC_CONFIG_SRCDIR should
be in *every* configure.in file.  i can't imagine this macro function
being undefined.

can you spoonfeed me about what i need to be doing with aclocal?


begin Dave Peticolas <dave@krondo.com> 
> On Tue, 2002-10-22 at 10:36, Peter Jay Salzman wrote:
> > i'm trying to learn autoconf by following mark galassi's tutorial.
> > the source code i'm working with already has a vanilla makefile.
> > 
> > here's my first stab (from top level):
> > 
> > p@satan% cp Makefile Makefile.orig
> > p@satan% mv Makefile Makefile.in
> > p@satan% autoscan
> > p@satan% mv configure.scan configure.in   
> > p@satan% autoheader
> > p@satan% autoconf
> > autoconf: Undefined macros:
> > configure.in:22:AC_FUNC_ERROR_AT_LINE
> > configure.in:23:AC_FUNC_MALLOC
> > configure.in:27:AC_CONFIG_FILES([Makefile])
> > configure.in:3:AC_CONFIG_SRCDIR([xpose.c])
> > p@satan% ./configure
> > configure: error: can not find sources in . or ..
> It looks like you might be missing a call to aclocal.
> > as usual, the configure script is a big fat mess and difficult to
> > follow.
> It's almost impossible to read those, I wouldn't bother.
> > i fully realize i gave practically no information.  sending a tarball to
> > the list is a huge no-no, but i'm hoping that some autoconf guru will
> > have some tips to help me out with these error messages.
> > 
> > related question:
> > 
> > i have no desire to read 50+ pages of autoconf info pages.  i've done a
> > websearch for a "quick and dirty introduction", but other than galassi's
> > tutorial, couldn't find much.   anyone know of a pragmatic intro to
> > autoconf?
> I don't know about on-line introductions, but the book
> "GNU Autoconf, Automake, and Libtool" is a great source
> of information.
> Automake is pretty much a breeze to use once you figure
> it out. The other two ... well ... automake is a breeze
> to use :)
> dave

Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.