seomoz/simhash-py

trouble building

oyiptong opened this issue · 2 comments

I'm trying to compile simhash-py on Mac OS X 10.8 and it doesn't seem to be working for me.

I've got:
Python 2.7.3 installed via pythonbrew
A virtualenv managed by pythonbrew
Cython installed via pip in the venv
Judy installed via brew

Running the setup.py from simhash-py just gives me sadness.

Here's the pip freeze output:

$ pip freeze
Cython==0.19.1
PyYAML==3.10
bottle==0.11.6
gevent==0.13.8
greenlet==0.4.1
msgpack-python==0.3.0
pyzmq==13.1.0
requests==1.2.3
smhcluster==0.1.0
wsgiref==0.1.2
zerorpc==0.4.3

$ brew info judy
judy: stable 1.0.5
http://judy.sourceforge.net/
/usr/local/Cellar/judy/1.0.5 (101 files, 1.6M) *
Built from source
https://github.com/mxcl/homebrew/commits/master/Library/Formula/judy.rb

The terminal output for setup.py build is at: https://gist.github.com/oyiptong/cd70b79fc5a3692828d9

You need to run the following first:

git submodule init
git submodule update

Before running python setup.py install.

This should probably be added to the README.md.

that fixed my problem.

Thanks!