From 401065ee0b82250e4654b43330d51f1a3ba5a63a Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Sun, 7 Apr 2019 12:18:11 -0400 Subject: Install.txt - merge from master --- Install.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Install.txt') diff --git a/Install.txt b/Install.txt index 9df6cf3e..62c1d5bb 100644 --- a/Install.txt +++ b/Install.txt @@ -73,6 +73,20 @@ For example, say you want to use Clang to build on Linux. Then you can set the C and C++ compilers at CMake time, like so: % CC=clang CXX=clang++ cmake .. +== Building for OSX (Mac) == +Homebrew: + A couple of necessary dependencies do not have their headers + and development libraries linked into /usr/local/{include,lib} due + to possible contamination with the operating system versions of the + same name. This is known to be the case with libffi and libxml2 + Fix is to export PKG_CONFIG_PATH so CMake can find them, as in: + export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:\ + /usr/local/opt/libxml2/lib/pkgconfig + + Also, if building the gtkdocs you'll need to say where the xml + catalog files can be found so the gtk entities are located, like so: + export XML_CATALOG_FILES=/usr/local/etc/xml/catalog + == Optional Dependencies == * libicu "International Components for Unicode" development libraries. Highly recommended for RSCALE support. -- cgit v1.2.1