Table of Contents |
---|
This page documents the requirements and special instructions for building Traffic Server on macOS.
...
After you have PCRE development libraries installed on your system, you should get the Traffic Server code with git.
Code Block | ||
---|---|---|
| ||
$ git clone https://github.com/apache/trafficserver.git |
...
JSON Compilation Database ( compile_commands.json ) is used by clang based tools. For autotools based project (like Traffic Server), Bear is a tool that generates a compilation database.
On macOS or Fedora there is a know issue that bear generates empty compilation database because of SIP. Below is instruction to avoid the issue. Assuming above instruction is done. (automake autoconf libtool are already installed).
...