Changeset 64696 for trunk/doc-new


Ignore:
Timestamp:
Mar 15, 2010, 12:47:40 AM (10 years ago)
Author:
raimue@…
Message:

guide: Add applications dir to the instructions for multiple MacPorts installations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/installing.xml

    r62151 r64696  
    309309      use the default Tcl library path <filename>/Library/Tcl/</filename>, so
    310310      for additional installations use the option
    311       <option>--with-tclpackage</option> as shown below and substitute
    312       NEW_TCL_PACKAGE with any empty directory, for example
    313       <filename>/Library/Tcl/macports-new/</filename>.</para>
     311      <option>--with-tclpackage</option> as shown below. It's also recommended
     312      to change the applications dir using
     313      <option>--with-applications-dir</option> to avoid conflicts in
     314      <filename>/Applications/MacPorts</filename>.</para>
    314315
    315316      <note>
     
    320321
    321322      <programlisting><prompt>%%</prompt> <userinput>export PATH=/bin:/sbin:/usr/bin:/usr/sbin</userinput>
    322 <prompt>%%</prompt> <userinput>cd ~/MacPorts-1.x.x/</userinput>
    323 <prompt>%%</prompt> <userinput>./configure --prefix=NEW_PREFIX --with-tclpackage=NEW_TCLPACKAGE</userinput>
     323<prompt>%%</prompt> <userinput>MP_PREFIX=/opt/macports-test</userinput>
     324<prompt>%%</prompt> <userinput>./configure --prefix=$MP_PREFIX --with-tclpackage=$MP_PREFIX/Library/Tcl --with-applications-dir=$MP_PREFIX/Applications</userinput>
    324325<prompt>%%</prompt> <userinput>make</userinput>
    325326<prompt>%%</prompt> <userinput>sudo make install</userinput>
Note: See TracChangeset for help on using the changeset viewer.