Thread: [ERROR] pgsql_perl5
I try to install your pgsql_perl5 module
and I keep getting the following error:
Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !
do you have any idea how to fix this?
Perl: This is perl, v5.6.1 built for i586-linux
Thanks!
Leslie Herps
Hi, just follow the instructions! ;-) That is, set the environment variable POSTGRES_INCLUDE to the directory where the PostgreSQL header files reside (on a SuSE 7.3 this is /usr/include/pgsql) and POSTGRES_LIB to the directory where the libpq.a can be found (again, on a SuSE 7.3 this is /usr/lib). To set, with a bash, simply type "export POSTGRES_INCLUDE=/usr/include/pgsql". I am pretty sure, that the directories are not the same on other systems, or if you compiled PostgreSQL from the sources, so you have to find the correct locations yourself. Regards, Frank. On 04-May-02 Leslie Herps sat down, thought for a long time and then wrote: > I try to install your pgsql_perl5 module > > and I keep getting the following error: > > ---------------------------------------------------------------------- > ---------- > > Configuring Pg > Remember to actually read the README file ! > please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB ! > > ---------------------------------------------------------------------- > ---------- > > > do you have any idea how to fix this? > > Perl: This is perl, v5.6.1 built for i586-linux > > Thanks! > Leslie Herps > -- Frank Finner Thus we are all responsible for one another, through all the myriad dimensions of time and space that make up the multiverse . . . (M. Moorcock, "The Revenge OfThe Rose")