langid.c icon indicating copy to clipboard operation
langid.c copied to clipboard

Problems installing

Open vgoklani opened this issue 10 years ago • 1 comments

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

vgoklani avatar Sep 16 '15 23:09 vgoklani

You need to run 'make all' first.

sc6 avatar Jun 21 '17 15:06 sc6