Now I try to install DBD for Postgresql and in readme file state that I have to create 
environment variable POSTGRES_INCLUDE and POSTGRES_LIB.

1. I create by use following command

#POSTGRES_INCLUDE=/usr/include/pgsql:$POSTGRES_INCLUDE
#export POSTGRES_INCLUDE

#POSTGRES_LIB=/usr/lib/pgsql:$POSTGRES_LIB
#export POSTGRES_LIB

2. run perl MakeFile.PL by root account

3. I run make and it cause error state that

......
......
......
In file included from Pg.xs:13:
Pg.h:17:22: libpg-fe.h: No such file or directory
make: *** [Pg.o] Error 1

What is the problem? Do I set wrong environment variable? 

I use 
- linux Redhat 7.0 
- postgresql-server-7.0.2-17
- postgresql-7.0.2-17
- postgresql-perl-7.0.2-17
- postgresql-devel-7.0.2-17
- perl-5.6.0-9
- DBI-1.21
- DBD-Pg-1.01


Thanks in advance for your help

P

Reply via email to