Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pip install pyfst" does not work under Cygwin #19

Open
pisabell opened this issue Aug 13, 2014 · 2 comments
Open

"pip install pyfst" does not work under Cygwin #19

pisabell opened this issue Aug 13, 2014 · 2 comments

Comments

@pisabell
Copy link

Hello, I have openfst and python working fine under Cygwin. But when I try "pip install pyfst", I get an error message as shown below.

Any guidance on how to fix this would be greatly appreciated.

Pierre Isabelle


g++ -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.17-i686-2.6/fst/_fst.o -L/usr/lib/python2.6/config -lfst -lpython2.6 -o build/lib.cygwin-1.7.17-i686-2.6/fst/_fst.dll

/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfst

@NickRuiz
Copy link

Same problem here:
g++ -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.7.32-x86_64-3.2/fst/_fst.o -L/usr/lib/python3.2/config -lfst -lpython3.2m -o build/lib.cygwin-1.7.32-x86_64-3.2/fst/_fst.cpython-32m.dll

/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lfst

@vchahun
Copy link
Owner

vchahun commented Mar 2, 2015

pyfst was never tested under Cygwin :-(
Try finding the install path of openfst (/usr/local/include and /usr/local/lib in linux) and add it manually to setup.py:
INC, LIB = ['/usr/local/include'], ['/usr/local/lib']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants