Re: Three versions of Pg.pm on my machine

Поиск
Список
Период
Сортировка
От Richard A Lough
Тема Re: Three versions of Pg.pm on my machine
Дата
Msg-id 20040717074511.GA12026@mail.sheugh.com
обсуждение исходный текст
Ответ на Re: Three versions of Pg.pm on my machine  ("gnari" <gnari@simnet.is>)
Список pgsql-general
> > # $Id:Pg.pm, v 1.1.1.1 2004.01.16 - 18166 bytes in
> > /usr/share/perl5/Pg.pm
>
> this is probably supplied by the debian package
> libpg-perl
>

> > # $Id:Pg.pm v 1.92 2004.02.25 - 66285 bytes in
> > /usr/lib/Perl5/Pg.pm
Oops ...  should be /usr/lib/Perl5/DBD/Pg.pm
> this does not seem to be supplied by a (current)
> debian package according to packages.debian.org
>
> what is the output of:
>     # dpkg -S /usr/lib/Perl5/Pg.pm
> ?
dpkg: -S /usr/lib/Perl5/DBD/Pg.pm


>
> > ... Probably a Perl
> > newsgroup would be the best place to ask, but I thought
> > I should ask here first in case I missed something.
>
> I think the answer you are likely to get on a perl newsgroup
> is to use DBI
>    # apt-get install libdbd-pg-perl
>
> gnari
>
packages installed are
libdbi-perl 1.41-1
libdbd-pg-perl 1.32-1

On my current machine I installed a symlink some time ago and
this points to the old version of Pg.pm. The symlink is found
early in any search by a perl script, hence the new version
of Pg.pm is not found. However, I am moving my stuff onto a
new machine. This does not have the symlink, but the new Pg.pm
is found and will not work with my scripts.

The solution seems to be to convert the scripts on the new
machine and to run my current setup until ready to change
over.

Thanks for your reply.

Richard A Lough

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Error trapping in pg/PGSQL
Следующее
От: Chuck Bearden
Дата:
Сообщение: Horology & stats tests fail in 7.4.3/RH 9