Hi, Thank You!!! This worked --> try 'sudo yum install perl-DBD-Pg' instead of installing from cpan
Thanks, [email protected] -----Original Message----- From: Curtis Jewell [mailto:[email protected]] Sent: Saturday, May 28, 2016 11:41 AM To: [email protected] Subject: Re: Trying to install module DBD::Pg RHEL. OK. I use CentOS at work, so similar enough I can help a bit. The next command to try is 'sudo yum install postgresqlXX-devel', (they tell you if you only want a client, you don't need -devel. But since DBD::Pg is built from source, you need it.) and then 'which pg_config'. (The XX is the version number that is installed, without a decimal point - 95 for 9.5 for instance. I don't recall which version of PostgreSQL RHEL 6.7 has off the top of my head, or what repository you're using [the system repos, or a repository from http://yum.postgresql.org/, or something else entirely.] Knowing that information, try again. (The fact that postgresql-devel is installed may allow the Makefile.PL to find it automatically) You also may want to try 'sudo yum install perl-DBD-Pg' instead of installing from cpan if you're installing to the system perl. Hope this helps. --Curtis -- Curtis Jewell [email protected] %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears On Fri, May 27, 2016, at 07:26, Keith McWhite wrote: > Adding... > > [entzn@ausress9844] app $ cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.7 (Santiago) > > [entzn@ausress9844] app $ > [entzn@ausress9844] app $ > [entzn@ausress9844] app $ perl -v > This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi-ld > > Thanks, > [email protected] > > From: Keith McWhite > Sent: Thursday, May 26, 2016 3:44 PM > To: '[email protected]' > Subject: Trying to install module DBD::Pg > > Hello, > While running "cpan" ...trying to install module DBD::Pg - I get to this > point --> Path to pg_config? > So, it's looking for a path to an executable...Can you tell me what this > path should be? > > I also downloaded and unzipped DBD-Pg-3.5.3.tar.gz - but, as noted, I > perform the command --> perl Makefile.PL > and get the same response: Path to pg_config? > > Keith McWhite > Innovation Center > 3500 Paramount Parkway > Morrisville, NC 27560 > 919-461-6555 > E-mail : [email protected]<mailto:[email protected]> > To request work: > http://jira.be.bayercropscience<http://jira.be.bayercropscience/> >
