Thread: Failed to build 2.4-beta2

Failed to build 2.4-beta2

From
Landreville
Date:
When I try to build 2.4-beta2 I am getting this error on FreeBSD, Postgres 9.0.3, Python 2.7.1:

gcc -pthread -shared ${LDFLAGS} build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/psycopgmodule.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/green.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/pqpath.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/utils.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/bytes_format.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/connection_int.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/connection_type.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/cursor_int.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/cursor_type.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/lobject_int.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/lobject_type.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/notify_type.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/xid_type.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_asis.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_binary.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_datetime.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_list.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_pboolean.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_pdecimal.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_pfloat.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/adapter_qstring.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/microprotocols.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/microprotocols_proto.o build/temp.freebsd-7.0-RELEASE-i386-2.7/psycopg/typecast.o -L/usr/local/pgsql-9.0.3/lib -lpq -o build/lib.freebsd-7.0-RELEASE-i386-2.7/psycopg2/_psycopg.so

gcc: ${LDFLAGS}: No such file or directory
error: command 'gcc' failed with exit status 1



-- Landreville