Menu

Sphinx2 ---- > > sh autogen.sh info

Help
Anonymous
2003-04-24
2012-09-22
  • Anonymous

    Anonymous - 2003-04-24

    Hi,
    I am trying sh autogen.sh command after download and unzipping the file and I get this error. Can anybody help me find a solution for this.

    Reagrds,
    zia

    $ sh autogen.sh
    **Warning**: I am going to run `configure' with no arguments.
    If you wish to pass any to it, please specify them on the
    `autogen.sh' command line.

    processing .
    Running libtoolize...
    Running aclocal  ...
    Running autoheader...
    Running automake --gnu  ...
    src/examples/Makefile.am:46: EXTRA_DIST multiply defined in condition TRUE ...
    src/examples/Makefile.am:16: ... `EXTRA_DIST' previously defined here.
    src/libsphinx2/Makefile.am:84: `CPPFLAGS' is a user variable, you should not ove
    rride it;
    src/libsphinx2/Makefile.am:84: use `AM_CPPFLAGS' instead.
    src/libsphinx2ad/Makefile.am:27: libsphinx2ad_la_LDFLAGS multiply defined in con
    dition TRUE ...
    src/libsphinx2ad/Makefile.am:5: ... `libsphinx2ad_la_LDFLAGS' previously defined
    here.
    Running autoconf ...
    configure.in:89: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section
    `AC_LIBOBJ vs LIBOBJS'
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    Running ./configure ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /home/Administrator/default/sphinx2-0.4/missing: Unknown `--run' option
    Try `/home/Administrator/default/sphinx2-0.4/missing --help' for more informatio
    n
    configure: WARNING: `missing' script is too old or missing
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output... a.exe
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... .exe
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for strerror in -lcposix... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc option to accept ANSI C... none needed
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking return type of signal handlers... void
    checking build system type... i686-pc-cygwin
    checking host system type... i686-pc-cygwin
    ./configure: line 4421: syntax error near unexpected token `done'
    ./configure: line 4421: `done'

     
    • Scott Silliman

      Scott Silliman - 2003-05-01

      I had the same exact problem in the thread "Sphinx2 doesn't compile on RH8.0 either" (or something like that).  I didn't post my patch though since no one else responded that they had the same problem and I didn't want to give people bad advice.  Here's the patch I made (I peeked at the configure fix for sphinx3 on RH8 and made a small subset of the changes)

      This is the first time I created a patch, so I don't know if this will work, It appears that my cut and paste job wrapped a little. You could just comment out or delete the lines which start with a "-". 

      -Scott

      --- sphinx2/configure.in        Thu Dec 13 16:17:01 2001
      +++ patch/configure.in  Thu May  1 10:50:23 2003
      @@ -28,11 +28,6 @@
      ad_files=""
      ad_libs=""

      -AC_ARG_WITH(alsa, [use ALSA library for sound I/O],
      -           AC_CHECK_HEADER(sys/asoundlib.h,
      -               [ad_libs="-lasound"; ad_files="ad_alsa.lo";
      -                ad_backend="AD_BACKEND_ALSA"],
      -               AC_ERROR(ALSA header file <sys/asoundlib.h> not found!)))

      if test "x$ad_files" = "x"; then
              case $host in

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.