Unable to compile openfst
See original GitHub issueopenfst will not compile on Ubuntu 13.10 64-bit. (www.openfst.org site is currently down though openfst-1.3.3 and openfst-1.3.4 can be found on mirrors). Have tried numerous recommendations from the cached form of this page with both 1.3.3 and 1.3.4 though can’t seem to get openfst to compile:
Making install in bin
make[2]: Entering directory `/home/roland/openfst-1.3.4/src/bin'
g++ -DHAVE_CONFIG_H -I./../include -I./../script -g -O2 -MT fstarcsort.o -MD -MP -MF .deps/fstarcsort.Tpo -c -o fstarcsort.o fstarcsort.cc
mv -f .deps/fstarcsort.Tpo .deps/fstarcsort.Po
/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -o fstarcsort fstarcsort.o ../script/libfstscript.la ../lib/libfst.la -lm -ldl
libtool: link: g++ -g -O2 -o .libs/fstarcsort fstarcsort.o ../script/.libs/libfstscript.so ../lib/.libs/libfst.so -lm -ldl
../script/.libs/libfstscript.so: undefined reference to `dlopen'
../script/.libs/libfstscript.so: undefined reference to `dlerror'
collect2: error: ld returned 1 exit status
make[2]: *** [fstarcsort] Error 1
make[2]: Leaving directory `/home/roland/openfst-1.3.4/src/bin'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/roland/openfst-1.3.4/src'
make: *** [install-recursive] Error 1
with some modifications the build got farther to src/extensions/far before it failed.
I know this isn’t an issue with the Jasper Client though this is a dependency and thought you should be aware / maybe had a solution.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8
Top Results From Across the Web
Failed to compile OpenFst #3987 - kaldi-asr/kaldi - GitHub
Kaldi installation fails when OpenFst compilation starts. I get these errors: `g++: internal compiler error: Killed (program cc1plus).
Read more >FstForum < Forum < TWiki - OpenFst Library
OpenFST 1.7.7, Pi4 Make fail; Can't compile OpenFst 1.7.7 with Python wrapper: no matching function for call to RandEquivalent ...
Read more >Unable to install OpenFST Python extension - Stack Overflow
There are two problems here. First, as far as I can tell, despite being documented, the pip install method really isn't supported, ...
Read more >centos kaldi tools make openfst failed - Google Groups
centos kaldi tools make openfst failed. 667 views ... i hvae the error when i install kaldi,the error is: ... libtool: compile: g++...
Read more >Thread: [Kaldi-users] Kaldi install fails in /src - openfst
Using Opensuse 12.3 64 bit, kernel 3.9. 1. I issued svn co svn://svn.code.sf.net/p/kaldi/code/trunk kaldi-trunk 2. download appeared to finish correctly 3.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The install-recursive errors can also be caused by a lack of swap space. I’m currently building it again after creating a 512Mb swap file and certainly seems to have gotten further than before… still building though… can take up to 6 hours on the pi apparently 😕
I couldn’t get openfst to compile on the 'Pi itself however, I did manage to cross-compile it on my Fedora Linux box and then transfers the output to the 'pi
Set up cross-compilation environment as described here: http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/
Configure openfst using: ./configure --prefix=$PIROOT --build=x86_64-redhat-linux --host=arm-unknown-linux-gnueabi --enable-compact-fsts --enable-const-fsts --enable-far --enable-lookahead-fsts --enable-pdt
where $PIROOT was set to a directory other that /usr/local so that running the install script would not overwrite my native binaries
I got x86_64-redhat-linux by running gcc -dumpmachine on my Fedora box, your value for --host may vary depending on the machine you are building on
I tested that I can run one of the executables, haven’t finished building everything else yet