<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Ellipsis: Tag 10.5</title>
    <link>http://typo.pburkholder.com/articles/tag/10.5?tag=10.5</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>...</description>
    <item>
      <title>Macports without root on Leopard (and Tiger)</title>
      <description>&lt;p&gt;I don&amp;#8217;t have root on my desktop Mac at $WORK, even though I have root on about 1200 production systems.  &lt;em&gt;sigh&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;So, I asked my Mac administrator to install the &lt;a href="http://developer.apple.com/technology/xcode.html"&gt;XCode development tools&lt;/a&gt;.  Once that was done, all I needed to was the following.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Download the MacPort.tar.bz source distribution: http://svn.macports.org/repository/macports/downloads/MacPorts-1.6.0/MacPorts-1.6.0.tar.bz2&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Note:  For Leopard, one needs to apply the patch from http://trac.macports.org/changeset/32105&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Run the following:&lt;code&gt;&lt;pre&gt;

  tar -jxf MacPorts-1.6.0.tar.bz2 &amp;#38;&amp;#38; cd MacPorts-1.6.0

  PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure \
  --prefix=$HOME/macports \
  --with-install-user=`id -un` \
  --with-install-group=`id -gn` \
  --x-includes=/usr/X11R6/include \
  --x-libraries=/usr/X11R6/lib \
  --with-tclpackage=$HOME/macports/share/macports/Tcl

  make
  make install

&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Add something like the following to your Mac&amp;#8217;s &lt;a href="&lt;redpre#2"&gt;.bashrc&lt;/a&gt;&amp;gt;&lt;pre&gt;

  export PATH=$HOME/macports/bin:$HOME/macports/sbin
  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
&lt;/pre&gt;&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Run a selfupdate: &lt;code&gt;port selfupdate&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;Now you do can do cool things like learn Scheme over lunch with: &lt;code&gt;port search scheme; port install mzscheme&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I&amp;#8217;ve added this to the &lt;a href="https://trac.macports.org/wiki/InstallingMacPorts"&gt;MacPorts wiki&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:02:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:5df0933c-a8ba-42a9-aa76-52b31ed3164f</guid>
      <author>Peter Burkholder</author>
      <link>http://typo.pburkholder.com/articles/2008/08/11/macports-without-root-on-leopard-and-tiger</link>
      <category>System Administration</category>
      <category>macosx</category>
      <category>tiger</category>
      <category>leopard</category>
      <category>macports</category>
      <category>port</category>
      <category>10.5</category>
      <category>10.4</category>
      <category>macos</category>
    </item>
  </channel>
</rss>
