Re: Error in DBD-Pg-3.10.0

Ankush Chawla <[email protected]> Tue, 26 May 2020 23:39:15 +0530
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <CAOY8JhAPh6LfpksR_5Oi_vf6poj+hzwsWUkHi1C3BoLKTKuk0w@mail.gmail.com>
--000000000000ad8c7b05a69100a4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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]# ex=
port
> POSTGRES_INCLUDE=3D/usr/include[root@ip-172-31-37-207 DBD-Pg-3.10.0]# per=
l
> 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) installe=
d
> 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
>
>

--=20
Best Regards,
Ankush Chawla

--000000000000ad8c7b05a69100a4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div>i =
did yum install cpan and mostly all pre-requiste was installed</div><div><b=
r></div><div>when I tried to use yum install libpq-dev</div><div>No package=
 libpq-dev available.<br>Error: Nothing to do</div><div><br></div><div>rega=
rds</div><div><br></div><div><br></div></div></div></div></div><br><div cla=
ss=3D"gmail_quote"><div class=3D"gmail_attr" dir=3D"ltr">On Tue, May 26, 20=
20 at 3:14 AM David Christensen &lt;<a href=3D"mailto:[email protected]">d=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(2=
04,204,204);border-left-width:1px;border-left-style:solid"><div dir=3D"auto=
">Have you installed =E2=80=9Clibpq-dev=E2=80=9D or equivalent package?<br>=
<br><div dir=3D"ltr">Sent from my iPhone</div><div dir=3D"ltr"><br><blockqu=
ote type=3D"cite">On May 25, 2020, at 5:41 AM, Ankush Chawla &lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]=
m</a>&gt; wrote:<br><br></blockquote></div><blockquote type=3D"cite"><div d=
ir=3D"ltr">=EF=BB=BF<div dir=3D"ltr"><div><b><font color=3D"#0000ff">OS : R=
ed Hat Linux 8</font></b></div><div><font color=3D"#0000ff"><b>[root@ip-172=
-31-37-207 DBD-Pg-3.10.0]# export POSTGRES_HOME=3D/usr/pgsql-11<br></b></fo=
nt></div><font color=3D"#0000ff"><b>[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</b></font><br>Configuring DBD::Pg 3.10.0<br>P=
ostgreSQL 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) installed in /usr/l=
ocal/lib64/perl5/auto/DBI/<br>Generating a Unix-style Makefile<br>Writing M=
akefile for DBD::Pg<br>Writing MYMETA.yml and MYMETA.json<br><b><font color=
=3D"#0000ff">[root@ip-172-31-37-207 DBD-Pg-3.10.0]# make</font></b><br>Skip=
 blib/lib/DBD/Pg.pm (unchanged)<br>Skip blib/lib/Bundle/DBD/Pg.pm (unchange=
d)<br>Running Mkbootstrap for Pg ()<br>chmod 644 &quot;Pg.bs&quot;<br>&quot=
;/usr/bin/perl&quot; -MExtUtils::Command::MM -e &#39;cp_nonempty&#39; -- Pg=
.bs blib/arch/auto/DBD/Pg/Pg.bs 644<br>gcc -c =C2=A0-I/usr/include -I/usr/l=
ocal/lib64/perl5/auto/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -We=
rror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS =
-fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=3D/usr/l=
ib/rpm/redhat/redhat-hardened-cc1 -specs=3D/usr/lib/rpm/redhat/redhat-annob=
in-cc1 -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-pro=
tection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -=
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -DPGLIBVERSION=3D110008 -DPGDEF=
PORT=3D5432 -g =C2=A0-DPERL_EXTMALLOC_DEF -Dmalloc=3DPerl_malloc -Dfree=3DP=
erl_mfree -Drealloc=3DPerl_realloc -Dcalloc=3DPerl_calloc -DVERSION=3D\&quo=
t;3.10.0\&quot; -DXS_VERSION=3D\&quot;3.10.0\&quot; -fPIC &quot;-I/usr/lib6=
4/perl5/CORE&quot; =C2=A0 Pg.c<br>In file included from Pg.xs:14:<br>Pg.h:3=
3:10: fatal error: libpq-fe.h: No such file or directory<br>=C2=A0#include =
&quot;libpq-fe.h&quot;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~<b=
r>compilation terminated.<br clear=3D"all"><div><font color=3D"#0000ff"><br=
></font></div><div><font color=3D"#0000ff"><b>Please suggest</b></font></di=
v>-- <br><div 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></div>
</div></blockquote></div></blockquote></div><br clear=3D"all"><br>-- <br><d=
iv class=3D"gmail_signature" 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></di=
v></div></div></div></div>

--000000000000ad8c7b05a69100a4--