mustangV / yara-project

Automatically exported from code.google.com/p/yara-project
Apache License 2.0
0 stars 0 forks source link

yara-python.c:29:18: fatal error: yara.h: No such file or directory #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
# python setup.py build
running build
running build_ext
building 'yara' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include/python2.7 -c 
yara-python.c -o build/temp.linux-x86_64-2.7/yara-python.o
yara-python.c:29:18: fatal error: yara.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by azi...@gmail.com on 1 Jul 2012 at 7:41

GoogleCodeExporter commented 8 years ago
Before building yara-python extension you need to build and install libyara. 
You should download yara-1.6.tar.gz and run ./configure && make && make install.

Original comment by plus...@gmail.com on 3 Jul 2012 at 4:52