[MacPorts] Notification: InstallingMacPorts modified
MacPorts
noreply at macports.org
Tue Aug 12 07:39:53 PDT 2008
Changed page "InstallingMacPorts" by pburkholder at pobox.com from 130.14.27.81*
Page URL: <http://trac.macports.org/wiki/InstallingMacPorts>
Diff URL: <http://trac.macports.org/wiki/InstallingMacPorts?action=diff&version=32>
Revision 32
Comment: clean up non-root install section
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: InstallingMacPorts
=========================================================================
--- InstallingMacPorts (version: 31)
+++ InstallingMacPorts (version: 32)
@@ -116,16 +116,20 @@
'''Note:'''
* To see why /usr/local is not a viable install location for MacPorts, see the [http://trac.macosforge.org/projects/macports/wiki/FAQ MacPorts FAQ]
-=== Install MacPorts from source as an unprivileged user ===
+=== Install MacPorts from source as an unprivileged (non-root) user ===
-If you don't have root on your machine, or if you just prefer to install packages without becoming root, the following steps will install MacPorts into ~/macports.
+If you don't have root on your machine, or if you just prefer to install packages without becoming root, the following steps will install MacPorts into ~/macports (tested on Leopard and Tiger).
- * Note: For Leopard, one needs to apply the patch from http://trac.macports.org/changeset/32105
+
+ * Download the source as bzip2 tarball from [http://svn.macports.org/repository/macports/downloads/ MacPorts download area]
* Run the following
{{{
tar -jxf MacPorts-1.6.0.tar.bz2 && cd MacPorts-1.6.0
+}}}
+ * Note: For Leopard, you next need to apply the patch from http://trac.macports.org/changeset/32105. Then:
+{{{
PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure \
--prefix=$HOME/macports \
--with-install-user=`id -un` \
@@ -141,7 +145,7 @@
* Add something like the following to your Mac's ".bashrc":
{{{
- export PATH=$HOME/macports/bin:$HOME/macports/sbin:$PATH:$HOME/lbin:$HOME/bin
+ export PATH=$HOME/macports/bin:$HOME/macports/sbin:$PATH
export MANPATH=$HOME/macports/share/man:$MANPATH
export PERL5LIB=$HOME/macports/lib/perl5/5.8.8:$HOME/macports/lib/perl5/vendor_perl/5.8.8:$PERL5LIB
}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user is behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/
added your email address to be notified of changes on MacPorts.
If it was not you, please report to http://www.macports.org/.
More information about the macports-changes
mailing list