DBD-Pg-0.73 make failed - Mailing list pgsql-interfaces

From Igor Sysoev
Subject DBD-Pg-0.73 make failed
Date
Msg-id 199903111423.RAA11295@gate.nitek.ru
Whole thread Raw
Responses Re: [INTERFACES] DBD-Pg-0.73 make failed  (Tom Lane <tgl@sss.pgh.pa.us>)
RE: [INTERFACES] DBD-Pg-0.73 make failed  ("Ken Wills" <gfccall@mailbag.com>)
List pgsql-interfaces
While trying to make DBD-Pg-0.73 I found such error:

cc -c -I/usr/local/pgsql/include -I/usr/local/include/pgsql
-I/usr/include/pgsql -I/usr/local/lib/perl5/5.00502/i386-freebsd/DBI
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI
-I/usr/local/include -O     -DVERSION=\"0.73\"  -DXS_VERSION=\"0.73\"
-DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE
  dbdimp.c

dbdimp.c: In function `dbd_db_ping':
dbdimp.c:135: dereferencing pointer to incomplete type
dbdimp.c:136: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:141: dereferencing pointer to incomplete type
dbdimp.c:142: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:147: dereferencing pointer to incomplete type
dbdimp.c:148: dereferencing pointer to incomplete type
*** Error code 1

I think that cc doesn't like pointers like
"imp_dbh->conn->status", "imp_dbh->conn->Pfout" and so.

Now I simply commented almost all body of dbd_db_ping()

FreeBSD 2.2.7, PostgreSQL-6.4
gcc version 2.7.2.1

I used before Pg module but I need persistent connections
so I have to use mod_perl and Apache::DBI.

With best regards,
Igor Sysoev
http://www.nitek.ru/~igor/


pgsql-interfaces by date:

Previous
From: "David O'Farrell"
Date:
Subject: threads and libpq
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] libpq problem