All pastes #115952 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-08-04 23:41 UTC
rendered paste body
Tux:/home/fernando/postgre/psycopg-1.1.6# make
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.3 -I/usr/local/lib/python2.3/config -DHAVE_LIBCRYPT=1 -DHAVE_ASPRINTF=1  -I/usr/local/pgsql/include/server -I/usr/local/lib/python2.3/site-packages/mx/DateTime/mxDateTime -DVERSION=\"1.1.6\" -DPSYCOTIC_DEBUG -D_REENTRANT -D_GNU_SOURCE   -c ././module.c -o ./module.o
In file included from ././module.c:35:
././module.h:31:22: error: libpq-fe.h: Arquivo ou diretório não encontrado
In file included from /usr/local/include/python2.3/Python.h:8,
                 from ././module.h:51,
                 from ././module.c:35:
/usr/local/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/time.h:28,
                 from ././module.c:27:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
In file included from ././module.c:35:
././module.h:124: error: syntax error before 'PGconn'
././module.h:124: warning: no semicolon at end of struct or union
././module.h:128: error: syntax error before '}' token
././module.h:128: warning: type defaults to 'int' in declaration of 'connkeeper'
././module.h:128: warning: data definition has no type or storage class
././module.h:180: error: syntax error before 'connkeeper'
././module.h:180: warning: no semicolon at end of struct or union
././module.h:181: warning: type defaults to 'int' in declaration of 'pgconn'
././module.h:181: warning: data definition has no type or storage class
././module.h:182: error: syntax error before '*' token
././module.h:182: warning: type defaults to 'int' in declaration of 'pgres'
././module.h:182: warning: data definition has no type or storage class
././module.h:188: error: conflicting types for 'status'
././module.h:127: error: previous declaration of 'status' was here
././module.h:191: error: syntax error before 'last_oid'
././module.h:191: warning: type defaults to 'int' in declaration of 'last_oid'
././module.h:191: warning: data definition has no type or storage class
././module.h:201: error: syntax error before '}' token
././module.h:203: error: syntax error before 'connkeeper'
././module.h:203: warning: function declaration isn't a prototype
././module.h:221: error: syntax error before '*' token
././module.h:221: warning: type defaults to 'int' in declaration of 'alloc_keeper'
././module.h:221: warning: data definition has no type or storage class
make: ** [module.o] Erro 1
Tux:/home/fernando/postgre/psycopg-1.1.6#