15935
|
1 |
%title%
|
|
2 |
Isabelle under Mac OS X
|
|
3 |
|
|
4 |
%body%
|
|
5 |
|
|
6 |
<p><a href="http://www.apple.com/macosx/">Mac OS X</a> is the current version
|
|
7 |
of the Macintosh operating system, installed on all new <a href=
|
|
8 |
"http://www.apple.com/">Apple</a> computers. Because it is based on Unix, it
|
|
9 |
can run <a href=
|
|
10 |
"http://www.cl.cam.ac.uk/Research/HVG/Isabelle/">Isabelle</a>. The new
|
|
11 |
<a href="http://www.apple.com/powermac/">Power Mac G5</a> is an excellent
|
|
12 |
Isabelle machine. Here is a <a href="isabelle_macos_screenshot.jpg">screenshot</a>
|
|
13 |
showing Proof General running in GNU Emacs.</p>
|
|
14 |
|
|
15 |
<p>This page gives advice on building Isabelle for Mac OS X. It assumes that
|
|
16 |
you are familiar with both Mac OS X and Unix. You must have installed the Mac
|
|
17 |
OS X developer tools.</p>
|
|
18 |
|
|
19 |
<ol>
|
|
20 |
<li>Download Isabelle to a suitable directory, as described on the download
|
|
21 |
<a href=
|
|
22 |
"http://www.cl.cam.ac.uk/Research/HVG/Isabelle/dist/packages.html">page</a>.
|
|
23 |
Ensure that you get files such as <a href=
|
|
24 |
"http://www.cl.cam.ac.uk/Research/HVG/Isabelle/dist/contrib/polyml_ppc-darwin.tar.gz">
|
|
25 |
<tt>polyml_ppc-darwin.tar.gz</tt></a> and <a href=
|
|
26 |
"http://www.cl.cam.ac.uk/Research/HVG/Isabelle/dist/HOL_ppc-darwin.tar.gz"><tt>
|
|
27 |
HOL_ppc-darwin.tar.gz</tt></a> rather than the <tt>_x86-linux</tt>
|
|
28 |
versions.</li>
|
|
29 |
|
|
30 |
<li>Install <a href="http://www.polyml.org/">Poly/ML</a> in a standard
|
|
31 |
place, such as <tt>/usr/local/polyml</tt>, or put <tt>polyml</tt> in the
|
|
32 |
same directory as <tt>Isabelle</tt>. Make sure you get the PPC Darwin
|
|
33 |
version from the Poly/ML download page.</li>
|
|
34 |
|
|
35 |
<li>You may have to install the bash shell. Versions of Mac OS X prior to
|
|
36 |
10.2.2 did not provide it. If /bin/bash does not exist, you can install it
|
|
37 |
using the package manager <a href=
|
|
38 |
"http://fink.sourceforge.net/">Fink</a>.</li>
|
|
39 |
|
|
40 |
<li>At this point, you should be able to run Isabelle with the command line
|
|
41 |
interface. You can also build Isabelle from the Unix command line,
|
|
42 |
following the instructions for "Compiling Logics" in file
|
|
43 |
<tt>Isabelle/INSTALL.</tt></li>
|
|
44 |
|
|
45 |
<li>Install <a href="http://proofgeneral.inf.ed.ac.uk/">Proof General</a>.
|
|
46 |
You may now be able to launch Proof General by typing "<tt>Isabelle</tt>"
|
|
47 |
at the Unix command line. This will invoke the Apple-supplied version of
|
|
48 |
Emacs in a terminal window, providing a primitive environment. Somewhat
|
|
49 |
better is to run Proof General from within a version of Emacs ported as a
|
|
50 |
native Mac OS X application, such as <a href=
|
|
51 |
"http://home.att.ne.jp/alpha/z123/emacs-mac-e.html">MacEmacs JP</a> or
|
|
52 |
<a href="http://mindlube.com/products/emacs/">mindlube's</a> or <a href=
|
|
53 |
"http://www.cs.man.ac.uk/%7efranconi/mac-emacs/">Enhanced Carbon Emacs</a>.
|
|
54 |
Visiting a theory file from Emacs will automatically launch Proof General
|
|
55 |
provided <tt>isabelle</tt> is on the search path. None of these options
|
|
56 |
support the X-Symbol package, unfortunately.</li>
|
|
57 |
</ol>
|
|
58 |
|
|
59 |
<p>In order to get the full benefit of Proof General, you must install the X
|
|
60 |
Window System (X11) and <a href="http://www.xemacs.org/">XEmacs</a> or
|
|
61 |
<a href="http://www.gnu.org/software/emacs/emacs.html">GNU Emacs</a>.</p>
|
|
62 |
|
|
63 |
<ul>
|
|
64 |
<li><a href="http://www.apple.com/macosx/x11/">Apple's version</a> of X11
|
|
65 |
is included with the Panther (MacOS 10.3) installation discs, though it is
|
|
66 |
not installed by default. The Command key serves as Meta, but it is
|
|
67 |
reserved for standard Apple shortcuts such as C, V and X, so you must use
|
|
68 |
Esc-C, Esc-V and Esc-X in Emacs or else deselect "Enable key equivalents"
|
|
69 |
in the X11 preferences.</li>
|
|
70 |
|
|
71 |
<li>Some people prefer the <a href=
|
|
72 |
"http://www.osxgnu.org/software/Xwin/WindowManagers/OroborOSX/">OroborOSX</a>
|
|
73 |
window manager. It must be used in conjunction with <a href=
|
|
74 |
"http://xfree86.org/">XFree86</a>, which is easy to install if you use the
|
|
75 |
installer provided by the <a href=
|
|
76 |
"http://sourceforge.net/projects/xonx/">XonX</a> project.</li>
|
|
77 |
</ul>
|
|
78 |
|
|
79 |
<p>The easiest way to install XEmacs or GNU Emacs is via the package manager
|
|
80 |
<a href="http://fink.sourceforge.net/">Fink</a>. Install the Fink package
|
|
81 |
<tt>xemacs-sumo-pkg</tt> to get the XEmacs libraries that Proof General needs
|
|
82 |
to run. To install GNU Emacs, install the package <tt>emacs21</tt>. Fink can
|
|
83 |
compile from sources, but this takes hours, so it is better to request binary
|
|
84 |
installations.</p>
|
|
85 |
|
|
86 |
<p>To use <a href="http://www.gnu.org/software/emacs/emacs.html">GNU
|
|
87 |
Emacs</a> instead of <a href="http://www.xemacs.org/">XEmacs</a>, you must
|
|
88 |
recompile Proof General and X-Symbol following the instructions <a href=
|
|
89 |
"http://proofgeneral.inf.ed.ac.uk/FAQ">here</a>. Note that Proof General
|
|
90 |
incorporates its own copy of X-Symbol.</p>
|
|
91 |
|
|
92 |
<ol>
|
|
93 |
<li>Install X11 or OroborOSX.</li>
|
|
94 |
|
|
95 |
<li>Install XEmacs (and its libraries), or install GNU Emacs and recompile
|
|
96 |
Proof General.</li>
|
|
97 |
|
|
98 |
<li>You may want to install this drag-and-drop <a href=
|
|
99 |
"IsabelleDroplet.dmg">Isabelle launcher</a>. It is a simple hack that
|
|
100 |
invokes xemacs on any files dropped on it.</li>
|
|
101 |
</ol>
|
|
102 |
|