Menu

sphinx3 test failing

Help
2016-02-01
2016-06-29
  • Ruben Suarez

    Ruben Suarez - 2016-02-01

    Hello

    I'm trying to compile sphinx3 (to get sphing3_align binary in order to use force-alignment in sphinxtrain) latest version from repo (sphinxbase is latest SVN trunk too). Compilation success but when I type "make check" I get two failing tests:

    PASS: test-decode-simple.sh
    PASS: test-decode-raw.sh
    PASS: test-decode.sh
    PASS: test-decode-clm.sh
    PASS: test-decode-mllr.sh
    PASS: test-decode-s3cont.sh
    PASS: test-decode-mode1.sh
    PASS: test-decode-mode2.sh
    PASS: test-decode-s2semi.sh
    PASS: test-decode-lts.sh
    PASS: test-decode-mode3.sh
    PASS: test-decode-2ndstage.sh
    PASS: test-decode-mode1368.sh
    PASS: test-decode-mode1369.sh
    PASS: test-lm_convert-and-decode.sh
    PASS: test-dp.sh
    PASS: test-align.sh
    PASS: test-align-mllr.sh
    PASS: test-lattice-htk.sh
    FAIL: test-livepretend.sh
    FAIL: test-livepretend-clm.sh
    PASS: test-livepretend-mllr.sh
    PASS: test-livepretend-fsg.sh
    PASS: test-lm_convert.sh
    PASS: test-astar.sh
    PASS: test-astar-clm.sh
    PASS: test-dag.sh
    PASS: test-dag-clm.sh
    PASS: test-gausubvq.sh
    PASS: test-ep.sh
    PASS: test-conf.sh
    PASS: print-summary.sh

    Is this ok? Can I simply ignore (at least for using sphing3_align binary)? Or am I doing something wrong?

    Thanks!

     
    • Nickolay V. Shmyrev

      It is ok.

       
      • Ruben Suarez

        Ruben Suarez - 2016-02-01

        Ok, thank you.

        PS: Other thing to note is that, before download trunk version from repo, I tried with latest available releases (both for sphinxbase and sphinx3) and sphinx3 failed to compile with message:

        Making all in src
        make[1]: Entering directory `/home/ruben.suarez/sphinx/sphinx3/src'
        Making all in libs3decoder
        make[2]: Entering directory `/home/ruben.suarez/sphinx/sphinx3/src/libs3decoder'
        Making all in libam
        make[3]: Entering directory `/home/ruben.suarez/sphinx/sphinx3/src/libs3decoder/libam'
        /bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../.. -I../../../include -I../../../include     -g -O2 -Wall -fvisibility=hidden -MT adaptor.lo -MD -MP -MF .deps/adaptor.Tpo -c -o adaptor.lo adaptor.c
        libtool: compile:  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../.. -I../../../include -I../../../include -g -O2 -Wall -fvisibility=hidden -MT adaptor.lo -MD -MP -MF .deps/adaptor.Tpo -c adaptor.c  -fPIC -DPIC -o .libs/adaptor.o
        In file included from ../../../include/adaptor.h:95:0,
                         from adaptor.c:76:
        ../../../include/s3types.h:87:23: fatal error: prim_type.h: No such file or directory
         #include <prim_type.h>
                               ^
        compilation terminated.
        make[3]: *** [adaptor.lo] Error 1
        make[3]: Leaving directory `/home/ruben.suarez/sphinx/sphinx3/src/libs3decoder/libam'
        make[2]: *** [all-recursive] Error 1
        make[2]: Leaving directory `/home/ruben.suarez/sphinx/sphinx3/src/libs3decoder'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/ruben.suarez/sphinx/sphinx3/src'
        make: *** [all-recursive] Error 1
        
         

        Last edit: Ruben Suarez 2016-02-01
        • Nickolay V. Shmyrev

          This is also fine.

           
        • Arihant Jain

          Arihant Jain - 2016-06-28

          Hey!

          I am getting the same error when compiling sphinx3(-0.8) and sphinxbase(-0.8) with latest available releases and also with different versions(sphinx3-0.8 and sphinxbase-0.6).
          Please help me out.

          Thanks!

           
          • Nickolay V. Shmyrev

            You need to checkout sphinx3 from subversion.

             
            • Arihant Jain

              Arihant Jain - 2016-06-28

              Could you please provide me a link to it?

               
              • Nickolay V. Shmyrev

                Ask google

                 
  • Arihant Jain

    Arihant Jain - 2016-06-28

    Still getting the same error with message:

    Making all in src
    make[1]: Entering directory '/home/arihant/new_workspace/source/sphinx3/src'
    Making all in libs3decoder
    make[2]: Entering directory '/home/arihant/new_workspace/source/sphinx3/src/libs3decoder'
    Making all in libam
    make[3]: Entering directory '/home/arihant/new_workspace/source/sphinx3/src/libs3decoder/libam'
    /bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"sphinx3\" -DPACKAGE_TARNAME=\"sphinx3\" -DPACKAGE_VERSION=\"0.7\" -DPACKAGE_STRING=\"sphinx3\ 0.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_VISIBILITY=1 -I.   -I../sphinxbase/include -I../sphinxbase/include  -I../../.. -I../../../include -I../../../include  -g -O2 -Wall -fvisibility=hidden -MT adaptor.lo -MD -MP -MF .deps/adaptor.Tpo -c -o adaptor.lo adaptor.c
    libtool: compile:  gcc -DPACKAGE_NAME=\"sphinx3\" -DPACKAGE_TARNAME=\"sphinx3\" -DPACKAGE_VERSION=\"0.7\" "-DPACKAGE_STRING=\"sphinx3 0.7\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_VISIBILITY=1 -I. -I../sphinxbase/include -I../sphinxbase/include -I../../.. -I../../../include -I../../../include -g -O2 -Wall -fvisibility=hidden -MT adaptor.lo -MD -MP -MF .deps/adaptor.Tpo -c adaptor.c  -fPIC -DPIC -o .libs/adaptor.o
    In file included from ../../../include/adaptor.h:95:0,
                     from adaptor.c:76:
    ../../../include/s3types.h:87:34: fatal error: sphinxbase/prim_type.h: No such file or directory
    compilation terminated.
    Makefile:421: recipe for target 'adaptor.lo' failed
    make[3]: *** [adaptor.lo] Error 1
    make[3]: Leaving directory '/home/arihant/new_workspace/source/sphinx3/src/libs3decoder/libam'
    Makefile:476: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/arihant/new_workspace/source/sphinx3/src/libs3decoder'
    Makefile:361: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/arihant/new_workspace/source/sphinx3/src'
    Makefile:499: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    
     
    • Nickolay V. Shmyrev

      You need latest pocketsphinx,sphinxbase and sphinx3 from subversion and everything will work.

       
  • Arihant Jain

    Arihant Jain - 2016-06-29

    Yes, I downloaded latest version of sphinx3 and sphinxbase from subversion but still getting the same error.

     
    • Nickolay V. Shmyrev

      You need to remove old versions present in your system and compile and install everything from scratch, sphinxbase first, then sphinx3.

       
  • Arihant Jain

    Arihant Jain - 2016-06-29

    Still the same error. Is it due to different versions of sphinx3 and sphinxbase? As subversion includes sphinxbase-5prealpha and sphinx3-0.8.

     

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.