Menu

Does not install logios tools

Help
2016-01-12
2016-01-23
  • Toan Nguyen

    Toan Nguyen - 2016-01-12

    Dear cmusphinx team,

    I tried to install logios from SVN.

    https://sourceforge.net/p/cmusphinx/code/HEAD/tree/trunk/logios/

    But there is a bug. Please fix it

    Below is the log error

    Toans-MacBook-Pro:logios ToanNV$ make

    /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive

    Making all in Tools

    Making all in cfg2ngram

    Making all in src

    Making all in pcfgsrc

    g++ -DHAVE_CONFIG_H -I. -I../../../.. -I.. -DPCRE_STATIC -O2 -MT PCFG.o
    -MD -MP -MF .deps/PCFG.Tpo -c -o PCFG.o PCFG.cpp

    PCFG.cpp:16:10: fatal error: 'pcre.h' file not found

    include <pcre.h></pcre.h>

    • ^*

    1 error generated.

    make[5]: *** [PCFG.o] Error 1

    make[4]: *** [all-recursive] Error 1

    make[3]: *** [all-recursive] Error 1

    make[2]: *** [all-recursive] Error 1

    make[1]: *** [all-recursive] Error 1

    make: *** [all] Error 2

    Yours sincerely, Toan

     
  • Toan Nguyen

    Toan Nguyen - 2016-01-21

    Dear cmusphinx team,

    I already installed PCRE version 8.38 to and there is another error. I guess that it has to do with the version of PCRE. Below is the log error.
    Toans-MacBook-Pro:logios ToanNV$ make

    /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive

    Making all in Tools

    Making all in cfg2ngram

    Making all in src

    Making all in pcfgsrc

    g++ -DHAVE_CONFIG_H -I. -I../../../.. -I.. -DPCRE_STATIC -O2 -MT PCFG.o -MD -MP -MF .deps/PCFG.Tpo -c -o PCFG.o PCFG.cpp

    mv -f .deps/PCFG.Tpo .deps/PCFG.Po

    rm -f libPCFG.a

    ar cru libPCFG.a PCFG.o debug.o

    ranlib libPCFG.a

    make[5]: *** No rule to make target /usr/lib/libpcre.a', needed byphoenix2pcfg'. Stop.

    Could you please tell me which version of PCRE is best for logios tools?

    Yours sincerely, Toan

     
    • Nickolay V. Shmyrev

      I think any version should work

       

Log in to post a comment.