On 19 Jan 2017, at 22:44, Allin Cottrell <cottrell(a)wfu.edu>
wrote:
This post is a further response to the thread started by Henrique Andrade in November of
last year, in
http://lists.wfu.edu/pipermail/gretl-users/2016-November/012194.html
I'm afraid that remained unresolved at the time, but I can now report that I've
made several small changes to the gretl configuration and build files which should make
things smoother. More substantially, there's new material at
https://sourceforge.net/projects/gretl/files/osx-testing/
that should be helpful: apparatus to build gretl using just Apple's Xcode Command
Line Tools plus a new "gretl-dev" framework, available as a dmg file. This
method does not require a third-party package manager such as MacPorts or Homebrew.
The full story is in gretl-osx-howto.pdf at the above location. This document also gives
a recipe for building gnuplot for use with gretl on MacOS, and even describes how to build
the gretl-dev framework yourself (with the help of some shell scripts) in case anyone is
feeling adventurous.
Allin Cottrell
Small correction on the gretl-osx-howto:
On page 2 of the gretl in the first bullet the statement
" • (Note that Apple doesn’t want you to install custom software under /usr.)"
is not quite true as of OS X 10.11.
As of OX S (macOS) 10.11 it is no longer allowed to install stuff in /usr/bin, /usr/lib
etcetera.
It's called System Integrity Protection (note; it can be disabled). You can't use
sudo to circumvent it.
But you can install stuff in /usr/local.
I have the gfortran compiler from Francois Coudert installed on Mac OS X 10.11.
A "gfortran" is automatically installed in /usr/local/bin as a symlink to the
main executable in /usr/local/gfortran/bin.
Works without a hitch.
I have not yet had any need to disable the System Integrity Protection.
Various applications (R, BBEdit, TextMate, Gawk, VirtualBox, TextWrangler etc) install
their support stuff in /usr/local/bin.
Berend Hasselman