From 6438f0e273100d85fa92aa73d7e90e236211adce Mon Sep 17 00:00:00 2001 From: Pete Johns Date: Thu, 30 Dec 2010 10:00:46 +1100 Subject: [PATCH] Added Mac OSX build instructins for PCRE. --- build.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/build.txt b/build.txt index 51ea6b2e7..b7ebf7b77 100644 --- a/build.txt +++ b/build.txt @@ -11,18 +11,30 @@ Then I built the lib with: cmake . nmake -The resulting files can be downloaded here (please try if it works): - http://cppcheck.sf.net/pcre-8.10-vs.zip +The resulting files can be downloaded here (please try if it works): + http://cppcheck.sf.net/pcre-8.10-vs.zip MINGW (Qt 4.7 SDK) -I downloaded pcre-8.0-lib.zip from here: http://software-download.name/pcre-library-windows/ +I downloaded pcre-8.0-lib.zip from here: http://software-download.name/pcre-library-windows/ Linux The normal Makefile should work -Install pcre on ubuntu might be needed: +Install pcre on ubuntu might be needed: sudo apt-get install libpcre3 libpcre3-dev + + +Mac OSX + +Install pcre: + + sudo port install pcre + +Ensure /path/to/pcre.h is in CXXFLAGS, e.g: + + export CXXFLAGS=${CXXFLAGS}:/opt/local/include +