|
From: Thomas M. <mat...@ph...> - 2016-03-05 19:32:22
|
This is on a Mac mini Core 2 Duo running 10.6.8.
So far, my recipe is
Install Aquaterm application and XQuartz
Do .configure, make, sudo make install, and make DESTDIR=/tmp/gnuplot on the following:
zlib-1.2.8, libpng-1.5.26, freetype-2.4.10, gd-2.0.33, gnuplot-5.0.3
This produces a gnuplot with the built-in terminals, X11, Aquaterm, png, and gif.
That's enough to be useful.
It also produces a tree under /tmp/gnuplot which has /usr/local/, under which is
/bin/ containing the gnuplot executable, and lots of other executables made by the libraries above
/libexec/ containing /gnuplot/5.0/gnuplot_x11
/lib/ containing the libraries made above
/include/ containing headers for the above libraries
/share/man/man1 with gnuplot.1 and gnuplot-ja.a
/share/man3/ and /share/man5/ with library man files
/texlive/ with a tree leading to gnuplot.cfg
A simple sudo rsync on a different Mac should push all that stuff into the standard locations as if it had been built there.
For the target case of a student Mac not used for Unix development, would that be expected to cause problems?
If it would cause problems, is there some simple way to configure the build process so the gnuplot executable would look in some non-standard directory for the libraries, so I could make the rsync put the libraries where they wouldn't cause trouble on the target system?
I realize that if the target Mac is used for Unix-style development, doing the rsync would be ill-advised.
But if the Mac is used for Unix-style development, then it would be easy to just do a local build of gnuplot,
and the rsync approach wouldn't be needed.
Hopefully Allin Cottrell's gnuplot.app for Mac will become a regular product. Then non-developer Mac users will be able to enjoy Gnuplot, like non-developer Windows users. And my humble efforts at cloning Mac installations will be irrelevant.
Cheers
Prof. Thomas Mattison Hennings 276
University of British Columbia Dept. of Physics and Astronomy
6224 Agricultural Road Vancouver BC V6T 1Z1 CANADA
mat...@ph... phone: 604-822-9690 fax:604-822-5324
|