Closed desilinguist closed 10 years ago
Hi,
The error seems to be in bundled hat-trie C library. I think the proper place to fix it is https://github.com/dcjones/hat-trie/
Actually, I am able to clone and build the hat-trie C library from that URL just fine. Is it possible that the bundled C library is out of sync?
It is out of sync, but not much - recent changes to hat-trie C library didn't change anything code-wise. I believe pstdint.h file which caused an exception didn't change. It could be the case distutils uses gcc not the same as makefile from C library repo does, I'm not sure.
Could you please try building this wrapper without the latest commit (https://github.com/kmike/hat-trie/commit/b30b294d1c079e18068f8ddef7acfa2713cc427f)?
Thanks! I tried that and am still getting the same error. Is there a way to compile the wrapper with a pre-compiled version of the C library instead of using the one bundled with the wrapper?
Updating pstdint.h
to this version seems to fix this. I submitted a PR upstream: https://github.com/dcjones/hat-trie/pull/18
That PR was merged, and I've submitted this one here to bring in the recent (minor) changes: #15.
Glad to see this has been resolved. Any chance we could do a new release so I can make a conda package via pypi? I can make one manually but it would be nice to be able to use pypi.
I've release hat-trie 0.2. Thanks for the help! Does it work for you?
It works perfectly! Thanks!
When I clone the repo and run
python setup.py build
, I get the error below. I am on a 64-bit machine running RHEL 6.5 and gcc version 4.4.7.