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