Mac OS X |
---|
The main difficulty in installing MRtrix on MacOS X is to install the dependencies. There are three reported ways to do this, MacPorts, Homebrew, and Fink. At this point, it seems MacPorts is the simplest and quickest method, as it only requires a minimal amount of local compilation - most of the required packages are simply downloaded ready-compiled.
These approaches are described below, along with instructions common to all of them.
The first step is to install Xcode and X11. These can both be found on the OS X install DVD. The MRtrix-specific dependencies can then be installed using one of the following three approaches:
Thanks to Craig Stark for providing these instructions.
$ port install glib2 glibmm libpng gtk2 gtkmm gtkglext gsl pkgconfig
Thanks to Jon Clayden for providing these instructions.
$ brew install python glib gtk+ glibmm gtkmm gtkglext gsl
Thanks to Michael Zeineh for providing these instructions.
$ fink install python glib gtk+ glibmm2.4 gtkmm2.4 gtkglext1 gslIf this fails, try to repeat this last step until it works.
At this point, you should be able to compile MRtrix using the following commands, as per the Unix installation instructions:
$ cd mrtrix-0.2.10 $ ./buildIf this completes successfully, you can now install the executables into a more easily accessible location. This can be done using the following command (as root):
# ./build install
Assuming you have managed to install MRtrix correctly, you should also consider setting a few configurations parameters, as per the Unix instructions.
top |
---|