10.11 El Capitan, 10.10 Yosemite and 10.9 Mavericks users: When you type
make you will be prompted to install Xcode. You can also install Xcode by typing the terminal command
Apple no longer includes X11 in Mac OS X. If your compilation fails with an
Xlib not found error, install
XQuartz to get X11 headers under
/opt/X11, and then type:
10.7 Lion, 10.6 Snow Leopard and 10.4 Tiger users: The latest SaVi release and development code (18 December 2007 and later) runs well under your operating systems, as shown in the screenshot below at end. The
-redrawn-menus flag is not required.
10.5 Leopard users: The latest SaVi 1.4 release requires and automatically invokes the
-redrawn-menus flag under 10.5 Leopard to avoid a Tk menu problem.
The following instructions tell you how to install SaVi.
gccC compiler installed? Run Terminal from your Applications/Utilities folder and type
which gccto find out.
/usr/bin/gccisn't returned, you will need to install Apple's developer tools to get the gcc compiler and Tcl/Tk.
Xcode > Preferences > Downloads > Components > Command Line Tools
gcc, you should be able to download SaVi 1.4.9b, unpack it with
tar xvfz savi1.4.9b-release.tar.gz(if Safari has uncompressed the file
tar xvfsuffices) and then:
It is possible to download ActiveTcl and build with that; see
the hints in
Mac-specific problems are discussed in detail in the BUGS textfile.