sidaf / homebrew-pentest

Homebrew Tap - Pen Test Tools
708 stars 177 forks source link

make fails on libnl #2

Closed Fredmf closed 7 years ago

Fredmf commented 8 years ago

==> make Last 15 lines from /Users/grin/Library/Logs/Homebrew/libnl/02.make: 1 error generated. 1 error generated. 1 error generated. 1 error generated. make[2]: [error.lo] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [handlers.lo] Error 1 make[2]: [cache_mngr.lo] Error 1 make[2]: [attr.lo] Error 1 make[2]: [data.lo] Error 1 make[2]: [cache_mngt.lo] Error 1 make[2]: [addr.lo] Error 1 make[2]: [cache.lo] Error 1 make[1]: [all] Error 2 make: *** [all-recursive] Error 1

Fredmf commented 8 years ago

here the errors:

In file included from error.c:12: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

In file included from cache.c:52: ../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 In file included from cache_mngt.c:28#include <linux/types.h> ^ : ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found In file included from handlers.c:28: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

include <linux/types.h>

     ^

In file included from cache_mngr.c:35: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

In file included from attr.c:12: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

     ^

In file included from data.c:30: ../include/netlink-private/netlink.h:42:10: fatal error: 'linux/types.h' file not found

include <linux/types.h>

Fredmf commented 8 years ago

is this related to: "These formulas have been written to build and run on Linux, so they may not necessarily work on Mac OS X." ??

but why then this Tap ??

sidaf commented 7 years ago

Hi Fred, this Tap predominately exists so that I can use LinuxBrew to install/manage various pen test tools while using Linux as my testing OS.

If a Formula also compiles/works on macOS then that's an added bonus! This may change in the future, but I'm afraid that my current focus is getting these working under Linux.

I'm more than happy to accept pull requests to fix any deficiencies in the Formulae while using them on macOS, but I'm afraid that some tools will just not work as the tool/library has a hard dependency on Linux only library/header - libnl being a case in point.