This project is archived and is in readonly mode.

#43 ✓invalid
Psycopg website

Cannot compile on FreeBSD

Reported by Psycopg website | February 15th, 2011 @ 03:56 PM

Submitted by: Landreville

When running python setup.py build_ext on FreeBSD I get the following error:
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

This is with psycopg2-2.4-beta2 (same thing happens with 2.3.2), Postgres 9.0.3, Python 2.7.1, FreeBSD 7

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

Pages