Re: syntax errors while building pypgsql

2005-11-23 Thread Tin Gherdanarra
Carsten Haese wrote: > On Wed, 2005-11-23 at 08:01, Tin Gherdanarra wrote: > >>Hallo, >> >>I'm trying to install pypgsql. However, I get syntax errors >>while compiling the C sources. The following excerpt >>from pgconnection.h looks a little funny to me: >> >>typedef struct { >> PyObject_HEAD

Re: syntax errors while building pypgsql

2005-11-23 Thread Tin Gherdanarra
Gerhard Häring wrote: > Tin Gherdanarra wrote: > >> Hallo, >> >> I'm trying to install pypgsql. However, I get syntax errors >> while compiling the C sources. The following excerpt >> from pgconnection.h looks a little funny to me: >> >> typedef struct { >> PyObject_HEAD /* Here is the syntax

Re: syntax errors while building pypgsql

2005-11-23 Thread Tin Gherdanarra
[EMAIL PROTECTED] wrote: > Tin Gherdanarra wrote: > >>[EMAIL PROTECTED] wrote: >> >>>Have you tried apt-get build-dep pypgsql ? >>> >>>It could be that you lacks the necessary packages to build it. >> >>funny you'd mention it, I did. pypgsql does not seem to >>be an apt-get package, however. It di

Re: syntax errors while building pypgsql

2005-11-23 Thread David Wahler
Tin Gherdanarra wrote: > typedef struct { > PyObject_HEAD /* Here is the syntax error, and rightly so */ [snip] > } PgConnection; > > > I don't know what PyObject_HEAD or PGconn is, > but if they are types, a syntax error is justified here: > > PyObject_HEAD /* Here is the syntax error *

Re: syntax errors while building pypgsql

2005-11-23 Thread [EMAIL PROTECTED]
Have you tried apt-get build-dep pypgsql ? It could be that you lacks the necessary packages to build it. Tin Gherdanarra wrote: > Hallo, > > I'm trying to install pypgsql. However, I get syntax errors > while compiling the C sources. The following excerpt > from pgconnection.h looks a little fun

Re: syntax errors while building pypgsql

2005-11-23 Thread Carsten Haese
On Wed, 2005-11-23 at 08:01, Tin Gherdanarra wrote: > Hallo, > > I'm trying to install pypgsql. However, I get syntax errors > while compiling the C sources. The following excerpt > from pgconnection.h looks a little funny to me: > > typedef struct { > PyObject_HEAD /* Here is the syntax err

Re: syntax errors while building pypgsql

2005-11-23 Thread Gerhard Häring
Tin Gherdanarra wrote: > Hallo, > > I'm trying to install pypgsql. However, I get syntax errors > while compiling the C sources. The following excerpt > from pgconnection.h looks a little funny to me: > > typedef struct { > PyObject_HEAD /* Here is the syntax error, and rightly so */ > [...]

syntax errors while building pypgsql

2005-11-23 Thread Tin Gherdanarra
Hallo, I'm trying to install pypgsql. However, I get syntax errors while compiling the C sources. The following excerpt from pgconnection.h looks a little funny to me: typedef struct { PyObject_HEAD /* Here is the syntax error, and rightly so */ PGconn *conn; PyObject *host; P

Re: syntax errors while building pypgsql

2005-11-23 Thread Tin Gherdanarra
[EMAIL PROTECTED] wrote: > Have you tried apt-get build-dep pypgsql ? > > It could be that you lacks the necessary packages to build it. funny you'd mention it, I did. pypgsql does not seem to be an apt-get package, however. It did not work because "E: Couldn't find package pypgsql" The fact tha

Re: syntax errors while building pypgsql

2005-11-23 Thread [EMAIL PROTECTED]
Tin Gherdanarra wrote: > [EMAIL PROTECTED] wrote: > > Have you tried apt-get build-dep pypgsql ? > > > > It could be that you lacks the necessary packages to build it. > > funny you'd mention it, I did. pypgsql does not seem to > be an apt-get package, however. It did not work because > "E: Couldn