# Build Instructions ## Requirements * Boost (1.63 or newer) * libiconv * libpEpAdapter * pEpEngine – see next section * GoogleTest (GTest) – not to use library, but to run the unittests. :-) (for Windows you might follow these instructions: ) ## Solve the cyclic dependency to pEpEngine To build p≡p MIME it's necessary that header files of p≡p engine are already installed. Because of the dependency loop of p≡p MIME needing these headers and p≡p engine depending on p≡p MIME you best do things in this sequence: 1. cd pEpEngine && make -C src install_headers 1. cd pEpMIME/src && make install 1. cd pEpEngine && make install The build of p≡p MIME can be customized. Makefile variable PREFIX is the install directory. The environment variables CXXFLAGS and LDFLAGS are being used. So a typical build on macOS i.e. looks like this: CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib make PREFIX=$HOME -j4 all install