What steps will reproduce the problem?
1. Download pyodbc 3.07 source
2. Install gcc using cygwin on Windows 7
3. Running: python setup.py build
What is the expected output? What do you see instead?
I expect things to compile, but I get this:
running build
running build_ext
building 'pyodbc' extension
gcc -fno-strict-aliasing -ggdb -O2 -pipe
-fdebug-prefix-map=/usr/src/ports/python/python-2.7.3-1/build=/usr/src/debug/pyt
hon-2.7.3-1
-fdebug-prefix-map=/usr/src/ports/python/python-2.7.3-1/src/Python-2.7.3=/usr/sr
c/debug/python-2.7.3-1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-DPYODBC_VERSION=3.0.7 -I/usr/include/python2.7 -c
/cygdrive/c/Users/nguyenv2/Downloads/pyodbc-3.0.7/src/buffer.cpp -o
build/temp.cygwin-1.7.22-x86_64-2.7/cygdrive/c/Users/nguyenv2/Downloads/pyodbc-3
.0.7/src/buffer.o
gcc: error: spawn: No such file or directory
error: command 'gcc' failed with exit status 1
Is it because it is referencing /usr/src/ports/python/python-2.7.3-1/build
which doesn't really exist. Help? Thanks.
PS I need to compile from source as I can't access outside network (pip and
easy_install) at work. Thanks.
Original issue reported on code.google.com by vinhdi...@gmail.com on 6 Aug 2013 at 9:49
Original issue reported on code.google.com by
vinhdi...@gmail.com
on 6 Aug 2013 at 9:49