<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[120836] trunk/doc-new/guide/xml/installing.xml</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/120836">120836</a></dd>
<dt>Author</dt> <dd>cal@macports.org</dd>
<dt>Date</dt> <dd>2014-06-09 09:13:42 -0700 (Mon, 09 Jun 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>guide/installing: Remove section on X11 since it was outdated, update Xcode installation instructions, replace links to connect.apple.com</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdocnewguidexmlinstallingxml">trunk/doc-new/guide/xml/installing.xml</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdocnewguidexmlinstallingxml"></a>
<div class="modfile"><h4>Modified: trunk/doc-new/guide/xml/installing.xml (120835 => 120836)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/doc-new/guide/xml/installing.xml        2014-06-09 12:05:35 UTC (rev 120835)
+++ trunk/doc-new/guide/xml/installing.xml        2014-06-09 16:13:42 UTC (rev 120836)
</span><span class="lines">@@ -6,114 +6,24 @@
</span><span class="cx"> <chapter id="installing">
</span><span class="cx"> <title>Installing MacPorts</title>
</span><span class="cx">
</span><del>- <para>This chapter shows you how to install MacPorts and its prerequisites
- step-by-step. Note that the sections about <link
- linkend="installing.x11">installing X11</link> and <link
- linkend="installing.xcode">installing Xcode</link> are Mac OS X
- specific. If you wish to install MacPorts on another platform, first make
- sure you have X11 and gcc installed, and then skip ahead to <link
- linkend="installing.macports.source">installing MacPorts from source</link>
- and continue to the end of the chapter.</para>
</del><ins>+ <para>This chapter shows you how to install MacPorts and its prerequisites step-by-step. Note that the section about
+ <link linkend="installing.xcode">installing Xcode</link> is Mac OS X-specific. If you wish to install MacPorts on
+ another platform, first make sure you have a working C compiler installed, skip ahead to <link
+ linkend="installing.macports.source">installing MacPorts from source</link>, and continue to the end of the
+ chapter.</para>
</ins><span class="cx">
</span><del>- <section id="installing.x11">
- <title>Install X11</title>
-
- <para>
- X11.app allows you to run applications using the X Window System, which
- is the traditional display server on most other UNIX like systems. Additionally, the
- <ulink url="http://xquartz.macosforge.org/trac/wiki"> Xquartz</ulink>
- project provides an updated version of the X server.
- </para>
-
- <note>
- <para>
- As of Mac OS X 10.5 Leopard, X11.app is included in the default
- installation. You can just <link linkend="installing.xcode">skip this
- section</link> for any later version of Mac OS X.
- </para>
- </note>
-
- <orderedlist>
- <listitem>
- <para>Insert the <quote>Mac OS X Install Disk</quote> and run the
- package named <quote>Optional Installs</quote>.</para>
- </listitem>
-
- <listitem>
- <para>At the software selection window expand the
- <guilabel>Applications</guilabel> category and click the check box
- beside <guilabel>X11</guilabel> (and nothing else).</para>
- </listitem>
-
- <listitem>
- <para>Click <guibutton>Install</guibutton> to install X11.</para>
- </listitem>
- </orderedlist>
-
- <para>Before launching an X11 application on Mac OS X 10.4, you must open X11.app
- and start an xterm session. Later OS versions should launch X11.app automatically when
- an X11 application is run from the Terminal.</para>
-
- <programlisting><prompt>%%</prompt> <userinput>xterm</userinput></programlisting>
-
- <para>After the X11 session window opens, you may launch X11 apps from
- another terminal window. See <link
- linkend="installing.x11.settings">Optional X11 Settings</link> if you wish
- to launch X11 applications from an X11 session window.</para>
-
- <note>
- <para>X11 and the X11SDK (from Xcode Tools) are both required for X11
- apps. To verify the presence of both, check for files
- <filename>com.apple.pkg.X11User.bom</filename> &amp;
- <filename>com.apple.pkg.X11SDKLeo.bom</filename> in
- <filename>/Library/Receipts/boms/</filename>. On Mac OS X 10.4, look for
- files <filename>X11User.pkg</filename> &amp;
- <filename>X11SDK.pkg</filename> in
- <filename>/Library/Receipts/</filename>.</para>
- </note>
-
- <section id="installing.x11.settings">
- <title>Optional X11 Settings</title>
-
- <para>To launch X11 applications directly from an X11 window (instead of
- a regular terminal window), you need to make it so X11 sessions opened
- using the menu bar respect your <filename>.profile</filename>
- file.</para>
-
- <orderedlist>
- <listitem>
- <para>Open X11 and select <guimenuitem>Customize Menu
- ...</guimenuitem> from the <guimenu>Applications</guimenu>
- menu.</para>
- </listitem>
-
- <listitem>
- <para>Double-click the menu item <guimenuitem>Terminal</guimenuitem>
- and change: <quote>xterm</quote> to <quote>xterm -ls</quote></para>
- </listitem>
-
- <listitem>
- <para>Click <guibutton>Done</guibutton> to save the change.</para>
- </listitem>
- </orderedlist>
- </section>
- </section>
-
</del><span class="cx"> <section id="installing.xcode">
</span><span class="cx"> <title>Install Xcode</title>
</span><span class="cx">
</span><span class="cx"> <para>
</span><del>- <ulink url="https://developer.apple.com/xcode/">Xcode</ulink>
- is a package provided by Apple containing compilers, libraries and
- additional tools required to develop applications for Mac OS X.
</del><ins>+ <ulink url="https://developer.apple.com/xcode/">Xcode</ulink> is a package provided by Apple containing compilers,
+ libraries and additional tools required to develop applications for Mac OS X.
</ins><span class="cx"> </para>
</span><span class="cx">
</span><span class="cx"> <note>
</span><del>- <para>Always make sure to install the latest available version of Xcode
- for your Mac OS X release; using outdated versions of Xcode
- may cause port install failures. Also note that Xcode is not
- updated via Mac OS X's Software Update utility on OS versions prior
- to 10.6, and is updated via the Mac App Store on 10.7.</para>
</del><ins>+ <para>Always make sure to install the latest available version of Xcode for your Mac OS X release; using outdated
+ versions of Xcode may cause port install failures. Also note that Xcode is not updated via Mac OS X's Software
+ Update utility on OS versions prior to 10.6, and is updated via the Mac App Store starting with 10.7.</para>
</ins><span class="cx"> </note>
</span><span class="cx">
</span><span class="cx"> <para>Follow the instructions for your version of Mac OS X:</para>
</span><span class="lines">@@ -122,16 +32,16 @@
</span><span class="cx"> <title>Install Xcode on OS X 10.9 or later</title>
</span><span class="cx">
</span><span class="cx"> <para>
</span><del>- Download the latest version of Xcode <ulink
- url="https://developer.apple.com/downloads/index.action"> from the
- Apple developer website</ulink> or get it <ulink
- url="http://itunes.apple.com/us/app/xcode/id497799835">
- using the Mac App Store</ulink>.
</del><ins>+ Download the latest version of Xcode <ulink url="https://developer.apple.com/downloads/index.action">from the
+ Apple developer website</ulink> or get it <ulink url="http://itunes.apple.com/us/app/xcode/id497799835">using
+ the Mac App Store</ulink>.
</ins><span class="cx"> </para>
</span><del>-
</del><span class="cx"> <para>
</span><del>- Once you have Xcode installed, open a terminal and run
- <userinput>xcode-select --install</userinput>.
</del><ins>+ Once you have Xcode installed, open a terminal, run <userinput>xcode-select --install</userinput>, and click the
+ Install button to install the required command line developer tools. Don't worry if you see a message telling
+ you the software cannot be installed because it is not currently available from the Software Update Server. This
+ usually means you already have the latest version installed. You can also get the command line tools from <ulink
+ url="https://developer.apple.com/downloads/index.action">the Apple developer website</ulink>.
</ins><span class="cx"> </para>
</span><span class="cx"> </section>
</span><span class="cx">
</span><span class="lines">@@ -139,29 +49,25 @@
</span><span class="cx"> <title>Install Xcode on OS X 10.7 Lion or OS X 10.8 Mountain Lion</title>
</span><span class="cx">
</span><span class="cx"> <para>
</span><del>- Download the latest version of Xcode <ulink
- url="https://developer.apple.com/downloads/index.action">from the Apple developer
- website</ulink> or get it <ulink
- url="http://itunes.apple.com/us/app/xcode/id497799835">using the Mac
- App Store</ulink>.
</del><ins>+ Download the latest version of Xcode <ulink url="https://developer.apple.com/downloads/index.action">from the
+ Apple developer website</ulink> or get it <ulink url="http://itunes.apple.com/us/app/xcode/id497799835">using
+ the Mac App Store</ulink>.
</ins><span class="cx"> </para>
</span><span class="cx">
</span><span class="cx"> <section id="installing.xcode.lion.43">
</span><span class="cx"> <title>Xcode 4.3 and later</title>
</span><span class="cx"> <para>
</span><del>- Xcode 4.3 and later do not automatically install the command line tools, but
- MacPorts requires them. To install them, open the Xcode application, go to the
- Preferences window, to the Downloads section, and click the Install button
- next to Command Line Tools. Be sure to return to this window after every Xcode
- upgrade to ensure that the command line tools are also upgraded.
</del><ins>+ Xcode 4.3 and later do not automatically install the command line tools, but MacPorts requires them. To
+ install them, open the Xcode application, go to the Preferences window, to the Downloads section, and click
+ the Install button next to Command Line Tools. Be sure to return to this window after every Xcode upgrade to
+ ensure that the command line tools are also upgraded.
</ins><span class="cx"> </para>
</span><span class="cx"> <para>
</span><del>- If you wish to create Installer packages with <userinput>port pkg</userinput>,
- you will also need to install PackageMaker, which is in the <quote>Auxiliary
- Tools for Xcode</quote> package as of Xcode 4.3. The download page for this package
- can be opened via the Xcode -> Open Developer Tool -> More Developer Tools...
- menu item. After downloading and mounting the disk image, drag the PackageMaker
- application to your /Applications directory.
</del><ins>+ If you wish to create Installer packages with <userinput>port pkg</userinput>, you will also need to install
+ PackageMaker, which is in the <quote>Auxiliary Tools for Xcode</quote> package as of Xcode 4.3. The download
+ page for this package can be opened via the Xcode -> Open Developer Tool -> More Developer Tools... menu item.
+ After downloading and mounting the disk image, drag the PackageMaker application to your /Applications
+ directory.
</ins><span class="cx"> </para>
</span><span class="cx"> </section>
</span><span class="cx"> </section>
</span><span class="lines">@@ -169,43 +75,43 @@
</span><span class="cx"> <section id="installing.xcode.snowleopard">
</span><span class="cx"> <title>Install Xcode on Mac OS X 10.6 Snow Leopard</title>
</span><span class="cx">
</span><del>- <para>If you are using Mac OS X 10.6, there are two branches of Xcode
- which could be considered to be the latest, 3.2.x and 4.x. Xcode 4
- costs money, but Xcode 3 is still available free of charge. There are
- two options for downloading it:
</del><ins>+ <para>
+ If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the latest,
+ 3.2.x and 4.x. Xcode 4 costs money, but Xcode 3 is still available free of charge. There are two options for
+ downloading it:
</ins><span class="cx"> <orderedlist>
</span><span class="cx"> <listitem>
</span><span class="cx"> <para>
</span><del>- <ulink url="https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20588">
- Xcode 3.2.2</ulink> - smaller download, but you will need to run Software Update after installing to
- get the latest version.
</del><ins>+ Xcode 3.2 - smaller download, but you will need to run Software Update after installing to get the latest
+ version. Note that Apple might at some point discontinue providing these updates via their update servers.
</ins><span class="cx"> </para>
</span><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><span class="cx"> <para>
</span><del>- <ulink url="https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792">
- Xcode 3.2.6 and iOS SDK 4.3</ulink> - includes iOS SDK which is not needed for MacPorts.
</del><ins>+ Xcode 3.2.6 and iOS SDK 4.3 - includes the iOS SDK which is not needed for MacPorts.
</ins><span class="cx"> </para>
</span><span class="cx"> </listitem>
</span><span class="cx"> </orderedlist>
</span><del>- You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software Update to get
- the latest version.
</del><ins>+ Both are available from the <ulink url="https://developer.apple.com/downloads/index.action">Apple developer
+ website</ulink>. You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software
+ Update to get the latest version.
</ins><span class="cx"> </para>
</span><span class="cx">
</span><del>- <para>Ensure that those of the following options that are available in the
- installer for your version of Xcode are selected:
- <itemizedlist>
</del><ins>+ <para>
+ Ensure that those of the following options that are available in the installer for your version of Xcode are
+ selected:
+ <itemizedlist>
</ins><span class="cx"> <listitem>
</span><del>- <guibutton>UNIX Development</guibutton>
</del><ins>+ <guibutton>UNIX Development</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>System Tools</guibutton>
</del><ins>+ <guibutton>System Tools</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>X11 SDK</guibutton>
</del><ins>+ <guibutton>X11 SDK</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>Command Line Support</guibutton>
</del><ins>+ <guibutton>Command Line Support</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> </itemizedlist>
</span><span class="cx"> </para>
</span><span class="lines">@@ -215,29 +121,26 @@
</span><span class="cx"> <title>Install Xcode on older releases of Mac OS X</title>
</span><span class="cx">
</span><span class="cx"> <para>
</span><del>- If you have an earlier release of Mac OS X, you may download
- the latest version of Xcode
- <ulink
- url="http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20491">for OS X 10.5 (v3.1.4)</ulink>
- or
- <ulink
- url="http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907">for 10.4 (v2.5)</ulink>.
</del><ins>+ If you have an earlier release of Mac OS X, you may download the latest version of Xcode for OS X 10.5 (Xcode
+ 3.0 and Xcode 3.1 Developer Tools) or 10.4 (Xcode 2.4.1 and Xcode 2.5 Developer Tools) from the <ulink
+ url="https://developer.apple.com/downloads/index.action">Apple developer website</ulink>.
</ins><span class="cx"> </para>
</span><span class="cx">
</span><del>- <para>Ensure that those of the following options that are available in the
- installer for your version of Xcode are selected:
- <itemizedlist>
</del><ins>+ <para>
+ Ensure that those of the following options that are available in the installer for your version of Xcode are
+ selected:
+ <itemizedlist>
</ins><span class="cx"> <listitem>
</span><del>- <guibutton>UNIX Development</guibutton>
</del><ins>+ <guibutton>UNIX Development</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>System Tools</guibutton>
</del><ins>+ <guibutton>System Tools</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>X11 SDK</guibutton>
</del><ins>+ <guibutton>X11 SDK</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> <listitem>
</span><del>- <guibutton>Command Line Support</guibutton>
</del><ins>+ <guibutton>Command Line Support</guibutton>
</ins><span class="cx"> </listitem>
</span><span class="cx"> </itemizedlist>
</span><span class="cx"> </para>
</span></span></pre>
</div>
</div>
</body>
</html>