Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit [2011-10-18 15:45] – Lars Bahren | public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit [2011-10-18 16:00] – Lars Bahren | ||
---|---|---|---|
Line 7: | Line 7: | ||
* [[#C/C++ compiler and tools]] | * [[#C/C++ compiler and tools]] | ||
* [[#Fortran compiler]] | * [[#Fortran compiler]] | ||
+ | * [[#CMake]] | ||
+ | * [[#Python]] | ||
- [[# | - [[# | ||
Line 32: | Line 34: | ||
=== Fortran compiler === | === Fortran compiler === | ||
- | Install the 64 bit optimized version of the GNU fortran compiler from the [[http:// | + | - Install the 64 bit optimized version of the GNU fortran compiler from the [[http:// |
- | Make sure you select the gfortan only binaries which can be found [[http:// | + | |
- | + | gunzip gcc-bin.tar.gz | |
- | Then | + | </ |
- | gunzip gcc-bin.tar.gz | + | |
- | (if your browser didn't do so already) and | + | |
sudo tar -xvf gcc-bin.tar -C /. | sudo tar -xvf gcc-bin.tar -C /. | ||
- | It installs everything in **/usr/local**. | + | </ |
- | + | | |
- | You can test if this worked by typing | + | |
- | | + | |
=== CMake === | === CMake === | ||
Line 51: | Line 49: | ||
=== Python === | === Python === | ||
+ | |||
There are three ways to install Python. | There are three ways to install Python. | ||
You may use the Enthought Python Distribution binary installer (EPD 6.3 64 bit) DMG (recommended), | You may use the Enthought Python Distribution binary installer (EPD 6.3 64 bit) DMG (recommended), | ||
- | === Using Fink === | + | |
- | == Installing 64 bit Fink == | + | === 64 bit installation using Fink === |
First download the source code from [[http:// | First download the source code from [[http:// | ||
- | Unpack the tar.gz archive if this hasn't been done automatically, | + | Unpack the '' |
- | | + | <code bash> |
+ | tar -xvzf fink-0.29.21.tar.gz | ||
+ | </ | ||
if it has already been partially unpacked, in a terminal window. Then, in a terminal window, change to the resulting fink-0.29.21 directory, and use | if it has already been partially unpacked, in a terminal window. Then, in a terminal window, change to the resulting fink-0.29.21 directory, and use | ||
- | | + | <code bash> |
+ | ./bootstrap | ||
+ | </ | ||
to start the boostrapping operation, which will install the Fink base setup. | to start the boostrapping operation, which will install the Fink base setup. | ||
When you get the following question: "Your hardware is a 64bit-compatible intel processor, so you have the option of running Fink in 64bit-only mode. This is not recommended for most users, since many more packages are available for the default mode (which is mostly 32bit but includes some 64bit packages). Which mode would you like to use?" | When you get the following question: "Your hardware is a 64bit-compatible intel processor, so you have the option of running Fink in 64bit-only mode. This is not recommended for most users, since many more packages are available for the default mode (which is mostly 32bit but includes some 64bit packages). Which mode would you like to use?" | ||
- | | + | < |
- | (2) | + | (1) |
+ | (2) | ||
+ | </ | ||
Be sure to select option 2 to build the 64 bit version. | Be sure to select option 2 to build the 64 bit version. | ||
- | | + | < |
+ | Choose a mode: [1] 2 | ||
+ | </ | ||
After the installation is completed, running the command | After the installation is completed, running the command | ||
- | | + | <code bash> |
+ | / | ||
+ | </ | ||
will set up your environment for Fink (assuming you have installed Fink under /sw). If you open a new terminal window, the session will use these environment settings. Once you have installed fink and the other base packages, the command sequences: | will set up your environment for Fink (assuming you have installed Fink under /sw). If you open a new terminal window, the session will use these environment settings. Once you have installed fink and the other base packages, the command sequences: | ||
- | | + | <code bash> |
- | + | fink selfupdate-rsync | |
- | | + | fink index -f |
+ | </ | ||
If you have not done so during the bootstrap, switch your fink installation to use the unstable tree by running | If you have not done so during the bootstrap, switch your fink installation to use the unstable tree by running | ||
- | | + | <code bash> |
+ | fink configure | ||
+ | </ | ||
and selecting the appropriate option. | and selecting the appropriate option. | ||
Then run the following commands to update the index and rebuild all packages. | Then run the following commands to update the index and rebuild all packages. | ||
- | | + | <code bash> |
- | fink selfupdate-rsync | + | fink selfupdate |
- | fink index -f | + | fink selfupdate-rsync |
- | fink scanpackages | + | fink index -f |
+ | fink scanpackages | ||
+ | </ | ||
Finally install the required packages using the following command: | Finally install the required packages using the following command: | ||
Line 119: | Line 134: | ||
=== Manually compile from source === | === Manually compile from source === | ||
+ | |||
If you want to build the Python Pypeline you will need to install the latest 2.6 series version of Python. | If you want to build the Python Pypeline you will need to install the latest 2.6 series version of Python. | ||
Unfortunately the binaries for OSX Snow Leopard are compiled as 32 bit. | Unfortunately the binaries for OSX Snow Leopard are compiled as 32 bit. |