Admin/page/dist-content/notes_macos_darwin.content
author kleing
Mon, 09 May 2005 02:03:01 +0200
changeset 15941 292a9de8abe9
parent 15939 07a791202f49
permissions -rw-r--r--
made file list nicer
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>
15939
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    20
<li>Download Isabelle to a suitable directory, as described on the 
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    21
<a href="packages.html">download page</a>. Be sure to get the following files
15935
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    22
15941
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    23
<ul>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    24
<li><tt><!-- _GP_ href(distname . ".tar.gz", distname . ".tar.gz") --></tt></li>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    25
<li><tt><!-- _GP_ href("contrib/ProofGeneral.tar.gz", "ProofGeneral.tar.gz") --></tt></li>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    26
<li><tt><!-- _GP_ href("contrib/polyml_base.tar.gz", "polyml_base.tar.gz") --></tt></li>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    27
<li><tt><!-- _GP_ href("contrib/polyml_ppc-darwin.tar.gz", "polyml_ppc-darwin.tar.gz") --></tt></li>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    28
<li><tt><!-- _GP_ href("HOL_ppc-darwin.tar.gz", "HOL_ppc-darwin.tar.gz") --></tt></li>
292a9de8abe9 made file list nicer
kleing
parents: 15939
diff changeset
    29
</ul>
15939
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    30
</li>
15935
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    31
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    32
<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
    33
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
    34
using the package manager <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    35
"http://fink.sourceforge.net/">Fink</a>.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    36
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    37
<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
    38
interface. You can also build Isabelle from the Unix command line,
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    39
following the instructions for "Compiling Logics" in file
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    40
<tt>Isabelle/INSTALL.</tt></li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    41
15939
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    42
<li>You should also be able to launch <a
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    43
href="http://proofgeneral.inf.ed.ac.uk/">Proof General</a> by typing
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    44
"<tt>Isabelle</tt>" at the Unix command line. This will invoke the
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    45
Apple-supplied version of Emacs in a terminal window, providing a
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    46
primitive environment. Somewhat better is to run Proof General from
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    47
within a version of Emacs ported as a native Mac OS X application,
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    48
such as <a href=
15935
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    49
"http://home.att.ne.jp/alpha/z123/emacs-mac-e.html">MacEmacs JP</a> or
15939
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    50
<a href="http://mindlube.com/products/emacs/">mindlube's</a> or <a
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    51
href= "http://www.cs.man.ac.uk/%7efranconi/mac-emacs/">Enhanced Carbon
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    52
Emacs</a>.  Visiting a theory file from Emacs will automatically
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    53
launch Proof General provided <tt>isabelle</tt> is on the search
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    54
path. None of these options support the X-Symbol package,
07a791202f49 made download links local, provide explicit list of files to download
kleing
parents: 15935
diff changeset
    55
unfortunately.</li> </ol>
15935
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    56
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    57
<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
    58
Window System (X11) and <a href="http://www.xemacs.org/">XEmacs</a> or
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    59
<a href="http://www.gnu.org/software/emacs/emacs.html">GNU Emacs</a>.</p>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    60
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    61
<ul>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    62
<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
    63
is included with the Panther (MacOS 10.3) installation discs, though it is
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    64
not installed by default. The Command key serves as Meta, but it is
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    65
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
    66
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
    67
in the X11 preferences.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    68
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    69
<li>Some people prefer the <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    70
"http://www.osxgnu.org/software/Xwin/WindowManagers/OroborOSX/">OroborOSX</a>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    71
window manager. It must be used in conjunction with <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    72
"http://xfree86.org/">XFree86</a>, which is easy to install if you use the
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    73
installer provided by the <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    74
"http://sourceforge.net/projects/xonx/">XonX</a> project.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    75
</ul>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    76
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    77
<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
    78
<a href="http://fink.sourceforge.net/">Fink</a>. Install the Fink package
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    79
<tt>xemacs-sumo-pkg</tt> to get the XEmacs libraries that Proof General needs
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    80
to run. To install GNU Emacs, install the package <tt>emacs21</tt>. Fink can
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    81
compile from sources, but this takes hours, so it is better to request binary
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    82
installations.</p>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    83
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    84
<p>To use <a href="http://www.gnu.org/software/emacs/emacs.html">GNU
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    85
Emacs</a> instead of <a href="http://www.xemacs.org/">XEmacs</a>, you must
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    86
recompile Proof General and X-Symbol following the instructions <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    87
"http://proofgeneral.inf.ed.ac.uk/FAQ">here</a>. Note that Proof General
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    88
incorporates its own copy of X-Symbol.</p>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    89
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    90
<ol>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    91
<li>Install X11 or OroborOSX.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    92
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    93
<li>Install XEmacs (and its libraries), or install GNU Emacs and recompile
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    94
Proof General.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    95
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    96
<li>You may want to install this drag-and-drop <a href=
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    97
"IsabelleDroplet.dmg">Isabelle launcher</a>. It is a simple hack that
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    98
invokes xemacs on any files dropped on it.</li>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
    99
</ol>
26118e92cd62 added notes for mac os
haftmann
parents:
diff changeset
   100