Problem with autogen syntax error
Hello i would like to use tts_commandline engine. When i execute the command sh ./autogen.sh, i havee these errors: root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# sh ./autogen.sh aclocal: warning: autoconf input should be named 'configure.ac', not ' configure.in' aclocal: error: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in `.'. libtoolize: linking file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' libtoolize: linking file `m4/ltversion.m4' libtoolize: linking file `m4/lt~obsolete.m4' configure.in:7: 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:11: error: possibly undefined macro: AC_PROG_LIBTOOL automake: warning: autoconf input should be named 'configure.ac', not ' configure.in' configure.in: error: 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) Makefile.am: installing './INSTALL' Makefile.am: error: required file './NEWS' not found Makefile.am: error: required file './README' not found Makefile.am: error: required file './AUTHORS' not found Makefile.am: error: required file './ChangeLog' not found Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses automake: warning: autoconf input should be named 'configure.ac', not ' configure.in' Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:5: The usual way to define 'LIBTOOL' is to add 'LT_INIT' Makefile.am:5: to 'configure.in' and run 'aclocal' and 'autoconf' again. Makefile.am:5: If 'LT_INIT' is in 'configure.in', make sure Makefile.am:5: its definition is in aclocal's search path. Makefile.am:6: warning: source file 'lib/picoacph.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Makefile.am:6: warning: source file 'lib/picoapi.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picobase.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picocep.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoctrl.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picodata.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picodbg.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoextapi.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picofftsg.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picokdbg.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picokdt.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picokfst.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoklex.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoknow.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picokpdf.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picokpr.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoktab.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picoos.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picopal.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picopam.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picopr.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picorsrc.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picosa.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picosig.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picosig2.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picospho.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picotok.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picotrns.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:6: warning: source file 'lib/picowa.c' is in a subdirectory, Makefile.am:6: but option 'subdir-objects' is disabled Makefile.am:83: warning: source file 'bin/pico2wave.c' is in a subdirectory, Makefile.am:83: but option 'subdir-objects' is disabled Makefile.am: installing './depcomp' /usr/share/automake-1.15/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.15/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC' /usr/share/automake-1.15/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again /usr/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.15/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests /usr/share/automake-1.15/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX, /usr/share/automake-1.15/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.15/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again Now run ./configure and then make. root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# ls AndroidManifest.xml autogen.sh configure COPYING INSTALL lib m4 res tests Android.mk bin configure.in depcomp lang ltmain.sh Makefile.am src tts root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# ./configure ./configure: line 1776: syntax error near unexpected token `1.9' ./configure: line 1776: `AM_INIT_AUTOMAKE(1.9 foreign)' root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# ls AndroidManifest.xml autogen.sh config.log configure.in depcomp lang ltmain.sh Makefile.am src tts Android.mk bin configure COPYING INSTALL lib m4 res tests root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# ./configure ./configure: line 1776: syntax error near unexpected token `1.9' ./configure: line 1776: `AM_INIT_AUTOMAKE(1.9 foreign)' root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# make && make install make: *** No targets specified and no makefile found. Stop. root@back-2:/usr/local/src/freeswitch/freeswitch-contrib/grmt/svox pico/svox/pico# Any help please? NDUWAYEZU Joselyne -- Haute École de Bruxelles
participants (1)
-
Nduwayezu, Joselyne