From 268f0ee7759b205cebb8d9e80cbd54cf9b0e667f Mon Sep 17 00:00:00 2001 From: Richard West Date: Thu, 10 Nov 2011 17:22:48 -0500 Subject: [PATCH] Added some MacOS X build instructions to the README --- README.rst | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index fbe0522..32e3597 100644 --- a/README.rst +++ b/README.rst @@ -99,8 +99,25 @@ Python package directory. If you wish to formall install PyDAS, run the following command from the base package directory after the ``make`` command (you may need root privileges for this):: - # python setup.py install + $ python setup.py install You may wish to write a file `make.inc` that sets certain variables used by the Makefiles (e.g. the Fortran compiler). An example of such a file, `make.inc.example`, has been provided. + + +Mac OS X Lion +------------- + +Homebrew (http://mxcl.github.com/homebrew/) is an easy way to get gfortran:: + + $ brew install gfortran + +But your system may still not be able to find the correct `libgfortran.a` library file +(see https://github.com/mxcl/homebrew/issues/8539 ). This should make it work:: + + $ LIBRARY_PATH=/usr/local/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/ make F77=gfortran + +Then, to get it installed into your proper python place:: + + $ make install