Menu

failed when run cmd "make" i...

Help
2010-12-17
2012-09-22
  • daniel chen

    daniel chen - 2010-12-17

    I download sphinxbase-0.6.1 and pocketsphinx-0.6.1 from
    http://cmusphinx.sourceforge.net/wiki/download/
    (the latest available releases)

    I compile them with VS2008 in windows, it compile passed and run ok, but the
    ASR result is seldom right.
    so I make test in linux OS, but failed when run cmd "make" for sphinxbase.
    so i can not conitnue to compile pocketsphinx.

    test environment :
    VMWare + linux ( redhat 4 )

    and i also make test in cygwin , it failed too,the info is the same.

    my test steps and the test info :

    cd sphinxbase

    ./autogen.sh

    ./configure

    make

    then failed, the error log :

    make

    Making all in src
    make: Entering directory /mnt/hgfs/share_for_linux/sphinxbase/src' Making all in libsphinxbase make: Entering directory/mnt/hgfs/share_for_linux/sphinxbase/src/libsphinxbase'
    Making all in util
    make: Entering directory
    /mnt/hgfs/share_for_linux/sphinxbase/src/libsphinxbase/util' if /bin/sh ../../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -g -O2 -Wall -MT bitvec.lo -MD -MP -MF ".deps/bitvec.Tpo" -c -o bitvec.lo bitvec.c; \ then mv -f ".deps/bitvec.Tpo" ".deps/bitvec.Plo"; else rm -f ".deps/bitvec.Tpo"; exit 1; fi ../../../libtool: line 646: X--mode=compile: command not found ../../../libtool: line 646: X--tag=CC: command not found ../../../libtool: line 679: libtool: ignoring unknown tag : command not found ../../../libtool: line 796: *** Warning: inferring the mode of operation is deprecated.: command not found ../../../libtool: line 797: *** Future versions of Libtool will require -mode=MODE be specified.: command not found ../../../libtool: line 940: Xgcc: command not found ../../../libtool: line 940: X-DHAVE_CONFIG_H: command not found ../../../libtool: line 940: X-I.: command not found ../../../libtool: line 940: X-I.: command not found ../../../libtool: line 940: X-I../../../include: No such file or directory ../../../libtool: line 940: X-I../../../include: No such file or directory ../../../libtool: line 940: X-I../../../include: No such file or directory ../../../libtool: line 940: X-I../../../include: No such file or directory ../../../libtool: line 940: X-g: command not found ../../../libtool: line 940: X-O2: command not found ../../../libtool: line 940: X-Wall: command not found ../../../libtool: line 940: X-MT: command not found ../../../libtool: line 940: Xbitvec.lo: command not found ../../../libtool: line 940: X-MD: command not found ../../../libtool: line 940: X-MP: command not found ../../../libtool: line 940: X-MF: command not found ../../../libtool: line 940: X.deps/bitvec.Tpo: No such file or directory ../../../libtool: line 940: X-c: command not found ../../../libtool: line 988: Xbitvec.lo: command not found ../../../libtool: line 993: libtool: compile: cannot determine name of library object from': command not found
    make: *** 错误 1
    make: Leaving directory
    /mnt/hgfs/share_for_linux/sphinxbase/src/libsphinxbase/util' make: *** 错误 1 make: Leaving directory/mnt/hgfs/share_for_linux/sphinxbase/src/libsphinxbase'
    make: *** 错误 1
    make: Leaving directory `/mnt/hgfs/share_for_linux/sphinxbase/src'
    make: *** 错误 1

    1. does any one make test in windows , what is the situation?
    2. does the source files i download are wrong?

    thanks for yours help!

     
  • Nickolay V. Shmyrev

    I compile them with VS2008 in windows, it compile passed and run ok, but the
    ASR result is seldom right.

    Again, you need to understand that ASR can't be 100% accurate. I suggest you
    to read the whole tutorial

    http://cmusphinx.sourceforge.net/wiki/tutorial

     
  • daniel chen

    daniel chen - 2010-12-21

    i download the libtool-2.4 and install in linux, it still have the error?
    Do i short of some install packages?

     
  • Nickolay V. Shmyrev

    i download the libtool-2.4 and install in linux[/quote

    There was no need to do that

    it still have the error?

    Yes, the fix is different, you need to run libtoolize as google suggests you
    in the link in above reply

    Do i short of some install packages?

    No

     

Log in to post a comment.