![]() |
|
Dataplot Installation Instructions for MacOS (no package manager)
Contact Information
|
February 2024
|
Step 1a: Install Needed Dependencies
|
If you do not use a package manager such as MacPorts, Homebrew or
fink, you need to install the following dependencies.
|
If you want to generate screen graphics, you need to install at least one of X11 or Aquaterm. We recommend installing both if you have the Intel chipset and X11 only if you have the M1 chipset. A few notes on other Dataplot dependencies.
|
Download and Unpack the Dataplot Files
|
Step 2: Download and Unpack the Dataplot Files
|
The Dataplot files are available on the following github site
|
Select the "Clone or Download" menu and then select the "Download ZIP" text. This will save the file
Move this file to a convenient location on your system and then enter
|
Build Dataplot
|
Step 3: Build Dataplot
|
After the unzip command, enter the commands
|
cp Makefile.mac Makefile NOTE: The Makefile.mac file downloaded from git has some errors, so use this version of the Makefile instead. The Makefile contains the following lines
# FEATURES = X11 AQUA MACOSX # Following recommend line for M1 chips FEATURES = X11 MACOSX MACOSX_M1 The default line for FEATURES assumes you are using the M1 chipset. If you are using the Intel chipset, uncomment the line "# FEATURES = X11 AQUA MACOSX" and comment out the line "FEATURES = X11 MACOSX MACOSX_M1". By default, Dataplot is installed in the "/usr/local" directories. If you want to install to another directory (e.g., you don't have super user permissions), you need to modify the "PREFIX = $(DESTDIR)/usr/local" line. To set it to your home directory, you can use "PREFIX = $(HOME)". In most cases you should not need to modify anything other than the PREFIX and FEATURES lines. After making any needed modifications to the Makefile, enter
If the Makefile does not show any errors, then do
If you set the PREFIX line to a location that does notrequire root permissions, then you can omit the "sudo".
Problems with Downloading or Installation
|
If you have problems with the download or installation, contact
[email protected]
for assistance.
|
|
Test Dataplot Installation
|
Step 4: Test Command Line Version of Dataplot
|
If you installed X11, open an xterm window and enter the
following commands.
|
device 1 x11 call minitest.dp exit If you installed Aquaterm, open a MacOS terminal window and enter the following commands.
device 1 aquaterm call minitest.dp exit Even if you only intend to use the GUI version, I recommend testing the command line version first since the GUI version is in fact running the command line version. Be sure that the directory containing the Dataplot executable is in your path. For the default locations, enter the following
set path=(/usr/local/bin $path) (for Intel chipset) For the Bourne shell, the comparable line for the .bashrc file is
PATH=/usr/local/bin:$PATH; export PATH (for Intel chipset)
Step 4b: Testithe GUI version of Dataplot
|
To test the Dataplot GUI, enter
|
Dataplot Configuration Files
|
There are two configuration files that you may want to edit
at some point.
|
Date created: 02/05/2024 |
Last updated: 02/15/2024 Please email comments on this WWW page to [email protected]. |