Commit 844349c8 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

update installation instructions for OS X

parent 283912be
......@@ -251,15 +251,10 @@ Configure and make:
## Mac OS X
- Install the Xcode Common Tools:
- Install [Xcode]( from the App Store
- Open Xcode
- Go to `Xcode->Preferences...`
- In the window that opens, click on the `Downloads` tab
- In the tab that appears, click on the `Components` button
- Next to `Command Line Tools`, click on `Install`
- Install the Xcode Command Line Tools:
- Download "Command Line Tools (OS X 10.X) for Xcode," where 10.X corresponds to your OS X version, from
- Install [Homebrew]( by following the instructions on the website
- Tap [Homebrew Science]( by doing:
- Tap [Homebrew Science]( by opening Terminal and typing:
- ```brew tap homebrew/science```
- Install the following brews:
- ```brew install gcc```
......@@ -269,6 +264,9 @@ Configure and make:
- ```brew install boost```
- ```brew install libmatio --with-hdf5```
- ```brew install slicot --with-default-integer-8```
- Force link ```flex``` and ```bison```
- ```brew link --force flex```
- ```brew link --force bison```
- **(Optional)** To compile Dynare mex files for use on Octave:
- ```brew install octave```
- **(Optional)** To compile Dynare's documentation, first install the latest version of [MacTeX]( Then install `doxygen`, `latex2html` and `texi2html` via Homebrew with the following commands:
......@@ -277,8 +275,10 @@ Configure and make:
- ```brew install latex2html```
- ```brew install texi2html```
- **(On OS X 10.7 Only)** Copy [FlexLexer.h]( into the `preprocessor` directory (there was an error in the `FlexLexer.h` file distributed with 10.7)
- Finally, switch to the root dynare directory. Ensure your path contains `/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/usr/local/sbin`. Run:
- Ensure `/usr/local/bin` is at the beginning of your path:
- PATH=/usr/local/bin:$PATH
- Finally, switch to the root dynare directory and compile dynare
- `autoreconf -si`
- `./configure --with-matlab=/Applications/ MATLAB_VERSION=8.1 YACC=/usr/local/Cellar/bison/<<BISON VERSION>>/bin/bison`
- `./configure --with-matlab=/Applications/ MATLAB_VERSION=8.4
- `make`
- `make pdf TEXI2DVI=/usr/local/Cellar/texinfo/5.2/bin/texi2dvi`, where you replace everything after the equal sign with the path to the `texi2dvi` installed by homebrew when you installed `texinfo`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment