Skip to content

Instantly share code, notes, and snippets.

@zellyn
Created March 19, 2010 13:54
Show Gist options
  • Save zellyn/337516 to your computer and use it in GitHub Desktop.
Save zellyn/337516 to your computer and use it in GitHub Desktop.
(tmp)datl9wzhunter:~ zhunter$ pip install psycopg2
Downloading/unpacking psycopg2
Running setup.py egg_info for package psycopg2
Warning: Unable to find 'pg_config' filereading manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
warning: no files found matching 'TODO' under directory 'doc'
no previously-included directories found matching 'doc/src/_build'
Installing collected packages: psycopg2
Running setup.py install for psycopg2
Warning: Unable to find 'pg_config' filebuilding 'psycopg2._psycopg' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.14 (dt dec ext pq3)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I. -c psycopg/psycopgmodule.c -o build/temp.macosx-10.5-i386-2.5/psycopg/psycopgmodule.o
In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
In file included from psycopg/psycopgmodule.c:33:
./psycopg/connection.h:72: error: syntax error before ‘PGconn’
./psycopg/connection.h:72: warning: no semicolon at end of struct or union
./psycopg/connection.h:89: error: syntax error before ‘}’ token
./psycopg/connection.h:89: warning: type defaults to ‘int’ in declaration of ‘connectionObject’
./psycopg/connection.h:89: warning: data definition has no type or storage class
./psycopg/connection.h:92: error: syntax error before ‘*’ token
./psycopg/connection.h:92: warning: function declaration isn’t a prototype
./psycopg/connection.h:93: error: syntax error before ‘*’ token
./psycopg/connection.h:93: warning: function declaration isn’t a prototype
./psycopg/connection.h:94: error: syntax error before ‘*’ token
./psycopg/connection.h:94: warning: function declaration isn’t a prototype
./psycopg/connection.h:95: error: syntax error before ‘*’ token
./psycopg/connection.h:95: warning: function declaration isn’t a prototype
./psycopg/connection.h:96: error: syntax error before ‘*’ token
./psycopg/connection.h:96: warning: function declaration isn’t a prototype
./psycopg/connection.h:97: error: syntax error before ‘*’ token
./psycopg/connection.h:97: warning: function declaration isn’t a prototype
./psycopg/connection.h:98: error: syntax error before ‘*’ token
./psycopg/connection.h:98: warning: function declaration isn’t a prototype
./psycopg/connection.h:99: error: syntax error before ‘*’ token
./psycopg/connection.h:99: warning: function declaration isn’t a prototype
./psycopg/connection.h:100: error: syntax error before ‘*’ token
./psycopg/connection.h:100: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:34:
./psycopg/cursor.h:45: error: syntax error before ‘connectionObject’
./psycopg/cursor.h:45: warning: no semicolon at end of struct or union
./psycopg/cursor.h:47: error: syntax error before ‘:’ token
./psycopg/cursor.h:48: error: syntax error before ‘:’ token
./psycopg/cursor.h:49: error: syntax error before ‘:’ token
./psycopg/cursor.h:61: error: syntax error before ‘*’ token
./psycopg/cursor.h:61: warning: type defaults to ‘int’ in declaration of ‘pgres’
./psycopg/cursor.h:61: warning: data definition has no type or storage class
./psycopg/cursor.h:63: error: syntax error before ‘lastoid’
./psycopg/cursor.h:63: warning: type defaults to ‘int’ in declaration of ‘lastoid’
./psycopg/cursor.h:63: warning: data definition has no type or storage class
./psycopg/cursor.h:85: error: syntax error before ‘}’ token
./psycopg/cursor.h:85: warning: type defaults to ‘int’ in declaration of ‘cursorObject’
./psycopg/cursor.h:85: warning: data definition has no type or storage class
./psycopg/cursor.h:88: error: syntax error before ‘*’ token
./psycopg/cursor.h:88: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:31:28: error: libpq/libpq-fs.h: No such file or directory
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:45: error: syntax error before ‘connectionObject’
./psycopg/lobject.h:45: warning: no semicolon at end of struct or union
./psycopg/lobject.h:51: error: syntax error before ‘oid’
./psycopg/lobject.h:51: warning: type defaults to ‘int’ in declaration of ‘oid’
./psycopg/lobject.h:51: warning: data definition has no type or storage class
./psycopg/lobject.h:52: warning: type defaults to ‘int’ in declaration of ‘lobjectObject’
./psycopg/lobject.h:52: warning: data definition has no type or storage class
./psycopg/lobject.h:56: error: syntax error before ‘*’ token
./psycopg/lobject.h:58: warning: function declaration isn’t a prototype
./psycopg/lobject.h:59: error: syntax error before ‘*’ token
./psycopg/lobject.h:59: warning: function declaration isn’t a prototype
./psycopg/lobject.h:60: error: syntax error before ‘*’ token
./psycopg/lobject.h:60: warning: function declaration isn’t a prototype
./psycopg/lobject.h:62: error: syntax error before ‘*’ token
./psycopg/lobject.h:62: warning: function declaration isn’t a prototype
./psycopg/lobject.h:63: error: syntax error before ‘*’ token
./psycopg/lobject.h:64: warning: function declaration isn’t a prototype
./psycopg/lobject.h:65: error: syntax error before ‘*’ token
./psycopg/lobject.h:65: warning: function declaration isn’t a prototype
./psycopg/lobject.h:66: error: syntax error before ‘*’ token
./psycopg/lobject.h:66: warning: function declaration isn’t a prototype
./psycopg/lobject.h:67: error: syntax error before ‘*’ token
./psycopg/lobject.h:67: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:37:
./psycopg/microprotocols.h:59: error: syntax error before ‘connectionObject’
./psycopg/microprotocols.h:59: warning: function declaration isn’t a prototype
./psycopg/microprotocols.h:62: error: syntax error before ‘*’ token
./psycopg/microprotocols.h:62: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
In file included from psycopg/psycopgmodule.c:33:
./psycopg/connection.h:72: error: syntax error before ‘PGconn’
./psycopg/connection.h:72: warning: no semicolon at end of struct or union
./psycopg/connection.h:89: error: syntax error before ‘}’ token
./psycopg/connection.h:89: warning: type defaults to ‘int’ in declaration of ‘connectionObject’
./psycopg/connection.h:89: warning: data definition has no type or storage class
psycopg/psycopgmodule.c: In function ‘psyco_register_type’:
psycopg/psycopgmodule.c:254: error: syntax error before ‘)’ token
./psycopg/connection.h:92: error: syntax error before ‘*’ token
./psycopg/connection.h:92: warning: function declaration isn’t a prototype
psycopg/psycopgmodule.c:257: error: syntax error before ‘)’ token
./psycopg/connection.h:93: error: syntax error before ‘*’ token
./psycopg/connection.h:93: warning: function declaration isn’t a prototype
./psycopg/connection.h:94: error: syntax error before ‘*’ token
./psycopg/connection.h:94: warning: function declaration isn’t a prototype
./psycopg/connection.h:95: error: syntax error before ‘*’ token
./psycopg/connection.h:95: warning: function declaration isn’t a prototype
./psycopg/connection.h:96: error: syntax error before ‘*’ token
./psycopg/connection.h:96: warning: function declaration isn’t a prototype
./psycopg/connection.h:97: error: syntax error before ‘*’ token
./psycopg/connection.h:97: warning: function declaration isn’t a prototype
./psycopg/connection.h:98: error: syntax error before ‘*’ token
./psycopg/connection.h:98: warning: function declaration isn’t a prototype
./psycopg/connection.h:99: error: syntax error before ‘*’ token
./psycopg/connection.h:99: warning: function declaration isn’t a prototype
./psycopg/connection.h:100: error: syntax error before ‘*’ token
./psycopg/connection.h:100: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:34:
./psycopg/cursor.h:45: error: syntax error before ‘connectionObject’
./psycopg/cursor.h:45: warning: no semicolon at end of struct or union
./psycopg/cursor.h:47: error: syntax error before ‘:’ token
./psycopg/cursor.h:48: error: syntax error before ‘:’ token
./psycopg/cursor.h:49: error: syntax error before ‘:’ token
./psycopg/cursor.h:61: error: syntax error before ‘*’ token
./psycopg/cursor.h:61: warning: type defaults to ‘int’ in declaration of ‘pgres’
./psycopg/cursor.h:61: warning: data definition has no type or storage class
./psycopg/cursor.h:63: error: syntax error before ‘lastoid’
./psycopg/cursor.h:63: warning: type defaults to ‘int’ in declaration of ‘lastoid’
./psycopg/cursor.h:63: warning: data definition has no type or storage class
./psycopg/cursor.h:85: error: syntax error before ‘}’ token
./psycopg/cursor.h:85: warning: type defaults to ‘int’ in declaration of ‘cursorObject’
./psycopg/cursor.h:85: warning: data definition has no type or storage class
./psycopg/cursor.h:88: error: syntax error before ‘*’ token
./psycopg/cursor.h:88: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:31:28: error: libpq/libpq-fs.h: No such file or directory
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:45: error: syntax error before ‘connectionObject’
./psycopg/lobject.h:45: warning: no semicolon at end of struct or union
./psycopg/lobject.h:51: error: syntax error before ‘oid’
./psycopg/lobject.h:51: warning: type defaults to ‘int’ in declaration of ‘oid’
./psycopg/lobject.h:51: warning: data definition has no type or storage class
./psycopg/lobject.h:52: warning: type defaults to ‘int’ in declaration of ‘lobjectObject’
./psycopg/lobject.h:52: warning: data definition has no type or storage class
./psycopg/lobject.h:56: error: syntax error before ‘*’ token
./psycopg/lobject.h:58: warning: function declaration isn’t a prototype
./psycopg/lobject.h:59: error: syntax error before ‘*’ token
./psycopg/lobject.h:59: warning: function declaration isn’t a prototype
./psycopg/lobject.h:60: error: syntax error before ‘*’ token
./psycopg/lobject.h:60: warning: function declaration isn’t a prototype
./psycopg/lobject.h:62: error: syntax error before ‘*’ token
./psycopg/lobject.h:62: warning: function declaration isn’t a prototype
./psycopg/lobject.h:63: error: syntax error before ‘*’ token
./psycopg/lobject.h:64: warning: function declaration isn’t a prototype
./psycopg/lobject.h:65: error: syntax error before ‘*’ token
./psycopg/lobject.h:65: warning: function declaration isn’t a prototype
./psycopg/lobject.h:66: error: syntax error before ‘*’ token
./psycopg/lobject.h:66: warning: function declaration isn’t a prototype
./psycopg/lobject.h:67: error: syntax error before ‘*’ token
./psycopg/lobject.h:67: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:37:
./psycopg/microprotocols.h:59: error: syntax error before ‘connectionObject’
./psycopg/microprotocols.h:59: warning: function declaration isn’t a prototype
./psycopg/microprotocols.h:62: error: syntax error before ‘*’ token
./psycopg/microprotocols.h:62: warning: function declaration isn’t a prototype
psycopg/psycopgmodule.c: In function ‘psyco_register_type’:
psycopg/psycopgmodule.c:254: error: syntax error before ‘)’ token
psycopg/psycopgmodule.c:257: error: syntax error before ‘)’ token
lipo: can't open input file: /tmp/ccJrGNBV.out (No such file or directory)
error: command 'gcc' failed with exit status 1
Complete output from command /Users/zhunter/.virtualenvs/tmp/bin/python -c "import setuptools; __file__='/Users/zhunter/.virtualenvs/tmp/build/psycopg2/setup.py'; execfile('/Users/zhunter/.virtualenvs/tmp/build/psycopg2/setup.py')" install --single-version-externally-managed --record /tmp/pip-bInZvr-record/install-record.txt --install-headers /Users/zhunter/.virtualenvs/tmp/lib/include:
running install
running build
running build_py
running build_ext
Warning: Unable to find 'pg_config' filebuilding 'psycopg2._psycopg' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.14 (dt dec ext pq3)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I. -c psycopg/psycopgmodule.c -o build/temp.macosx-10.5-i386-2.5/psycopg/psycopgmodule.o
In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
In file included from psycopg/psycopgmodule.c:33:
./psycopg/connection.h:72: error: syntax error before ‘PGconn’
./psycopg/connection.h:72: warning: no semicolon at end of struct or union
./psycopg/connection.h:89: error: syntax error before ‘}’ token
./psycopg/connection.h:89: warning: type defaults to ‘int’ in declaration of ‘connectionObject’
./psycopg/connection.h:89: warning: data definition has no type or storage class
./psycopg/connection.h:92: error: syntax error before ‘*’ token
./psycopg/connection.h:92: warning: function declaration isn’t a prototype
./psycopg/connection.h:93: error: syntax error before ‘*’ token
./psycopg/connection.h:93: warning: function declaration isn’t a prototype
./psycopg/connection.h:94: error: syntax error before ‘*’ token
./psycopg/connection.h:94: warning: function declaration isn’t a prototype
./psycopg/connection.h:95: error: syntax error before ‘*’ token
./psycopg/connection.h:95: warning: function declaration isn’t a prototype
./psycopg/connection.h:96: error: syntax error before ‘*’ token
./psycopg/connection.h:96: warning: function declaration isn’t a prototype
./psycopg/connection.h:97: error: syntax error before ‘*’ token
./psycopg/connection.h:97: warning: function declaration isn’t a prototype
./psycopg/connection.h:98: error: syntax error before ‘*’ token
./psycopg/connection.h:98: warning: function declaration isn’t a prototype
./psycopg/connection.h:99: error: syntax error before ‘*’ token
./psycopg/connection.h:99: warning: function declaration isn’t a prototype
./psycopg/connection.h:100: error: syntax error before ‘*’ token
./psycopg/connection.h:100: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:34:
./psycopg/cursor.h:45: error: syntax error before ‘connectionObject’
./psycopg/cursor.h:45: warning: no semicolon at end of struct or union
./psycopg/cursor.h:47: error: syntax error before ‘:’ token
./psycopg/cursor.h:48: error: syntax error before ‘:’ token
./psycopg/cursor.h:49: error: syntax error before ‘:’ token
./psycopg/cursor.h:61: error: syntax error before ‘*’ token
./psycopg/cursor.h:61: warning: type defaults to ‘int’ in declaration of ‘pgres’
./psycopg/cursor.h:61: warning: data definition has no type or storage class
./psycopg/cursor.h:63: error: syntax error before ‘lastoid’
./psycopg/cursor.h:63: warning: type defaults to ‘int’ in declaration of ‘lastoid’
./psycopg/cursor.h:63: warning: data definition has no type or storage class
./psycopg/cursor.h:85: error: syntax error before ‘}’ token
./psycopg/cursor.h:85: warning: type defaults to ‘int’ in declaration of ‘cursorObject’
./psycopg/cursor.h:85: warning: data definition has no type or storage class
./psycopg/cursor.h:88: error: syntax error before ‘*’ token
./psycopg/cursor.h:88: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:31:28: error: libpq/libpq-fs.h: No such file or directory
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:45: error: syntax error before ‘connectionObject’
./psycopg/lobject.h:45: warning: no semicolon at end of struct or union
./psycopg/lobject.h:51: error: syntax error before ‘oid’
./psycopg/lobject.h:51: warning: type defaults to ‘int’ in declaration of ‘oid’
./psycopg/lobject.h:51: warning: data definition has no type or storage class
./psycopg/lobject.h:52: warning: type defaults to ‘int’ in declaration of ‘lobjectObject’
./psycopg/lobject.h:52: warning: data definition has no type or storage class
./psycopg/lobject.h:56: error: syntax error before ‘*’ token
./psycopg/lobject.h:58: warning: function declaration isn’t a prototype
./psycopg/lobject.h:59: error: syntax error before ‘*’ token
./psycopg/lobject.h:59: warning: function declaration isn’t a prototype
./psycopg/lobject.h:60: error: syntax error before ‘*’ token
./psycopg/lobject.h:60: warning: function declaration isn’t a prototype
./psycopg/lobject.h:62: error: syntax error before ‘*’ token
./psycopg/lobject.h:62: warning: function declaration isn’t a prototype
./psycopg/lobject.h:63: error: syntax error before ‘*’ token
./psycopg/lobject.h:64: warning: function declaration isn’t a prototype
./psycopg/lobject.h:65: error: syntax error before ‘*’ token
./psycopg/lobject.h:65: warning: function declaration isn’t a prototype
./psycopg/lobject.h:66: error: syntax error before ‘*’ token
./psycopg/lobject.h:66: warning: function declaration isn’t a prototype
./psycopg/lobject.h:67: error: syntax error before ‘*’ token
./psycopg/lobject.h:67: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:37:
./psycopg/microprotocols.h:59: error: syntax error before ‘connectionObject’
./psycopg/microprotocols.h:59: warning: function declaration isn’t a prototype
./psycopg/microprotocols.h:62: error: syntax error before ‘*’ token
./psycopg/microprotocols.h:62: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:32:
./psycopg/psycopg.h:31:22: error: libpq-fe.h: No such file or directory
In file included from psycopg/psycopgmodule.c:33:
./psycopg/connection.h:72: error: syntax error before ‘PGconn’
./psycopg/connection.h:72: warning: no semicolon at end of struct or union
./psycopg/connection.h:89: error: syntax error before ‘}’ token
./psycopg/connection.h:89: warning: type defaults to ‘int’ in declaration of ‘connectionObject’
./psycopg/connection.h:89: warning: data definition has no type or storage class
psycopg/psycopgmodule.c: In function ‘psyco_register_type’:
psycopg/psycopgmodule.c:254: error: syntax error before ‘)’ token
./psycopg/connection.h:92: error: syntax error before ‘*’ token
./psycopg/connection.h:92: warning: function declaration isn’t a prototype
psycopg/psycopgmodule.c:257: error: syntax error before ‘)’ token
./psycopg/connection.h:93: error: syntax error before ‘*’ token
./psycopg/connection.h:93: warning: function declaration isn’t a prototype
./psycopg/connection.h:94: error: syntax error before ‘*’ token
./psycopg/connection.h:94: warning: function declaration isn’t a prototype
./psycopg/connection.h:95: error: syntax error before ‘*’ token
./psycopg/connection.h:95: warning: function declaration isn’t a prototype
./psycopg/connection.h:96: error: syntax error before ‘*’ token
./psycopg/connection.h:96: warning: function declaration isn’t a prototype
./psycopg/connection.h:97: error: syntax error before ‘*’ token
./psycopg/connection.h:97: warning: function declaration isn’t a prototype
./psycopg/connection.h:98: error: syntax error before ‘*’ token
./psycopg/connection.h:98: warning: function declaration isn’t a prototype
./psycopg/connection.h:99: error: syntax error before ‘*’ token
./psycopg/connection.h:99: warning: function declaration isn’t a prototype
./psycopg/connection.h:100: error: syntax error before ‘*’ token
./psycopg/connection.h:100: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:34:
./psycopg/cursor.h:45: error: syntax error before ‘connectionObject’
./psycopg/cursor.h:45: warning: no semicolon at end of struct or union
./psycopg/cursor.h:47: error: syntax error before ‘:’ token
./psycopg/cursor.h:48: error: syntax error before ‘:’ token
./psycopg/cursor.h:49: error: syntax error before ‘:’ token
./psycopg/cursor.h:61: error: syntax error before ‘*’ token
./psycopg/cursor.h:61: warning: type defaults to ‘int’ in declaration of ‘pgres’
./psycopg/cursor.h:61: warning: data definition has no type or storage class
./psycopg/cursor.h:63: error: syntax error before ‘lastoid’
./psycopg/cursor.h:63: warning: type defaults to ‘int’ in declaration of ‘lastoid’
./psycopg/cursor.h:63: warning: data definition has no type or storage class
./psycopg/cursor.h:85: error: syntax error before ‘}’ token
./psycopg/cursor.h:85: warning: type defaults to ‘int’ in declaration of ‘cursorObject’
./psycopg/cursor.h:85: warning: data definition has no type or storage class
./psycopg/cursor.h:88: error: syntax error before ‘*’ token
./psycopg/cursor.h:88: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:31:28: error: libpq/libpq-fs.h: No such file or directory
In file included from psycopg/psycopgmodule.c:35:
./psycopg/lobject.h:45: error: syntax error before ‘connectionObject’
./psycopg/lobject.h:45: warning: no semicolon at end of struct or union
./psycopg/lobject.h:51: error: syntax error before ‘oid’
./psycopg/lobject.h:51: warning: type defaults to ‘int’ in declaration of ‘oid’
./psycopg/lobject.h:51: warning: data definition has no type or storage class
./psycopg/lobject.h:52: warning: type defaults to ‘int’ in declaration of ‘lobjectObject’
./psycopg/lobject.h:52: warning: data definition has no type or storage class
./psycopg/lobject.h:56: error: syntax error before ‘*’ token
./psycopg/lobject.h:58: warning: function declaration isn’t a prototype
./psycopg/lobject.h:59: error: syntax error before ‘*’ token
./psycopg/lobject.h:59: warning: function declaration isn’t a prototype
./psycopg/lobject.h:60: error: syntax error before ‘*’ token
./psycopg/lobject.h:60: warning: function declaration isn’t a prototype
./psycopg/lobject.h:62: error: syntax error before ‘*’ token
./psycopg/lobject.h:62: warning: function declaration isn’t a prototype
./psycopg/lobject.h:63: error: syntax error before ‘*’ token
./psycopg/lobject.h:64: warning: function declaration isn’t a prototype
./psycopg/lobject.h:65: error: syntax error before ‘*’ token
./psycopg/lobject.h:65: warning: function declaration isn’t a prototype
./psycopg/lobject.h:66: error: syntax error before ‘*’ token
./psycopg/lobject.h:66: warning: function declaration isn’t a prototype
./psycopg/lobject.h:67: error: syntax error before ‘*’ token
./psycopg/lobject.h:67: warning: function declaration isn’t a prototype
In file included from psycopg/psycopgmodule.c:37:
./psycopg/microprotocols.h:59: error: syntax error before ‘connectionObject’
./psycopg/microprotocols.h:59: warning: function declaration isn’t a prototype
./psycopg/microprotocols.h:62: error: syntax error before ‘*’ token
./psycopg/microprotocols.h:62: warning: function declaration isn’t a prototype
psycopg/psycopgmodule.c: In function ‘psyco_register_type’:
psycopg/psycopgmodule.c:254: error: syntax error before ‘)’ token
psycopg/psycopgmodule.c:257: error: syntax error before ‘)’ token
lipo: can't open input file: /tmp/ccJrGNBV.out (No such file or directory)
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /Users/zhunter/.virtualenvs/tmp/bin/python -c "import setuptools; __file__='/Users/zhunter/.virtualenvs/tmp/build/psycopg2/setup.py'; execfile('/Users/zhunter/.virtualenvs/tmp/build/psycopg2/setup.py')" install --single-version-externally-managed --record /tmp/pip-bInZvr-record/install-record.txt --install-headers /Users/zhunter/.virtualenvs/tmp/lib/include failed with error code 1
Storing complete log in ./pip-log.txt
(tmp)datl9wzhunter:~ zhunter$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment