Menu

Sphinx3 instalation fail

Help
2011-05-20
2012-09-22
  • Rafael Oliveira

    Rafael Oliveira - 2011-05-20

    Hi,

    I am trying to install sphinx3 but i got this error:

    undefined reference to `bio_read_wavfile'

    I already have compiled the sphinxbase and it is in the same directory as
    sphinx3, just the way the documentation suggests.

    Both sphinx3 and sphinxbase version is 0.7.

    Thanks

     
  • Nickolay V. Shmyrev

    Sphinx3 snapshot requires sphinxbase snapshot. You need to compile latest
    sphinxbase from subversion. Please see

    http://cmusphinx.sourceforge.net/wiki/download for details

     
  • Anurag Jain

    Anurag Jain - 2011-06-09

    hi nsh,
    I am also having the same problem.
    I have downloaded the latest versions of sphinx3 and sphinxbase snapshots but
    still can't figure out how to solve this.
    Please help me in this
    Waiting for your reply

     
  • Pranav Jawale

    Pranav Jawale - 2011-06-09

    Make sure that installation directory is DIFFERENT from where you extracted
    the source. For this, you have to do

    $ ./autogen.sh - -prefix=/path/to/sphinxbase/installation/directory
    

    Then similarly install sphinx3, here you have to specify BOTH the installation
    directory and path to sphinxbase source directory (and not installation
    directory).

    - -prefix=/path/to/sphinx3/installation/directory --with-sphinxbase /path/to/sphinxbase/source/directory
    
     
  • Pranav Jawale

    Pranav Jawale - 2011-06-09

    typo! there should not be space between two dashes before prefix and = is
    missing after --with-sphinxbase

     
  • Anurag Jain

    Anurag Jain - 2011-06-10

    Thanks a lot pranav. I didn,t know that source and installation directory has
    to be different, It installed finally.
    Just a small concern, when I run "make check" it said 2 of 32 tests failed

    GAUSUBVQ test PASSED
    All sub-tests passed
    PASS: test-gausubvq.sh
    EP TEST
    EP test PASSED
    All sub-tests passed
    PASS: test-ep.sh
    DECODE -> CONFIDENCE TEST
    =============
    DECODE -> CONF test FAILED
    =============
    Sub-tests failed: DECODE -> CONF test
    FAIL: test-conf.sh
    The failed tests are:
    ,MODE1 LOOP match test
    ,DECODE -> CONF test
    ,MODE1 LOOP match test
    ,DECODE -> CONF test
    ,MODE1 LOOP match test
    ,DECODE -> CONF test
    PASS: print-summary.sh
    ====================
    2 of 32 tests failed
    ====================
    make: *** Error 1
    make: Leaving directory
    /home/anurag/Documents/sphinx/sphinx3/src/tests/regression' make: *** Error 2 make: Leaving directory/home/anurag/Documents/sphinx/sphinx3/src/tests/regression'
    make: *** Error 1
    make: Leaving directory /home/anurag/Documents/sphinx/sphinx3/src/tests' make: *** Error 1 make: Leaving directory/home/anurag/Documents/sphinx/sphinx3/src'
    make: *** Error 1

    Can I ignore this or I have to do something else?

     
  • Nickolay V. Shmyrev

    Those are non-critical tests. You can check sphinx3 from snapshot right now
    and they will be fixed

     
  • Anurag Jain

    Anurag Jain - 2011-06-10

    Thanks for your reply
    I will check the snapshot.

     

Log in to post a comment.