Re: pg_sample

From: Paul Carlucci <paul(dot)carlucci(at)gmail(dot)com>
To: Naveen Dabas <naveen(at)paymonk(dot)com>
Cc: Abhinav Mehta <abhinav(at)metarain(dot)com>, Ravi Krishna <sravikrishna(at)aol(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_sample
Date: 2018-08-26 19:57:59
Message-ID: CAKhGwmB=fQRTSRFaOXtvDOni-msGCZBJ6Vu3Y00k7riMTCBRxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sudo yum install perl-CPAN

Also do a "yum search perl-" and you should find most, if not all what you
need natively packaged for your particular Linux distro. You're better off
just sticking with the pre-packaged perl modules unless you specifically
need something special.

You'll find more modules if you also enable the EPEL yum repo by setting
enabled=1 in the first section of /etc/yum.repos.d/epel.conf and rerunning
that yum search command.

On Sun, Aug 26, 2018, 2:20 PM Naveen Dabas <naveen(at)paymonk(dot)com> wrote:

> Sir i'm getting error in both commands
>
> [root(at)ip-88-8-8-17 ~]# perl -MCPAN -e 'install Bundle::DBI'
> Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
> BEGIN failed--compilation aborted.
> [root(at)ip-88-8-8-17 ~]# perl -MCPAN -e 'install DBD::Pg'
> Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
> BEGIN failed--compilation aborted.
>
>
>
> operating system =CentOS Linux release 7.5.1804 (Core)
>
> thanks
>
>
> On Fri, Aug 24, 2018 at 6:16 PM, Abhinav Mehta <abhinav(at)metarain(dot)com>
> wrote:
>
>> Solution, execute this on your linux terminal -
>>
>> $ perl -MCPAN -e 'install Bundle::DBI'
>> $ perl -MCPAN -e 'install DBD::Pg'
>>
>> > On 24-Aug-2018, at 6:13 PM, Ravi Krishna <sravikrishna(at)aol(dot)com> wrote:
>> >
>> >>
>> >> sir have taken pg_sample
>> >> Now i want to run pg_sample with credential but i'm getting this error
>> >>
>> >> Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib64/perl5
>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
>> ./pg_sample line 192.
>> >> BEGIN failed--compilation aborted at ./pg_sample line 192.
>> >
>> > As is clear from the message, you need to install Perl DBI/DBD first.
>> >
>> >
>>
>>
>
>
> --
> --
> With Regards
> Naveen Dabas
> Ph. 9017298370
>
>
> *Important Disclaimer:* Information contained in this email is for the
> recipient primarily addressed to. If you are not the primary recipient or
> are not supposed to receive this email, you are advised to kindly delete
> the email or the thread and notify of the error. The logo is a registered
> and copyrighted property of *ACTAS TECHNOLOGIES PRIVATE LIMITED*. Do not
> use it without authorization.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Naveen Dabas 2018-08-27 06:03:02 Re: pg_sample
Previous Message Ron 2018-08-26 19:52:27 Re: pg_dump order of operation