Closed lostinsec closed 7 years ago
Same here, i'm wondering if it's because we installed the libnl from another source The libn cannot be downloaded because of a SSL failure (if the link is HTTP it perfectly works).
==> Installing wifite from sidaf/pentest ==> Installing dependencies for sidaf/pentest/wifite: libnl, sidaf/pentest/aircrack-ng, reaver ==> Installing sidaf/pentest/wifite dependency: libnl ==> Using the sandbox ==> Downloading https://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz Already downloaded: /Users/herdir/Library/Caches/Homebrew/libnl-3.2.25.tar.gz ==> ./configure --prefix=/usr/local/Cellar/libnl/3.2.25_2 ==> make Last 15 lines from /Users/herdir/Library/Logs/Homebrew/libnl/02.make: In file included from attr.c:12: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
^
1 error generated. 1 error generated. make[2]: [cache_mngr.lo] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [addr.lo] Error 1 1 error generated. make[2]: [cache.lo] Error 1 1 error generated. make[2]: [attr.lo] Error 1 make[1]: [all] Error 2 make: *** [all-recursive] Error 1
Sorry guys, libnl does not build on MacOS due to dependencies on Linux kernel headers. Nothing much I can do, unless someone ports the library to work on MacOS.
Terminal:
$ brew install wifite ==> Installing wifite from sidaf/pentest ==> Installing dependencies for sidaf/pentest/wifite: libnl, sidaf/pentest/aircrack-ng, reaver ==> Installing sidaf/pentest/wifite dependency: libnl ==> Downloading https://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz Already downloaded: /Users/michaelgeorge/Library/Caches/Homebrew/libnl-3.2.25.tar.gz ==> ./configure --prefix=/usr/local/Cellar/libnl/3.2.25_2 ==> make Last 15 lines from /Users/michaelgeorge/Library/Logs/Homebrew/libnl/02.make: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
include <linux/types.h>
In file included from addr.c:30: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found
include <linux/types.h>
1 error generated. 1 error generated. 1 error generated. make[2]: [attr.lo] Error 1 make[2]: [cache_mngr.lo] Error 1 make[2]: [addr.lo] Error 1 make[1]: [all] Error 2 make: *** [all-recursive] Error 1