d/installation/index.html @ 9c983cbfec17

clojure-lanterna: Update site.
author Steve Losh <steve@stevelosh.com>
date Fri, 07 Sep 2012 14:05:59 -0400
parents e18a28e88426
children 38fa67c580a2
<html><head><title>Installation / d</title><link rel="stylesheet" href="../_dmedia/bootstrap.css"/><link rel="stylesheet" href="../_dmedia/tango.css"/><link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/><script src="../_dmedia/less.js" type="text/javascript">
        </script></head><body class="content">
        <div class="wrap">
            <header><h1><a href="..">d</a></h1></header><div class="markdown">
<h1 id="installation"><a href="">Installation</a></h1><p>You just need Python and <code>pip</code>:</p>
<div class="codehilite"><pre>pip install d
</pre></div>


<p>You can use <code>easy_install</code> if you really want:</p>
<div class="codehilite"><pre>easy_install d
</pre></div>


<p><code>d</code> uses Markdown, Pygments, and Pyquery to do some of the heavy lifting.</p>
<h2 id="troubleshooting">Troubleshooting</h2>
<p>Some users have reported problems compiling the lxml library on OS X.  If you
get a message that looks like this when installing:</p>
<div class="codehilite"><pre><span class="n">src</span><span class="sr">/lxml/</span><span class="n">lxml</span><span class="o">.</span><span class="n">etree</span><span class="o">.</span><span class="n">c:165674:</span> <span class="n">fatal</span> <span class="n">error:</span> <span class="n">error</span> <span class="n">writing</span> <span class="n">to</span> <span class="o">-</span><span class="p">:</span> <span class="n">Broken</span> <span class="nb">pipe</span>
    <span class="n">compilation</span> <span class="n">terminated</span><span class="o">.</span>
    <span class="n">lipo:</span> <span class="n">can</span><span class="s">'t open input file: /var/tmp//ccZmfWit.out (No such file or directory)</span>
<span class="s">    error: command '</span><span class="n">gcc</span><span class="o">-</span><span class="mf">4.2</span><span class="err">'</span> <span class="n">failed</span> <span class="n">with</span> <span class="nb">exit</span> <span class="n">status</span> <span class="mi">1</span>
</pre></div>


<p>Try running this command and installing again:</p>
<div class="codehilite"><pre><span class="n">export</span> <span class="n">ARCHFLAGS</span><span class="o">=</span><span class="s">"-arch i386 -arch x86_64"</span>
</pre></div>
                </div>
            <footer><p>Created by <a href="http://stevelosh.com">Steve Losh</a>.
Inspired by <a href="http://stevelosh.com/projects/t/">t</a>.</p>
<p><br/><a id="rochester-made" href="http://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made"/></a></p>
<script type="text/javascript">
  var _gauges = _gauges || [];
  (function() {
    var t   = document.createElement('script');
    t.type  = 'text/javascript';
    t.async = true;
    t.id    = 'gauges-tracker';
    t.setAttribute('data-site-id', '4f843f8c613f5d65280000e6');
    t.src = '//secure.gaug.es/track.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(t, s);
  })();
</script></footer></div>
    </body></html>