title: Error when installing lxml on MacOSX 10.7.5:
body: <p>I am running into many problems when trying to install lxml on MacOSX 10.7.5 with Homebrew and pip. I have Xcode 4.6.3 with the Command-line tools installed. Here are my exact steps:</p>
  
  <pre><code>$ export CC=llvm-gcc-4.2
  $ export CXX=llvm-g++-4.2
  $ brew install --use--llvm libxml2
  $ brew install --use-llvm libxslt
  $ sudo pip install lxml
  </code></pre>
  
  <p>The brew installs finish successfully, but the pip install gives me the following error:</p>
  
  <pre><code>error: command 'cc' failed with exit status 1
  </code></pre>
  
  <p>Full log is here: <a href="https://gist.github.com/sloria/5902993" rel="nofollow">https://gist.github.com/sloria/5902993</a></p>
  
  <p>When I try to use easy_install:</p>
  
  <pre><code>$ sudo easy_install lxml
  </code></pre>
  
  <p>I get a different error:</p>
  
  <pre><code>error: Setup script exited with error: command 'cc' failed with exit status 1
  </code></pre>
  
  <p>Full log here: <a href="https://gist.github.com/sloria/5903014" rel="nofollow">https://gist.github.com/sloria/5903014</a></p>
  
  <p>What is going on here?</p>