From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Phil Dobbin <phildobbin(at)pobox(dot)com> |
Cc: | Francois Suter <dba(at)paragraf(dot)ch>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Postgres and Perl: Which DBI module? |
Date: | 2002-08-02 14:36:39 |
Message-ID: | Pine.GSO.4.44.0208021735270.14703-100000@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 2 Aug 2002, Phil Dobbin wrote:
> On 29/7/02 at 14:48, dba(at)paragraf(dot)ch (Francois Suter) wrote:
>
> > > hello,
> > >
> > > I just managed to get a simple database running with postgresql.
> > >
> > > Now I would like to write some CGI scripts in perl that will be able
> > to
> > > use it.
> > >
> > > What perl module should I use for this?
> >
> > I succesfully used the module called Pg:
>
> I d/l'd DBD::Pg using CPAN but the Makefile.PL complained that the env vars `POSTGRES_INCLUDE' and `POSTGRES_LIB' couldn't be found so that `libq.so' couldn't be located.
>
> Are `POSTGRES_INCLUDE' and `POSTGRES_LIB' set in your $PATH?
>
> Any ideas appreciated :-)
Define these variables :-)
in bash:
export POSTGRES_INCLUDE=/usr/local/pgsql/include
export POSTGRES_LIB=/usr/local/pgsql/lib
tcshL
setenv POSTGRES_INCLUDE /usr/local/pgsql/include
setenv POSTGRES_LIB /usr/local/pgsql/lib
>
> Regards,
>
> Phil.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Phil Dobbin | 2002-08-02 14:43:14 | Re: Postgres and Perl: Which DBI module? |
Previous Message | Michal Taborsky | 2002-08-02 14:35:47 | Re: Selecting random row |