What steps will reproduce the problem?
1. Download yara 1.6; run 'configure'.
2. Run 'make'
What is the expected output? What do you see instead?
Expect to have Yara compile with no issues. Build fails with errors:
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g
-O2 -MT proc.lo -MD -MP -MF .deps/proc.Tpo -c -o proc.lo proc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT proc.lo -MD -MP -MF
.deps/proc.Tpo -c proc.c -DDLL_EXPORT -DPIC -o .libs/proc.o
proc.c:120:24: fatal error: sys/ptrace.h: No such file or directory
compilation terminated.
Makefile:392: recipe for target `proc.lo' failed
make[4]: *** [proc.lo] Error 1
make[4]: Leaving directory `/cygdrive/c/Users/user/Downloads/yara-1.6/libyara'
Makefile:437: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/Users/user/Downloads/yara-1.6/libyara'
Makefile:269: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/Users/user/Downloads/yara-1.6/libyara'
Makefile:365: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/user/Downloads/yara-1.6'
Makefile:195: recipe for target `all' failed
make: *** [all] Error 2
What version of the product are you using? On what operating system?
Environment: CYGWIN_NT-6.1-WOW64 HOSTNAME 1.7.16(0.262/5/3) 2012-07-20 22:55
i686 Cygwin // Windows 7
Yara 1.6 (yara-python-1.6.tar.gz)
Please provide any additional information below.
Suspected relation to
http://code.google.com/p/yara-project/issues/detail?id=25. Tried various ways
of adding #include for /usr/include/w32api/windef.h in libyara/proc.c (perhaps
incorrectly) and could not successfully compile.
Original issue reported on code.google.com by phatbuck...@gmail.com on 1 Sep 2012 at 1:34
Original issue reported on code.google.com by
phatbuck...@gmail.com
on 1 Sep 2012 at 1:34