301be63dbaaf

d: Update site.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 04 Feb 2012 14:34:57 -0500
parents ed0aca7cd044
children ca9f5c5a8547
branches/tags (none)
files d/installation/index.html

Changes

--- a/d/installation/index.html	Fri Feb 03 18:09:45 2012 -0500
+++ b/d/installation/index.html	Sat Feb 04 14:34:57 2012 -0500
@@ -13,6 +13,19 @@
 
 
 <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>