- Timestamp:
- Aug 27, 2007, 4:30:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/guide/new/xml/installing.xml
r28261 r28267 5 5 <title>Installing MacPorts</title> 6 6 7 <para>This chapter show you how to install MacPorts and its prerequis tes7 <para>This chapter show you how to install MacPorts and its prerequisites 8 8 step-by-step. Note that sections 1 through 3 are Mac OS X specific. If you 9 9 wish to install MacPorts on FreeBSD, first make sure you have gcc and X11 … … 168 168 169 169 <listitem> 170 <para>Perform these commands in a terminal window.</para> 171 172 <programlisting><prompt>%%</prompt> <userinput>cd ~/MacPorts-1.4.0/</userinput> 173 <prompt>%%</prompt> <userinput>./configure</userinput> 170 <para>Perform these commands in a terminal window, substituting a real 171 path for NEW_PREFIX if you wish to use a path other than 172 <filename>/opt/local/</filename>.</para> 173 174 <programlisting><prompt>%%</prompt> <userinput>cd ~/MacPorts-1.x.x/</userinput> 175 <prompt>%%</prompt> <userinput>./configure</userinput> --prefix=NEW_PREFIX (setting prefix is optional) 174 176 <prompt>%%</prompt> <userinput>make</userinput> 175 177 <prompt>%%</prompt> <userinput>sudo make install</userinput></programlisting> … … 177 179 </orderedlist> 178 180 179 <note> 180 <para>A MacPorts <link linkend="installing.selfupdate">selfupdate</link> 181 operation will automatically update to the latest release if the binary 182 .dmg image is behind the latest released tarball.</para> 183 </note> 181 <section id="installing.source.multiple"> 182 <title>Multiple MacPorts Installs</title> 183 184 <para>Occasionally a MacPorts developer may wish to install more than 185 one copy of MacPorts on the same host, possibly to test two different 186 versions of MacPorts. But only one copy of MacPorts may use the default 187 MacPorts Tcl library path <filename>/Library/Tcl</filename>, so for a 188 second installation use the <literal>--with-tclpackage</literal> switch 189 set to any newly created (empty) directory. Also, the standard MacPorts 190 binary path must not be present during the installation of the second 191 instance. To install a second instance of MacPorts, follow these 192 steps.</para> 193 194 <programlisting><prompt>%%</prompt> <userinput>export PATH=/bin:/sbin:/usr/bin:/usr/sbin</userinput> 195 <prompt>%%</prompt> <userinput>cd ~/MacPorts-1.x.x/</userinput> 196 <prompt>%%</prompt> <userinput>./configure --prefix=NEW_PREFIX --with-tcl-package=/Library/Tcl/macports-new</userinput> 197 <prompt>%%</prompt> <userinput>make</userinput> 198 <prompt>%%</prompt> <userinput>sudo make install</userinput> 199 </programlisting> 200 </section> 184 201 </section> 185 202
Note: See TracChangeset
for help on using the changeset viewer.