Le 14 décembre 2010 09:04, Jean-Michel Pouré - GOOZE
<[email protected]> a écrit :
> Dear Friends,
>
> We are trying to compile libccid from SVN without success:
> Bootstrat is okay:
> sh bootstrap
> + aclocal -I m4
> acinclude.m4:7387: the serial number must appear before any macro
> definition
> acinclude.m4:7755: the serial number must appear before any macro
> definition
> acinclude.m4:7880: the serial number must appear before any macro
> definition
> acinclude.m4:7901: the serial number must appear before any macro
> definition
> aclocal: aclocal: file `m4/as-ac-expand.m4' does not exist
> + libtoolize --copy --force --automake
> + autoheader --force
> autoheader: error: AC_CONFIG_HEADERS not found in configure.in
> + autoconf --force
> configure.in:12: 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:21: error: possibly undefined macro: AM_CONFIG_HEADER
> configure.in:24: error: possibly undefined macro: AM_MAINTAINER_MODE
> configure.in:28: error: possibly undefined macro: AM_PROG_CC_C_O
> configure.in:33: error: possibly undefined macro: AM_PROG_LEX
> configure.in:42: error: possibly undefined macro: AC_MSG_ERROR
> configure.in:44: error: possibly undefined macro: AC_MSG_WARN
> configure.in:60: error: possibly undefined macro: AM_PROG_LIBTOOL
> configure.in:117: error: possibly undefined macro: AC_CHECK_PROG
> configure.in:148: error: possibly undefined macro: AM_CONDITIONAL
> configure.in:158: error: possibly undefined macro: AC_DEFINE
> configure.in:269: error: possibly undefined macro: AS_AC_EXPAND
> + automake --add-missing --copy --force --foreign
> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes
> AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using
> aclocal).
> configure.in:18: installing `./config.guess'
> configure.in:18: installing `./config.sub'
> contrib/Kobil_mIDentity_switch/Makefile.am: installing `./depcomp'
> /usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am:   The usual way to define
> `am__fastdepCC' is to add `AC_PROG_CC'
> /usr/share/automake-1.11/am/depend2.am:   to `configure.in' and run
> `aclocal' and `autoconf' again.
> /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in
> AM_CONDITIONAL
> /usr/share/automake-1.11/am/depend2.am:   The usual way to define
> `AMDEP' is to add one of the compiler tests
> /usr/share/automake-1.11/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX,
> AC_PROG_CXX, AC_PROG_OBJC,
> /usr/share/automake-1.11/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ,
> AM_PROG_UPC
> /usr/share/automake-1.11/am/depend2.am:   to `configure.in' and run
> `aclocal' and `autoconf' again.
> contrib/Makefile.am:1: WITH_LIBUSB does not appear in AM_CONDITIONAL
> src/Makefile.am:11: WITH_LIBUSB does not appear in AM_CONDITIONAL
> src/Makefile.am:16: WITH_TWIN_SERIAL does not appear in AM_CONDITIONAL
> src/Makefile.am:51: WITHOUT_PCSC does not appear in AM_CONDITIONAL
> src/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
> src/Makefile.am:9:   The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/Makefile.am:9:   to `configure.in' and run `aclocal' and `autoconf'
> again.
> src/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.in', make
> sure
> src/Makefile.am:9:   its definition is in aclocal's search path.
> src/Makefile.am: Lex source seen but `LEX' is undefined
> src/Makefile.am:   The usual way to define `LEX' is to add `AM_PROG_LEX'
> src/Makefile.am:   to `configure.in' and run `aclocal' and `autoconf'
> again.

You really think bootstrap is OK with so many errors?

I guess you have files in ccid/m4/ pointing to nowhere.

> But ./configure fails:
> ./configure --prefix=/usr
> ./configure: line 2196: syntax error near unexpected token `1.8'
> ./configure: line 2196: `AM_INIT_AUTOMAKE(1.8 dist-bzip2 no-dist-gzip)'

Not surprising.

Bye

-- 
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to