pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
DBD-Pg-0.73 make failed 3+ messages / 3 participants [nested] [flat]
* DBD-Pg-0.73 make failed @ 1999-03-11 14:23 Igor Sysoev <igor@nitek.ru> 1999-03-11 15:21 ` Re: [INTERFACES] DBD-Pg-0.73 make failed Tom Lane <tgl@sss.pgh.pa.us> 1999-03-11 16:05 ` RE: [INTERFACES] DBD-Pg-0.73 make failed Ken Wills <gfccall@mailbag.com> 0 siblings, 2 replies; 3+ messages in thread From: Igor Sysoev @ 1999-03-11 14:23 UTC (permalink / raw) To: 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/ ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [INTERFACES] DBD-Pg-0.73 make failed 1999-03-11 14:23 DBD-Pg-0.73 make failed Igor Sysoev <igor@nitek.ru> @ 1999-03-11 15:21 ` Tom Lane <tgl@sss.pgh.pa.us> 1 sibling, 0 replies; 3+ messages in thread From: Tom Lane @ 1999-03-11 15:21 UTC (permalink / raw) To: Igor Sysoev <igor@nitek.ru>; +Cc: pgsql-interfaces "Igor Sysoev" <igor@nitek.ru> writes: > While trying to make DBD-Pg-0.73 I found such error: > dbdimp.c:146: dereferencing pointer to incomplete type > I think that cc doesn't like pointers like > "imp_dbh->conn->status", "imp_dbh->conn->Pfout" and so. Is there a newer version of DBD-Pg? That one evidently doesn't work with Postgres 6.4. The incomplete-type messages appear because the contents of the conn struct are no longer visible to calling applications. You could work around that by including <libpq-int.h>; but if the thing is trying to touch field Pfout then it's going to lose anyway, because that field no longer exists (libpq doesn't use a stdio file to contact the backend anymore). I had the idea that someone had updated DBD-Pg for 6.4, but I don't know for sure. regards, tom lane ^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: [INTERFACES] DBD-Pg-0.73 make failed 1999-03-11 14:23 DBD-Pg-0.73 make failed Igor Sysoev <igor@nitek.ru> @ 1999-03-11 16:05 ` Ken Wills <gfccall@mailbag.com> 1 sibling, 0 replies; 3+ messages in thread From: Ken Wills @ 1999-03-11 16:05 UTC (permalink / raw) To: 'Igor Sysoev' <igor@nitek.ru>; +Cc: pgsql-interfaces I'm using FreeBSD-2.2.7-Release with Postgres 6.4 and DBD-Pg-0.89 quite happily. I'd grab the latest version and the latest version of DBI from www.cpan.org Ken Ken Wills -----Original Message----- From: Igor Sysoev [mailto:igor@nitek.ru] Sent: Thursday, March 11, 1999 8:23 AM To: pgsql-interfaces@postgreSQL.org Subject: [INTERFACES] DBD-Pg-0.73 make failed 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1999-03-11 16:05 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 1999-03-11 14:23 DBD-Pg-0.73 make failed Igor Sysoev <igor@nitek.ru> 1999-03-11 15:21 ` Tom Lane <tgl@sss.pgh.pa.us> 1999-03-11 16:05 ` Ken Wills <gfccall@mailbag.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox