classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems when running autoconf


From: Michael Koch
Subject: Re: Problems when running autoconf
Date: Fri, 5 Sep 2003 07:09:00 +0200
User-agent: KMail/1.5.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 4. September 2003 19:17 schrieb Markus Niemistö:
> Hi
>
> I just checked out the latest code from CVS. When I try to run
> autoconf it complains about errors and does not produce a working
> configure script. I am using FreeBSD as my os.
>
> log:
>
> address@hidden:~/programming> cvs -z9
> -d:pserver:address@hidden:/cvsroot/classpath co
> classpath .
> .
> .
> address@hidden:~/programming> cd classpath/
> address@hidden:~/programming/classpath> autoconf
> configure.in:115: warning: AC_CANONICAL_HOST invoked multiple times
> configure.in:116: warning: AC_CANONICAL_HOST invoked multiple times
> configure.in:17: error: possibly undefined macro: AM_INIT_AUTOMAKE
>       If this token and others are legitimate, please use
> m4_pattern_allow.      See the Autoconf documentation.
> configure.in:19: error: possibly undefined macro: AM_CONFIG_HEADER
> configure.in:65: error: possibly undefined macro: AM_CONDITIONAL
> configure.in:88: error: possibly undefined macro: AC_DISABLE_STATIC
> configure.in:89: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure.in:140: error: possibly undefined macro: AM_PATH_LIBART
> configure.in:178: error: possibly undefined macro:
> AM_MAINTAINER_MODE address@hidden:~/programming/classpath> ./configure
> --prefix=/usr/own checking build system type...
> i386-unknown-freebsd5.1
> checking host system type... i386-unknown-freebsd5.1
> checking target system type... i386-unknown-freebsd5.1
> expr: syntax error
> /configure: line 1402: AM_INIT_AUTOMAKE: command not found
> /configure: line 1404: syntax error near unexpected token
> `include/config.h'./configure: line 1404:
> `AM_CONFIG_HEADER(include/config.h)'
> address@hidden:~/programming/classpath> autoconf --version
> autoconf (GNU Autoconf) 2.57
> Written by David J. MacKenzie and Akim Demaille.
>
> Copyright 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. 
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> address@hidden:~/programming/classpath> automake --version
> automake (GNU automake) 1.7.6
> Written by Tom Tromey <address@hidden>.
>
> Copyright 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. 
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> address@hidden:~/programming/classpath> uname -a
> FreeBSD ogorod.dielocalwarez.com 5.1-CURRENT FreeBSD 5.1-CURRENT
> #83: Thu Sep  4 07:04:22 EEST 2003
> address@hidden:/usr/src/sys/i386/compile/-=DLW=- 
> i386 address@hidden:~/programming/classpath>
>
> Other configure.in:s I've tried work. Any ideas?
>
> I am not on this list so, please, answer me directly.

You have to do more then just "autoconf". The following commands in 
this order should work:

aclocal
autoheader
autoconf
automake


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/WBpvWSOgCCdjSDsRAii5AKCN1nihTft/nXXmWqqSlMPURXaoSgCfaAoZ
sm7kbK6jtiEtzA4QlsAj3yo=
=JXDm
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]