sidaf / homebrew-pentest

Homebrew Tap - Pen Test Tools
697 stars 178 forks source link

Error installing CrackMapExec #20

Open cpt-kernel opened 5 years ago

cpt-kernel commented 5 years ago

It looks like the installer is unable to locate 'ffi.h', a libffi file. I've ensured that libffi is installed. I have python3, cffi, and relevant dependencies installed and PATH'd.

I've run: export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" and export LDFLAGS="-L/usr/local/opt/libffi/lib"

Output of error:

Last 15 lines from /Users/j/Library/Logs/Homebrew/crackmapexec/16.python: copying cffi/cparser.py -> build/lib.macosx-10.14-intel-2.7/cffi copying cffi/verifier.py -> build/lib.macosx-10.14-intel-2.7/cffi copying cffi/_cffi_include.h -> build/lib.macosx-10.14-intel-2.7/cffi copying cffi/parse_c_type.h -> build/lib.macosx-10.14-intel-2.7/cffi copying cffi/_embedding.h -> build/lib.macosx-10.14-intel-2.7/cffi running build_ext building '_cffi_backend' extension creating build/temp.macosx-10.14-intel-2.7 creating build/temp.macosx-10.14-intel-2.7/c clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.14-intel-2.7/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: 'ffi.h' file not found

include

     ^~~~~~~

1 error generated. error: command 'clang' failed with exit status 1

Static-Flow commented 5 years ago

Same issue, you find a fix?

kobs0N commented 5 years ago

Same Here, Is there anyway to contribute? I would like to fix and commit