Installing pysao on Mac OS X Snow Leopard

The pysao (or python-sao) version used here is svn rev. 115:

$ mkdir /usr/local/src/pysao
$ cd /usr/local/src/pysao
$ svn checkout http://python-sao.googlecode.com/svn/trunk/ python-sao
$ cd python-sao
$ python xpa_download.py
$ tar xf xpa-2.1.12.tar.gz
$ ln -s xpa-2.1.12 xpalib
$ cd xpalib
$ ./configure CFLAGS="-arch ppc -arch i386 -arch x86_64"
$ make
$ cd ..
$ python setup.py build
$ sudo python setup.py install

That’s it.

This entry was posted in Mac OS X, Snow Leopard. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>