Difference between revisions of "Mac Intel Instructions"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* Install Python | * Install Python | ||
** Mac Intel comes with Python 2.3.5. We need Python 2.4. There is a Universal Binary available [http:// | ** Mac Intel comes with Python 2.3.5. We need Python 2.4. There is a Universal Binary available [http://pythonmac.org/packages/py24-fat/dmg/python-2.4.4-macosx2006-10-18.dmg here] | ||
** Maybe your path variable was not updated. Using Finder, go to Applications > MacPython 2.4 . There is a script there called Update Shell Profile.command that adds the new Python to your .bash_profile. | ** Maybe your path variable was not updated. Using Finder, go to Applications > MacPython 2.4 . There is a script there called Update Shell Profile.command that adds the new Python to your .bash_profile. | ||
** You can test the installation typing ''python -V'' in the shell. You should see Python 2.4. | ** You can test the installation typing ''python -V'' in the shell. You should see Python 2.4.4 | ||
* Install Python Extensions | * Install Python Extensions | ||
Line 37: | Line 37: | ||
** Uncompress the file, and inside the directory, type '''python configure.py'''. Then '''make''' and '''make install''' | ** Uncompress the file, and inside the directory, type '''python configure.py'''. Then '''make''' and '''make install''' | ||
* Install Scipy | |||
** Get it [http://pythonmac.org/packages/py24-fat/mpkg/scipy-0.5.1-py2.4-macosx10.4.mpkg.zip here] | |||
* Install Matplotlib | |||
** Get it [http://pythonmac.org/packages/py24-fat/dmg/matplotlib-0.87.7-py2.4-macosx10.4-2006-12-12.dmg here] | |||
* If you want to install cdat from source on mac intel, follow [[building CDAT on Mac|these instructions]]. | * If you want to install cdat from source on mac intel, follow [[building CDAT on Mac|these instructions]]. |
Revision as of 16:39, 2 July 2007
- Make sure you have xcode installed. If you don't have it, get it here (You'll need a Mac Developer Account)
- Install Python
- Mac Intel comes with Python 2.3.5. We need Python 2.4. There is a Universal Binary available here
- Maybe your path variable was not updated. Using Finder, go to Applications > MacPython 2.4 . There is a script there called Update Shell Profile.command that adds the new Python to your .bash_profile.
- You can test the installation typing python -V in the shell. You should see Python 2.4.4
- Install Python Extensions
- Install VTK CVS version (Skip this step if you won't use VTK)
- First you'll need CMake: get the latest release here
- Then you can get vtk: follow the instructions to download the CVS source code on this page
- (Skip this step if you don't need to run CORIE workflows) Follow these instructions to add CORIE and other needed files to VTK.
- To compile VTK follow the instructions in the file README.html in the root of VTK directory tree
- On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY, VTK_USE_CARBON are ON and VTK_USE_QVTK, VTK_USE_COCOA, VTK_USE_X are OFF
- It is recommended to create a environment variable called PYTHONPATH
- export PYTHONPATH=<path/to/vtk_build>/Wrapping/Python:<path/to/vtk_build>/bin:.
- Install Qt 4.2.0 or above
- You can get the open source version for MAC here
- Uncompress the file and inside the uncompressed directory run configure then make and finally sudo make install
- Add the usr/local/Trolltech/Qt-4.2.x/bin to the PATH variable
- Install GraphViz
- There are Mac OS X builds of nightly snapshots here
- Add the usr/local/graphviz-version/bin to the PATH variable
- Install SIP
- Install PyQt4
- Install Scipy
- Get it here
- Install Matplotlib
- Get it here
- If you want to install cdat from source on mac intel, follow these instructions.