flier / pyfasthash

Python Non-cryptographic Hash Library
Apache License 2.0
281 stars 53 forks source link

`python setup.py install` is broken #22

Closed byron-hawkins closed 6 years ago

byron-hawkins commented 6 years ago
    $ sudo python setup.py install
    running install
    running bdist_egg
    running egg_info
    writing pyhash.egg-info/PKG-INFO
    writing top-level names to pyhash.egg-info/top_level.txt
    writing dependency_links to pyhash.egg-info/dependency_links.txt
    reading manifest file 'pyhash.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'ez_setup.py'
    warning: no files found matching '*.cc' under directory 'src'
    writing manifest file 'pyhash.egg-info/SOURCES.txt'
    installing library code to build/bdist.linux-x86_64/egg
    running install_lib
    running build_py
    running build_ext
    building '_pyhash' extension
    creating build/temp.linux-x86_64-2.7/src/smhasher
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexception
    In file included from src/Hash.cpp:4:0:
    src/MurmurHash.h:5:34: erreur fatale : smhasher/MurmurHash1.h : No such file or directory
     #include "smhasher/MurmurHash1.h"
                                      ^   
    compilation terminée.
    error: command 'gcc' failed with exit status 1

I also tried it with release/0.8.2 and got the same result.

flier commented 6 years ago

it seems the git submodule doesn't exists, could you check and update the git submodule?

$ git submodule status
$ git submodule update