Menu

sphinx3 doesn't compile correctly

Help
2003-02-14
2012-09-22
  • Cyrus Adkisson

    Cyrus Adkisson - 2003-02-14

    I can't get sphinx3 to compile correctly, whether it's from the CVS repository or a major release. I've read the installation instructions and tried to follow them, but something is still going very wrong. Configure seems to work fine, but when I type "make" immediately after configure does its thing, I get

    [root@localhost sphinx3]# make
    cd . && /bin/sh /home/cyrus/sphinx3/missing --run aclocal
    cd . && \   /bin/sh /home/cyrus/sphinx3/missing --run automake --gnu  Makefile
    cd . && /bin/sh /home/cyrus/sphinx3/missing --run autoconf
    configure.in:112: 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.
    WARNING: `autoconf' is missing on your system.  You should only need it if
             you modified `configure.in'.  You might want to install the
             `Autoconf' and `GNU m4' packages.  Grab them from any GNU
             archive site.
    /bin/sh ./config.status --recheck
    running /bin/sh ./configure  --no-create --no-recursion
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    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.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    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-linux-gnu
    checking host system type... i686-pc-linux-gnu
    ./configure: line 4359: syntax error near unexpected token `done'
    ./configure: line 4359: `done'
    make: *** [config.status] Error 2

    I have autoconf and have even tried creating a new aclocal.m4 and autoconf-ing for a new configure script, but I get an error message along the lines of:

    configure.in:112: 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.

    Does anyone know what this means? HOW do I use m4_pattern_allow? In which file? Any helpl would be greatly appreciated.

     
    • Cyrus Adkisson

      Cyrus Adkisson - 2003-02-20

      If this sounds like the problem you are having, then see the thread entitled "Anyone use sphinx3 and nforce with redhat 8.0" for the solution.

       

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.