As of macOS 10.14 installing the Command Line Tools will no longer create /usr/include, which is an intentional change by Apple. The headers are permanently moving inside the SDK, which is now provided by both Xcode and the CLT package.
Xcode is already supported here but people are considerably more likely to have the CLT installed due to it being a much more lightweight installation than the full Xcode IDE. This change ensures that once macOS Mojave/10.14 lands installation won't suddenly break, regardless of which of the CLT/Xcode choice people choose to go with.
Without this change the build bails out on:
Running command python setup.py egg_info
pcap.h not found
Cleaning up...
As of macOS 10.14 installing the Command Line Tools will no longer create
/usr/include
, which is an intentional change by Apple. The headers are permanently moving inside the SDK, which is now provided by both Xcode and the CLT package.Xcode is already supported here but people are considerably more likely to have the CLT installed due to it being a much more lightweight installation than the full Xcode IDE. This change ensures that once macOS Mojave/10.14 lands installation won't suddenly break, regardless of which of the CLT/Xcode choice people choose to go with.
Without this change the build bails out on: