This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are some additional dependencies that at the time of writing are not
@@ -546,13 +547,21 @@ Get the expat sources:
4.3.3. Additional Dependencies : SIP
====================================
Make sure you have the latest Python fom
http://www.python.org/download/mac/
Leopard note: Leopard includes a usable Python 2.5. Though you can install Python from python.org if preferred.
Retrieve the python bindings toolkit SIP from
http://www.riverbankcomputing.com/Downloads/sip4/
Then extract and build it to a prefix of /usr/local:
Then extract and build it (this installs by default into the Python framework):
tar xvfz sip-<version number>.tar.gz
@@ -563,16 +572,18 @@ Then extract and build it to a prefix of /usr/local:
cd ..
Leopard notes
4.3.4. Additional Dependencies : PyQt
=====================================
If building on Leopard, using Leopard's bundled Python, SIP wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Then extract and build it to a prefix of /usr/local:
Then extract and build it (this installs by default into the Python framework):
tar xvfz PyQt-mac<version number here>
cd PyQt-mac<version number here>
export QTDIR=/Developer/Applications/Qt
python configure.py
yes
make
sudo make install
cd ..
Leopard notes
If building on Leopard, using Leopard's bundled Python, PyQt wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Leopard note: To find the custom install of SIP on Leopard, add -D SIP_BINARY_PATH=/usr/local/bin/sip to the cmake command above, before the .. at the end, ie:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are some additional dependencies that at the time of writing are not
@@ -440,13 +442,21 @@ cd ..
=== Additional Dependencies : SIP ===
Make sure you have the latest Python fom
```
http://www.python.org/download/mac/
```
__Leopard note:__ Leopard includes a usable Python 2.5. Though you can install Python from python.org if preferred.
Retrieve the python bindings toolkit SIP from
```
http://www.riverbankcomputing.com/Downloads/sip4/
```
Then extract and build it to a prefix of /usr/local:
Then extract and build it (this installs by default into the Python framework):
```
tar xvfz sip-<version number>.tar.gz
@@ -457,14 +467,16 @@ sudo make install
cd ..
```
=== Additional Dependencies : PyQt ===
__Leopard notes__
Make sure you have the latest python fom
If building on Leopard, using Leopard's bundled Python, SIP wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Then extract and build it to a prefix of /usr/local:
Then extract and build it (this installs by default into the Python framework):
```
tar xvfz PyQt-mac<version number here>
cd PyQt-mac<version number here>
export QTDIR=/Developer/Applications/Qt
python configure.py
yes
make
sudo make install
cd ..
```
__Leopard notes__
If building on Leopard, using Leopard's bundled Python, PyQt wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
__Leopard note:__ To find the custom install of SIP on Leopard, add ""-D SIP_BINARY_PATH=/usr/local/bin/sip"" to the cmake command above, before the "".."" at the end, ie: