logo       
Google Custom Search
    AddThis Social Bookmark Button

[psycopg] #17: psycopg2.0b1 (and from svn) doesn't build: msg#00031

Subject: [psycopg] #17: psycopg2.0b1 (and from svn) doesn't build
#17: psycopg2.0b1 (and from svn) doesn't build
----------------------+-----------------------------------------------------
       Id:  17        |      Status:  new                     
Component:  psycopg2  |    Modified:  Tue May 17 16:47:12 2005
 Severity:  critical  |   Milestone:                          
 Priority:  normal    |     Version:                          
    Owner:  fog       |    Reporter:  anonymous               
----------------------+-----------------------------------------------------
 building 'psycopg._psycopg' extension
 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
 prototypes -fPI
 C -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4 -DHAVE_PYBOOL=1
 -DHAVE_DECIMAL=1 -DH
 AVE_MXDATETIME=1 -DHAVE_PYDATETIME=1 -DPSYCOPG_DEFAULT_PYDATETIME=1
 -DPSYCOPG_VE
 RSION="2.0b1 (mx dt ext pq3)" -DPSYCOPG_EXTENSIONS=1
 -DPSYCOPG_DISPLAY_SIZE=1 -D
 HAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/usr/include/python2.4/mx -I.
 -I/usr/inc
 lude/postgresql -I/usr/include/postgresql/server -I/usr/include/python2.4
 -c psy
 copg/psycopgmodule.c -o build/temp.linux-i686-2.4/psycopg/psycopgmodule.o
 In file included from psycopg/psycopgmodule.c:28:
 psycopg/connection.h:26:22: libpq-fe.h: No such file or directory
 In file included from psycopg/psycopgmodule.c:28:
 psycopg/connection.h:54: error: parse error before "PGconn"
 psycopg/connection.h:54: warning: no semicolon at end of struct or union
 psycopg/connection.h:77: error: parse error before '}' token
 psycopg/connection.h:77: warning: type defaults to `int' in declaration of
 `conn
 ectionObject'
 psycopg/connection.h:77: warning: data definition has no type or storage
 class
 psycopg/connection.h:80: error: parse error before '*' token
 psycopg/connection.h:80: warning: function declaration isn't a prototype
 psycopg/connection.h:81: error: parse error before '*' token
 psycopg/connection.h:81: warning: function declaration isn't a prototype
 psycopg/connection.h:82: error: parse error before '*' token
 psycopg/connection.h:82: warning: function declaration isn't a prototype
 psycopg/connection.h:83: error: parse error before '*' token
 psycopg/connection.h:83: warning: function declaration isn't a prototype
 psycopg/connection.h:84: error: parse error before '*' token
 psycopg/connection.h:84: warning: function declaration isn't a prototype
 psycopg/connection.h:85: error: parse error before '*' token
 psycopg/connection.h:85: warning: function declaration isn't a prototype
 In file included from psycopg/psycopgmodule.c:29:
 psycopg/cursor.h:26:22: libpq-fe.h: No such file or directory
 In file included from psycopg/psycopgmodule.c:29:
 psycopg/cursor.h:39: error: parse error before "connectionObject"
 psycopg/cursor.h:39: warning: no semicolon at end of struct or union
 psycopg/cursor.h:41: error: parse error before ':' token
 psycopg/cursor.h:42: error: parse error before ':' token
 psycopg/cursor.h:43: error: parse error before ':' token
 psycopg/cursor.h:54: error: parse error before '*' token
 psycopg/cursor.h:54: warning: type defaults to `int' in declaration of
 `pgres'
 psycopg/cursor.h:54: warning: data definition has no type or storage class
 psycopg/cursor.h:56: error: parse error before "lastoid"
 psycopg/cursor.h:56: warning: type defaults to `int' in declaration of
 `lastoid'
 psycopg/cursor.h:56: warning: data definition has no type or storage class
 psycopg/cursor.h:71: error: parse error before '}' token
 psycopg/cursor.h:71: warning: type defaults to `int' in declaration of
 `cursorOb
 ject'
 psycopg/cursor.h:71: warning: data definition has no type or storage class
 psycopg/cursor.h:74: error: parse error before '*' token
 psycopg/cursor.h:74: warning: function declaration isn't a prototype
 In file included from psycopg/psycopgmodule.c:31:
 psycopg/microprotocols.h:53: error: parse error before "connectionObject"
 psycopg/microprotocols.h:53: warning: function declaration isn't a
 prototype
 psycopg/microprotocols.h:56: error: parse error before '*' token
 psycopg/microprotocols.h:56: warning: function declaration isn't a
 prototype
 In file included from psycopg/psycopgmodule.c:32:
 psycopg/microprotocols_proto.h:26:22: libpq-fe.h: No such file or
 directory
 In file included from psycopg/psycopgmodule.c:35:
 psycopg/adapter_binary.h:26:22: libpq-fe.h: No such file or directory
 psycopg/psycopgmodule.c:73: error: parse error before '*' token
 psycopg/psycopgmodule.c:74: warning: function declaration isn't a
 prototype
 psycopg/psycopgmodule.c: In function `_psyco_connect_fill_exc':
 psycopg/psycopgmodule.c:76: error: `conn' undeclared (first use in this
 function
 )
 psycopg/psycopgmodule.c:76: error: (Each undeclared identifier is reported
 only
 once
 psycopg/psycopgmodule.c:76: error: for each function it appears in.)
 psycopg/psycopgmodule.c: In function `psyco_connect':
 psycopg/psycopgmodule.c:161: error: parse error before ')' token
 psycopg/psycopgmodule.c: At top level:
 /usr/include/python2.4/datetime.h:186: warning: `PyDateTimeAPI' defined
 but not
 used
 error: command 'gcc' failed with exit status 1

-- 
Ticket URL: <http://initd.org/tracker/psycopg/ticket/17>
psycopg <http://initd.org/>
psycopg
_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
<Prev in Thread] Current Thread [Next in Thread>