Обсуждение: Perl and PostgreSQL 7.1.2 a DBI Connection

Поиск
Список
Период
Сортировка

Perl and PostgreSQL 7.1.2 a DBI Connection

От
R Talbot
Дата:
I have compiled and installed
 PostgreSQL 7.1.2
DBD-Pg-1.01.tar.gz
DBI-1.20.tar.gz

I am running  perl, version 5.005_03
...

When I ran ./configure on PostgreSQL
7.1.2 I did so --with-perl
but make reported It could not
install because Perl libraries
were not shared.. I assume it wanted
me to have the Perl static
installed and linked.. Right or
wrong??
SQL...

So I installed the above DBD and DBI
after the PostgreSQL install..

Question ?? Do I have to do anything
else to get Perl and PostgreSQL
to work together.. Such as another
Perl Library or a Link..??

Bob T





Re: Perl and PostgreSQL 7.1.2 a DBI Connection

От
Pedro Alves
Дата:
    I'm not sure I understand what you want really. If you want to
access postgres with perl through DBI, you don't need to compile postgres
with that option. That is meant for bulding funcions in a procedural
language based on perl. In the last case, you need to recompile perl and
--enable-shared. But I don't think this is the case, so you already got what
you need.


    Hope it helps

On Tue, Oct 02, 2001 at 10:06:56PM -0400, R Talbot wrote:
>
> I have compiled and installed
>  PostgreSQL 7.1.2
> DBD-Pg-1.01.tar.gz
> DBI-1.20.tar.gz
>
> I am running  perl, version 5.005_03
> ...
>
> When I ran ./configure on PostgreSQL
> 7.1.2 I did so --with-perl
> but make reported It could not
> install because Perl libraries
> were not shared.. I assume it wanted
> me to have the Perl static
> installed and linked.. Right or
> wrong??
> SQL...
>
> So I installed the above DBD and DBI
> after the PostgreSQL install..
>
> Question ?? Do I have to do anything
> else to get Perl and PostgreSQL
> to work together.. Such as another
> Perl Library or a Link..??
>
> Bob T
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Pedro Miguel G. Alves

THINK - Tecnologias de Informa��o
Av. Defensores de Chaves n� 15 4�D, 1000-109 Lisboa Portugal
Tel: +351 21 3590285   Fax: +351 21 3582729
HomePage: www.think.co.pt

Re: Perl and PostgreSQL 7.1.2 a DBI Connection

От
R Talbot
Дата:
Pedro Alves wrote:

>         I'm not sure I understand what you want really. If you want to
> access postgres with perl through DBI, you don't need to compile postgres
> with that option. That is meant for bulding funcions in a procedural
> language based on perl. In the last case, you need to recompile perl and
> --enable-shared. But I don't think this is the case, so you already got what
> you need.
>
>         Hope it helps
>
> On Tue, Oct 02, 2001 at 10:06:56PM -0400, R Talbot wrote:
> >
> > I have compiled and installed
> >  PostgreSQL 7.1.2
> > DBD-Pg-1.01.tar.gz
> > DBI-1.20.tar.gz
> >
> > I am running  perl, version 5.005_03
> > ...
> >
> > When I ran ./configure on PostgreSQL
> > 7.1.2 I did so --with-perl
> > but make reported It could not
> > install because Perl libraries
> > were not shared.. I assume it wanted
> > me to have the Perl static
> > installed and linked.. Right or
> > wrong??
> > SQL...
> >
> > So I installed the above DBD and DBI
> > after the PostgreSQL install..
> >
> > Question ?? Do I have to do anything
> > else to get Perl and PostgreSQL
> > to work together.. Such as another
> > Perl Library or a Link..??
> >
> > Bob T
> >
> >
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
>
> --
> Pedro Miguel G. Alves
>
> THINK - Tecnologias de Informação
> Av. Defensores de Chaves nº 15 4ºD, 1000-109 Lisboa Portugal
> Tel: +351 21 3590285   Fax: +351 21 3582729
> HomePage: www.think.co.pt

Pedro

   Thank you ,, YOu answered my question.
I didn't understand the  relation between Perl and
the built in procedural language..Now I dp..

Bob T.