![]() |
|
Downloading DATAPLOT for OS X 10.5 (Leopard)
Contact Information
|
April 2012
|
Introduction
|
This page contains the intstructions for downloading and
installing Dataplot on version 10.5 (Leopard) of the OS X
operating system.
|
NOTE: Given the age of this version of the operating system, this version is no longer supported. That is, there will be no updates and we will not respond to issues with the installation. There are separate download files for power Mac and intel-based Mac's. We would like to acknowledge Franc Brglez for providing an intel-based Mac platform for us to build and test the intel-based executable. The download files contain both a pre-built executable file and the source code in case you need to build from source. Be aware that this is a "Unix/X11" port as oppossed to a "native" OS X application. There are two ways you can run Dataplot under OS X.
Prerequisites
|
gcc/gfortran, X11, Aquaterm, and Tcl/Tk
|
Dataplot requires several external programs be installed.
Specifically,
|
Downloading and Installing Dataplot Files
|
|
Assuming that the prerequisite software has been installed,
you can proceed with the downloading and installation of the
Dataplot files.
|
Step 1: Select Root Directory for Dataplot Installation
|
The first step is to select the "root" directory for the
Dataplot installation. Although you can make this any
directory that is convenient to you, we recommend using one
of the following choices:
|
Whatever directory you choose, we will refer to this as the Dataplot root directory in the discussion below.
Step 2: Download the File
|
The next step is to download the Dataplot installation file.
Note that there are separate files for the power mac and for
intel-based Mac's. In the discussion below, it is assumed that
you downloaded this file to the Dataplot root directory.
|
Step 3a: Unpack the File - Power Mac System
|
For a power mac system, enter the following commands
|
tar -xvf dataplot.macosx_power_mac.tar
sudo tar -xvf dataplot.macosx_power_mac.tar After you unpack the download file, you should see the following files and sub-directories in the Dataplot root directory:
README bin/ lib/dataplot/ src/ In the bin directory, you will see a file "dataplot" and a file "dataplot" and a file "dataplot.power_mac.05_14_2009.exe" (the "05_14_2009" may be some other date). The file "dataplot.power_mac.05_14_2009.exe" is the actual Dataplot executable and the file "dataplot" is a script that sets some environment variables and then runs Dataplot.
Step 3b: Unpack the File - Intel-based System
|
For an intel-based system, enter the following commands
|
tar -xvf dataplot.macosx_intel.tar
sudo tar -xvf dataplot.macosx_intel.tar
README bin lib/dataplot src In the bin directory, you will see a file "dataplot" and a file "dataplot" and a file "dataplot.macosx_intel_06_02_2009.exe" (the "06_02_2009" may be some other date). The file "dataplot.macosx_intel_06_02_2009.exe" is the actual Dataplot executable and the file "dataplot" is a script that sets some environment variables and then runs Dataplot.
Step 4: Post Installation
|
The Dataplot root directory contains the file "edit_files".
This is a script file that edits several files in the
Dataplot installation to reflect the paths for Dataplot
and Tcl/Tk on your local platform.
|
Edit the file "edit_files" using the ASCII editor of your choice. Look for the lines starting with
set prefix_tcl_cur =
If you enter these values incorrectly before you run the "./edit_files" script, then you need to manually edit the following files:
bin/xdataplot - change the lines starting with "set zzzzdp =" and "set zzzztcl =" to reflect the correct paths for the Dataplot root directory the Tcl/Tk root directory, respectively. lib/dataplot/frscript/xdp - modify the first line of this file to point to the correct location for the "wish" program on your system (it should typically be either "/usr/local/bin/wish" or "/usr/bin/wish"). lib/dataplot/frscript/xdpConfig - change the lines starting with "dataplot unix" and "library unix" to reflect the correct location on your local system. You also need to add the Dataplot "bin" directory to your default path. For example, if you installed the Dataplot files in "/Users/heckert/dataplot" and you run the c-shell or t-shell, then you can add the line set path=($path /Users/heckert/dataplot/bin) to your .cshrc file. If you run the bash shell, then add the lines
Since many sites have special customizations for these files, we do not do this automatically. Also, this does not take effect until you reboot your system. You can enter these commands manually if you do not want to reboot.
Step 5: Test the Command Line Executable
|
The command line version of Dataplot can run in either
a standard Aqua terminal window or in an X11 terminal
window.
|
To test the command line version in a standard Aqua terminal window, enter the following commands
device 1 aqua call minitest.dp quit
device 1 x11 call minitest.dp quit
Step 6: Test the GUI Version
|
If you installed the Source Forge Tcl/Tk package, you should
intitiate the Dataplot GUI from an xterm (X11) terminal window.
If you installed the Active State Tcl/Tk package, you can
initiate the Dataplot GUI from either an xterm terminal
window or from a standard Aqua terminal window.
|
To test the Dataplot GUI version, open an appropriate terminal window and enter the command
If the Dataplot GUI does not come up correctly, the problem is usually that the paths to the Tcl/Tk software are not set correctly.
Update Executables
|
Downloading Most Recent Executables
|
If the version of the Dataplot executable in the "bin"
directory is dated "06_13_2009"
(e.g., "dataplot.macosx_intel.06_13_2009.exe" for the Intel-based
Mac), the Dataplot GUI will not work. You can download
a corrected executable without redoing the entire installation.
|
If you are running the command line version of Dataplot, you may want to enter the command
Runtime Libraries for gfortran
|
If you do not have the gfortran compiler installed on your system,
you may need to download the runtime library and install it
to the "/usr/local/lib" directory.
|
If you are running the command line version of Dataplot, you may want to enter the command
Source Installation
|
Building from Source
|
If you are unable to use the pre-built Dataplot executable,
then you can build Dataplot from the source code.
|
Check the comments in the file "src/build_gfortran" before attempting the source build. Make any needed changes to the build script and then enter the command
Remove Files
|
Remove Source Directory
|
Once you have a working version of Dataplot, you can optionally
remove the source directory or archive it to a tar file.
To remove the source directory, enter the following command
(from the Dataplot root directory)
|
gzip dataplot_src.tar rm -r src
Problems with Downloading
|
Installation Problems
|
If you have problems with the installation, contact
Alan Heckert
for assistance.
|
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 04/07/2012 |