Обсуждение: Proble when running DBMirror.pl

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

Proble when running DBMirror.pl

От
Thierry Missimilly
Дата:
Hi,

I'm trying to use DDBMirror on PostgreSQL 7.3.1 on a Red HAt 7.3 system.

I've followed step by step the README.dbmirror and in step 6 when i launch :

DBMirror.pl salveDatabase.conf

I got the following error :

Can't locate Pg.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at ./DBMirror.pl line 76.
BEGIN failed--compilation aborted at ./DBMirror.pl line 76.

I've tried to configure Postgres with --with-perl , build and install, but the error is still there.

Any ideas how to trun arround ?

    Thierry Missimilly
 

Вложения

Re: Proble when running DBMirror.pl

От
Alvaro Herrera
Дата:
On Fri, Aug 22, 2003 at 02:25:25PM +0200, Thierry Missimilly wrote:

> I'm trying to use DDBMirror on PostgreSQL 7.3.1 on a Red HAt 7.3 system.
> [...]
> I got the following error :
>
> Can't locate Pg.pm in @INC (@INC contains: [...]

Hmm... you will need to install the Pg module from gborg.  It's here:
http://gborg.postgresql.org/project/pgperl/projdisplay.php

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
FOO MANE PADME HUM