Hello All,I tried to install psycopg2 but failed with the following message
building 'psycopg2._psycopg' extension
cc -O2 -fPIC -Wimplicit -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090109 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/home/stevek/pypy/include -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 -Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:38:0:
./psycopg/error.h:32:5: error: unknown type name ‘PyBaseExceptionObject’
error: command 'cc' failed with exit status 1Looks like the python header from pypy does not declare PyBaseExceptionObject
Any way to fix this?Thanks in adanvace,
--
Steve Kieu
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev