Closed GoogleCodeExporter closed 8 years ago
Please use the newer code found in the trunk of this SVN. You can see how to
install it on here: http://code.google.com/p/volatility/wiki/FullInstallation
Original comment by jamie.l...@gmail.com
on 29 Jul 2011 at 12:16
Hi Jamei,
but on my Mac Os X 10.6, I've some problem with the installation of Yara 1.4
and Yara-Python 1.4a such as the version 1.5
(http://code.google.com/p/yara-project/downloads/detail?name=yara-1.5.tar.gz)
$ make
make all-recursive
Making all in libyara
make all-am
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2
-MT grammar.lo -MD -MP -MF .deps/grammar.Tpo -c -o grammar.lo grammar.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT grammar.lo -MD -MP -MF
.deps/grammar.Tpo -c grammar.c -fno-common -DPIC -o .libs/grammar.o
In file included from ast.h:20,
from grammar.y:8:
yara.h:21:18: error: pcre.h: No such file or directory
In file included from ast.h:20,
from grammar.y:8:
yara.h:121: error: expected specifier-qualifier-list before ‘pcre’
grammar.y: In function ‘reduce_external_string_operation’:
grammar.y:1148: error: ‘REGEXP’ has no member named ‘regexp’
grammar.y:1150: error: ‘REGEXP’ has no member named ‘regexp’
grammar.y:1152: error: ‘REGEXP’ has no member named ‘extra’
grammar.y:1152: error: ‘REGEXP’ has no member named ‘regexp’
make[3]: *** [grammar.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
infact when i run the command python vol.py -h, I receive this message:
YARA is not installed, see http://code.google.com/p/yara-project/
Usage: Volatility - A memory forensics analysis platform.
Options:
...
Original comment by peppe...@gmail.com
on 29 Jul 2011 at 9:01
You have to install pcre for yara. If you have installed pcre, it is possible
that it might not see it for some reason. I had this happen when I installed
it because pcre was installed from ports. Basically I had to change the
includes in libyara/scan.c and libyara/yara.h from
#include <pcre.h>
to
#include "/opt/local/include/pcre.h"
Anyway, not having yara should not effect commands other than some of the
malware ones in spite of the fact that you see a message complaining that it is
not there. Try to use hivescan and see if it works.
Original comment by jamie.l...@gmail.com
on 29 Jul 2011 at 9:39
Since I see that hivescan works (from issue 126) I will close this one.
Original comment by jamie.l...@gmail.com
on 29 Jul 2011 at 9:43
OK I haven't installed the pcre library, so I've downloaded it from
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.02.tar.bz2
Original comment by peppe...@gmail.com
on 29 Jul 2011 at 9:59
Original issue reported on code.google.com by
peppe...@gmail.com
on 28 Jul 2011 at 8:45