DBD-Pg-0.73 make failed

Поиск
Список
Период
Сортировка
От Igor Sysoev
Тема DBD-Pg-0.73 make failed
Дата
Msg-id 199903111423.RAA11295@gate.nitek.ru
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: "David O'Farrell"
Дата:
Сообщение: threads and libpq
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] libpq problem