Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Error installing CrackMapExec #20

Open
cpt-kernel opened this issue Oct 4, 2018 · 2 comments
Open

Error installing CrackMapExec #20

cpt-kernel opened this issue Oct 4, 2018 · 2 comments

Comments

@cpt-kernel
Copy link

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 <ffi.h>
^~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

@Static-Flow
Copy link

Same issue, you find a fix?

@kobs0N
Copy link

kobs0N commented Feb 18, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants