I just pulled a fresh copy from github, and when I run setup.py, I get the following errors:
fatal: No names found, cannot describe anything.
WARNING: git describe failed with: 32768
WARNING: Unable to determine version. Using 3.1.0.0
running build
running build_ext
building 'pyodbc' extension
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
/usr/include/python2.6/datetime.h:186: warning: ‘PyDateTimeAPI’ defined but not used
error: command 'gcc' failed with exit status 1