Skip to content

For STT engine Pocketsphinx "openfst 1.3.4" Error Problem  #88

Description

@alamin1496

I have a problem to installation "Openfst 1.3.4"
i am looking for internet but not find out...
i use this command...
cd openfst-1.3.4/
sudo ./configure --enable-compact-fsts --enable-const-fsts --enable-far --enable-lookahead-fsts --enable-pdt
sudo make install
cd ..

but it,s Error ...the error show...

make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/openfst-1.3.4/src/lib'
make[2]: Leaving directory '/home/pi/openfst-1.3.4/src/lib'
Making install in script
make[2]: Entering directory '/home/pi/openfst-1.3.4/src/script'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -g -O2 -MT text-io.lo -MD -MP -MF .deps/text-io.Tpo -c -o text-io.lo text-io.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -g -O2 -MT text-io.lo -MD -MP -MF .deps/text-io.Tpo -c text-io.cc -fPIC -DPIC -o .libs/text-io.o
text-io.cc: In function 'bool fst::script::WritePotentials(const string&, const std::vectorfst::script::WeightClass&)':
text-io.cc:87:15: error: cannot convert 'std::ostream {aka std::basic_ostream}' to 'bool' in initialization
bool ret = *strm;
^~~~
Makefile:388: recipe for target 'text-io.lo' failed
make[2]: *** [text-io.lo] Error 1
make[2]: Leaving directory '/home/pi/openfst-1.3.4/src/script'
Makefile:260: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/pi/openfst-1.3.4/src'
Makefile:312: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

please...inform me...what i do wrong ? and what,s i have to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions