2013-03-05 21:10:11 by chort
Several people have been having issues building YARA on OSX. This is what I did to get it working on Snow Leopard with Macports. Testing working with -r 164
$ sudo port install re2 $ svn checkout http://yara-project.googlecode.com/svn/trunk/ yara-project-read-only $ cd yara-project-read-only $ export LDFLAGS='-L/opt/local/lib' $ export CPPFLAGS='-I/opt/local/include' $ aclocal $ automake $ autoconf $ ./configure --with-re2 $ ./bootstrap.sh $ make $ sudo make install
$ cd yara-python $ python setup.py build $ sudo python setup.py install
PS the first version of this blog post missed ./bootstrap.sh, which is required.
- Comments (0)