Skip to content

Instantly share code, notes, and snippets.

@gthomas
Created September 28, 2011 23:40
Show Gist options
  • Save gthomas/1249593 to your computer and use it in GitHub Desktop.
Save gthomas/1249593 to your computer and use it in GitHub Desktop.
building 'psycopg2._psycopg' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.7-i386-2.7/psycopg/psycopgmodule.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/green.c -o build/temp.macosx-10.7-i386-2.7/psycopg/green.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.7-i386-2.7/psycopg/pqpath.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/utils.c -o build/temp.macosx-10.7-i386-2.7/psycopg/utils.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.7-i386-2.7/psycopg/bytes_format.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but not used
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.7-i386-2.7/psycopg/connection_int.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.7-i386-2.7/psycopg/connection_type.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.7-i386-2.7/psycopg/cursor_int.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.7-i386-2.7/psycopg/cursor_type.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.7-i386-2.7/psycopg/lobject_int.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.7-i386-2.7/psycopg/lobject_type.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.7-i386-2.7/psycopg/notify_type.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but not used
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.7-i386-2.7/psycopg/xid_type.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_asis.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_binary.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_datetime.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_list.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pboolean.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pdecimal.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pint.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pfloat.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_qstring.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.7-i386-2.7/psycopg/microprotocols.o
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.7-i386-2.7/psycopg/microprotocols_proto.o
./psycopg/config.h:71: warning: ‘Dprintf’ defined but not used
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/typecast.c -o build/temp.macosx-10.7-i386-2.7/psycopg/typecast.o
gcc -bundle -undefined dynamic_lookup -arch i386 build/temp.macosx-10.7-i386-2.7/psycopg/psycopgmodule.o build/temp.macosx-10.7-i386-2.7/psycopg/green.o build/temp.macosx-10.7-i386-2.7/psycopg/pqpath.o build/temp.macosx-10.7-i386-2.7/psycopg/utils.o build/temp.macosx-10.7-i386-2.7/psycopg/bytes_format.o build/temp.macosx-10.7-i386-2.7/psycopg/connection_int.o build/temp.macosx-10.7-i386-2.7/psycopg/connection_type.o build/temp.macosx-10.7-i386-2.7/psycopg/cursor_int.o build/temp.macosx-10.7-i386-2.7/psycopg/cursor_type.o build/temp.macosx-10.7-i386-2.7/psycopg/lobject_int.o build/temp.macosx-10.7-i386-2.7/psycopg/lobject_type.o build/temp.macosx-10.7-i386-2.7/psycopg/notify_type.o build/temp.macosx-10.7-i386-2.7/psycopg/xid_type.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_asis.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_binary.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_datetime.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_list.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pboolean.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pint.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_pfloat.o build/temp.macosx-10.7-i386-2.7/psycopg/adapter_qstring.o build/temp.macosx-10.7-i386-2.7/psycopg/microprotocols.o build/temp.macosx-10.7-i386-2.7/psycopg/microprotocols_proto.o build/temp.macosx-10.7-i386-2.7/psycopg/typecast.o -L/Volumes/WorkHD/Users/Shared/local/postgresql/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.7-i386-2.7/psycopg2/_psycopg.so
no previously-included directories found matching 'doc/src/_build'
Successfully installed psycopg2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment