This is an old revision of the document!


How to install Swig 2.0.x and PCRE on MAC OS X

Download SWIG:

curl -O http://ufpr.dl.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz

tar -xzvf swig-2.0.8.tar.gz cd swig-2.0.8

Download PCRE and build it statically:

Building/installing SWIG

./configure make

sudo make install

How to use Python bindings from PZ (command line version)

svn checkout http://neopz.googlecode.com/svn/trunk/ neopz

mkdir neopz_build cd neopz_build cmake ../neopz -DSWIG_EXECUTABLE=/usr/local/bin/swig -DBUILD_PYTHON_BINDING=ON

make -j2

QR Code: URL of current page
QR Code: URL of current page howto:pz_python_macosx (generated for current page)