# HG changeset patch
# User Steve Losh <steve@stevelosh.com>
# Date 1328384082 18000
# Node ID f97c78fac690e9e0e72257328402f2184caaf9ff
# Parent  67ded4d11022b6dac37c32f07f769f190636e0d7
Installation troubleshooting notice.

diff -r 67ded4d11022 -r f97c78fac690 docs/01-installation.markdown
--- a/docs/01-installation.markdown	Fri Feb 03 18:10:11 2012 -0500
+++ b/docs/01-installation.markdown	Sat Feb 04 14:34:42 2012 -0500
@@ -12,3 +12,18 @@
     easy_install d
 
 `d` uses Markdown, Pygments, and Pyquery to do some of the heavy lifting.
+
+Troubleshooting
+---------------
+
+Some users have reported problems compiling the lxml library on OS X.  If you
+get a message that looks like this when installing:
+
+    src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe
+        compilation terminated.
+        lipo: can't open input file: /var/tmp//ccZmfWit.out (No such file or directory)
+        error: command 'gcc-4.2' failed with exit status 1
+
+Try running this command and installing again:
+
+    export ARCHFLAGS="-arch i386 -arch x86_64"