Comment 4 for bug 1113476

Revision history for this message
Charles Profitt (cprofitt) wrote :

installing libpq-dev seems to have gotten me farther than before...

Two messages now:

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.13 (dt dec ext pq3)" -DPG_VERSION_HEX=0x090107 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.1/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o

psycopg/psycopgmodule.c:23:20: fatal error: Python.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /home/cprofitt/dev/ubuntu-friendly/bin/python -c "import setuptools;__file__='/home/cprofitt/dev/ubuntu-friendly/build/psycopg2/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EjhUyn-record/install-record.txt --single-version-externally-managed --install-headers /home/cprofitt/dev/ubuntu-friendly/include/site/python2.7 failed with error code 1 in /home/cprofitt/dev/ubuntu-friendly/build/psycopg2
Storing complete log in /home/cprofitt/.pip/pip.log
make: *** [requirements] Error 1

Perhaps I should try a clean install.

I am running 12.10 x64