All reference is taken at here: https://github.com/simsong/bulk_extractor/wiki/Installing-bulk_extractor
bulk_extractor is a computer forensics tool that scans a disk image, a file, or a directory of files and extracts useful information without parsing the file system or file system structures. The results can be easily inspected, parsed, or processed with automated tools.
To install bulk_extractor, first install required library via Macports:
sudo port install flex autoconf automake pkgconfig
All install dev library:
sudo port install libewf openssl tre libxml2
Download libewf source code:
https://github.com/libyal/libewf
Then install libewf from source (because libewf via ports too old):
./configure make sudo make install sudo ldconfig./configure make sudo make install sudo ldconfig