Re: Error in DBD-Pg-3.10.0
Ankush Chawla <[email protected]> Tue, 26 May 2020 23:54:18 +0530
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <CAOY8JhCkTD8RrkwSSRLFSQser5mprFv-uENK3m88Ay-TQ3ZHtw@mail.gmail.com> |
--0000000000006e97e505a691367a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hooray !!!! make worked is there any standard document as it is getting very confusing , every document gives different pre-requiste On Tue, May 26, 2020 at 11:48 PM David Christensen <[email protected]> wrote: > Since you=E2=80=99re on CentOS or RHEL, try `yum install postgresql-devel= `. > -- > David Christensen > Senior Software and Database Engineer > End Point Corporation > [email protected] > 785-727-1171 > > > > On May 26, 2020, at 1:09 PM, Ankush Chawla <[email protected]> > wrote: > > > > i did yum install cpan and mostly all pre-requiste was installed > > > > when I tried to use yum install libpq-dev > > No package libpq-dev available. > > Error: Nothing to do > > > > regards > > > > > > > > On Tue, May 26, 2020 at 3:14 AM David Christensen <[email protected]> > wrote: > > Have you installed =E2=80=9Clibpq-dev=E2=80=9D or equivalent package? > > > > Sent from my iPhone > > > >> On May 25, 2020, at 5:41 AM, Ankush Chawla <[email protected]> > wrote: > >> > >> =EF=BB=BF > >> OS : Red Hat Linux 8 > >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export > POSTGRES_HOME=3D/usr/pgsql-11 > >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export > POSTGRES_LIB=3D/usr/pgsql-11/lib > >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export > POSTGRES_INCLUDE=3D/usr/include > >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# perl Makefile.PL > >> Configuring DBD::Pg 3.10.0 > >> PostgreSQL version: 110008 (default port: 5432) > >> POSTGRES_HOME: /usr/pgsql-11 > >> POSTGRES_INCLUDE: /usr/include > >> POSTGRES_LIB: /usr/pgsql-11/lib > >> OS: linux > >> Warning: prerequisite Test::More 0.88 not found. > >> Using DBI 1.641 (for perl 5.026003 on x86_64-linux-thread-multi) > installed in /usr/local/lib64/perl5/auto/DBI/ > >> Generating a Unix-style Makefile > >> Writing Makefile for DBD::Pg > >> Writing MYMETA.yml and MYMETA.json > >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# make > >> Skip blib/lib/DBD/Pg.pm (unchanged) > >> Skip blib/lib/Bundle/DBD/Pg.pm (unchanged) > >> Running Mkbootstrap for Pg () > >> chmod 644 "Pg.bs" > >> "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs > blib/arch/auto/DBD/Pg/Pg.bs 644 > >> gcc -c -I/usr/include -I/usr/local/lib64/perl5/auto/DBI -D_REENTRANT > -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=3Dformat-security > -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions > -fstack-protector-strong -grecord-gcc-switches > -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 > -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric > -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection > -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=3D64 -DPGLIBVERSION=3D110008 -DPGDEFPORT=3D5432 -g > -DPERL_EXTMALLOC_DEF -Dmalloc=3DPerl_malloc -Dfree=3DPerl_mfree > -Drealloc=3DPerl_realloc -Dcalloc=3DPerl_calloc -DVERSION=3D\"3.10.0\" > -DXS_VERSION=3D\"3.10.0\" -fPIC "-I/usr/lib64/perl5/CORE" Pg.c > >> In file included from Pg.xs:14: > >> Pg.h:33:10: fatal error: libpq-fe.h: No such file or directory > >> #include "libpq-fe.h" > >> ^~~~~~~~~~~~ > >> compilation terminated. > >> > >> Please suggest > >> -- > >> Best Regards, > >> Ankush Chawla > >> > > > > > > -- > > Best Regards, > > Ankush Chawla > > > > --=20 Best Regards, Ankush Chawla --0000000000006e97e505a691367a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>hooray !!!! make worked</div><div>is there any standa= rd document as it is getting very confusing , every document gives differen= t pre-requiste</div></div><br><div class=3D"gmail_quote"><div class=3D"gmai= l_attr" dir=3D"ltr">On Tue, May 26, 2020 at 11:48 PM David Christensen <= <a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br>= </div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;p= adding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;bo= rder-left-style:solid">Since you=E2=80=99re on CentOS or RHEL, try `yum ins= tall postgresql-devel`.<br> --<br> David Christensen<br> Senior Software and Database Engineer<br> End Point Corporation<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a><br> 785-727-1171<br> <br> <br> > On May 26, 2020, at 1:09 PM, Ankush Chawla <<a href=3D"mailto:ankus= [email protected]" target=3D"_blank">[email protected]</a>> wro= te:<br> > <br> > i did yum install cpan and mostly all pre-requiste was installed<br> > <br> > when I tried to use yum install libpq-dev<br> > No package libpq-dev available.<br> > Error: Nothing to do<br> > <br> > regards<br> > <br> > <br> > <br> > On Tue, May 26, 2020 at 3:14 AM David Christensen <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>> wrote:<b= r> > Have you installed =E2=80=9Clibpq-dev=E2=80=9D or equivalent package?<= br> > <br> > Sent from my iPhone<br> > <br> >> On May 25, 2020, at 5:41 AM, Ankush Chawla <<a href=3D"mailto:a= [email protected]" target=3D"_blank">[email protected]</a>>= wrote:<br> >> <br> >> =EF=BB=BF<br> >> OS : Red Hat Linux 8<br> >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export POSTGRES_HOME=3D/usr= /pgsql-11<br> >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export POSTGRES_LIB=3D/usr/= pgsql-11/lib<br> >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# export POSTGRES_INCLUDE=3D/= usr/include<br> >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# perl Makefile.PL<br> >> Configuring DBD::Pg 3.10.0<br> >> PostgreSQL version: 110008 (default port: 5432)<br> >> POSTGRES_HOME: /usr/pgsql-11<br> >> POSTGRES_INCLUDE: /usr/include<br> >> POSTGRES_LIB: /usr/pgsql-11/lib<br> >> OS: linux<br> >> Warning: prerequisite Test::More 0.88 not found.<br> >> Using DBI 1.641 (for perl 5.026003 on x86_64-linux-thread-multi) i= nstalled in /usr/local/lib64/perl5/auto/DBI/<br> >> Generating a Unix-style Makefile<br> >> Writing Makefile for DBD::Pg<br> >> Writing MYMETA.yml and MYMETA.json<br> >> [root@ip-172-31-37-207 DBD-Pg-3.10.0]# make<br> >> Skip blib/lib/DBD/Pg.pm (unchanged)<br> >> Skip blib/lib/Bundle/DBD/Pg.pm (unchanged)<br> >> Running Mkbootstrap for Pg ()<br> >> chmod 644 "Pg.bs"<br> >> "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonem= pty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644<br> >> gcc -c=C2=A0 -I/usr/include -I/usr/local/lib64/perl5/auto/DBI -D_R= EENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_= FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector= -strong -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-= cc1 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric -= fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrap= v -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFF= SET_BITS=3D64 -DPGLIBVERSION=3D110008 -DPGDEFPORT=3D5432 -g=C2=A0 -DPERL_EX= TMALLOC_DEF -Dmalloc=3DPerl_malloc -Dfree=3DPerl_mfree -Drealloc=3DPerl_rea= lloc -Dcalloc=3DPerl_calloc -DVERSION=3D\"3.10.0\" -DXS_VERSION= =3D\"3.10.0\" -fPIC "-I/usr/lib64/perl5/CORE"=C2=A0 =C2= =A0Pg.c<br> >> In file included from Pg.xs:14:<br> >> Pg.h:33:10: fatal error: libpq-fe.h: No such file or directory<br> >>=C2=A0 #include "libpq-fe.h"<br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~<br> >> compilation terminated.<br> >> <br> >> Please suggest<br> >> --<br> >> Best Regards,<br> >> Ankush Chawla<br> >> <br> > <br> > <br> > --<br> > Best Regards,<br> > Ankush Chawla<br> > <br> <br> </blockquote></div><br clear=3D"all"><br>-- <br><div class=3D"gmail_signatu= re" dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr= ">Best Regards,<br>Ankush Chawla<br><br></div></div></div></div></div></div= > --0000000000006e97e505a691367a--