Open lucasrodes opened 8 years ago
That's a conflict between SRILM code (srilm/include/zio.h
) and OS X system code (/usr/include/stdio.h
) -- not much that pysrilm can do about it as far as I can see :-(. pysrilm doesn't even include either of those files itself. I guess you could try filing a bug upstream with the SRILM maintainers?
I just went googling and the first thing was you running into the same bug with a different srilm wrapper... https://github.com/desilinguist/swig-srilm/issues/6 which makes sense, since it's not a bug in the wrapper but rather a bug in SRILM itself. Good luck?
Thanks for the quick response! I'll take a look. I am currently trying to make to work lots of bindings but none seem to work...
I am currently trying to make to work lots of bindings but none seem to work...
Yes, because the problem is on SRILM, not in the bindings :-). You need to contact srilm-user@speech.sri.com as described at the bottom of the SRILM home page: http://www.speech.sri.com/projects/srilm/
Hi, I am using Mac OSX El Capitan and when executing
python setup.py install
I get the following error:I read the other issues and I replaced in the setup.py file
['-fopenmp']
for[]
but another error appeared:Any ideas?