You are writing a comment about Deploying Django with Fabric, here is a quick summary:
A look at how to manage deployment complexity with Django using Fabric. Something of a continuation on the post from yesterday.
You are responding to this comment written by Ramin on July 8th 2009, 15:54.
Thanks for the write-up.
Just an FYI for those people trying to install Fab on a MacOS Leopard or Snow Leopard machine. I kept getting a build error when running the "sudo python setup.py build install" command even though I had Python 2.6 installed. It would fail to find the proper stdarg.h file:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
After some looking around, the solution was to "sudo vi" that stdarg.h file, comment out the line where it says "#include_next <stdarg.h>" and add the following hard-path version:
#include "/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/stdarg.h"</blockquote>
Save and rerun the setup.py build. Once completed, I put the stdarg.h back to the way it was but the same error may pop up for other source-code builds.
I'm still getting a DeprecationWarning from SHA.py when running fab, but at least the command line seems to work.
Hope this helps save some time for a future Googler :-)
Please be aware that comment forms go stale after one hour.
Comments may make use of LifeFlow MarkDown. Raw html will be escaped.
Quick Introduction to LifeFlow MarkDown Syntax
A highlighted code block:
Other common languages work as well: scheme, python, java, html, etc.
Other markdown syntax: