I want to install DBD-Pg-0.93 on my redhat 8.0. iam able to run perl Makefile.Pl and getting good result but when i give make its giving following errors, can anybody help me in installing DBD-Pg-0.93 its reqd for postgres sql
gcc -c -I/usr/include/pgsql -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-
multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-s
trict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"0.93\" -DXS_VERSI
ON=\"0.93\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Pg.c
In file included from Pg.xs:13:
Pg.h:13:22: libpq-fe.h: No such file or directory
In file included from Pg.h:37,
from Pg.xs:13:
dbdimp.h:22: parse error before "PGconn"
dbdimp.h:22: warning: no semicolon at end of struct or union
dbdimp.h:25: parse error before '}' token
dbdimp.h:31: parse error before "PGresult"
dbdimp.h:31: warning: no semicolon at end of struct or union
dbdimp.h:44: parse error before '}' token
Pg.xs: In function `XS_DBD__Pg__db_commit':
Pg.xs:90: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_rollback':
Pg.xs:101: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_disconnect':
Pg.xs:112: dereferencing pointer to incomplete type
Pg.xs:116: dereferencing pointer to incomplete type
Pg.xs:117: dereferencing pointer to incomplete type
Pg.xs:118: dereferencing pointer to incomplete type
Pg.xs:122: dereferencing pointer to incomplete type
Pg.xs:122: dereferencing pointer to incomplete type
Pg.xs:123: dereferencing pointer to incomplete type
Pg.xs:125: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_DESTROY':
Pg.xs:165: dereferencing pointer to incomplete type
Pg.xs:166: dereferencing pointer to incomplete type
Pg.xs:172: dereferencing pointer to incomplete type
Pg.xs:173: dereferencing pointer to incomplete type
Pg.xs:174: dereferencing pointer to incomplete type
Pg.xs:176: dereferencing pointer to incomplete type
Pg.xs:34: sizeof applied to an incomplete type
Pg.xs:35: sizeof applied to an incomplete type
make: *** [Pg.o] Error 1