Re: Postgres and Perl: Which DBI module?
От | Oleg Bartunov |
---|---|
Тема | Re: Postgres and Perl: Which DBI module? |
Дата | |
Msg-id | Pine.GSO.4.44.0208021735270.14703-100000@ra.sai.msu.su обсуждение исходный текст |
Ответ на | Re: Postgres and Perl: Which DBI module? (Phil Dobbin <phildobbin@pobox.com>) |
Ответы |
Re: Postgres and Perl: Which DBI module?
Re: Postgres and Perl: Which DBI module? |
Список | pgsql-general |
On Fri, 2 Aug 2002, Phil Dobbin wrote: > On 29/7/02 at 14:48, dba@paragraf.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'tbe 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@postgresql.org > Regards, Oleg _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83
В списке pgsql-general по дате отправления: