langid.c
langid.c copied to clipboard
Problems installing
I did a git clone, then a "python setup.py install" on my mac and got this error, not sure why it fails?
running install
running build
running build_ext
building '_langid' extension
creating build
creating build/temp.macosx-10.5-x86_64-2.7
gcc -fno-strict-aliasing -I/opt/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/anaconda/include/python2.7 -c _langid.c -o build/temp.macosx-10.5-x86_64-2.7/_langid.o
In file included from _langid.c:11:
./liblangid.h:5:10: fatal error: 'langid.pb-c.h' file not found
#include "langid.pb-c.h"
^
1 error generated.
error: command 'gcc' failed with exit status 1
You need to run 'make all' first.