Error in DBD-Pg-3.10.0
Ankush Chawla <[email protected]> Thu, 21 May 2020 09:41:06 +0530
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <CAOY8JhB=8x+6vrg9ZVd9v9gdK5Vs9-wTCtjLxbqKXzYaK8F4xg@mail.gmail.com> |
--000000000000c5f67605a620b548
Content-Type: text/plain; charset="UTF-8"
*OS : Red Hat Linux 8*
*[root@ip-172-31-37-207 DBD-Pg-3.10.0]# export POSTGRES_HOME=/usr/pgsql-11*
*[root@ip-172-31-37-207 DBD-Pg-3.10.0]# export
POSTGRES_LIB=/usr/pgsql-11/lib[root@ip-172-31-37-207 DBD-Pg-3.10.0]# export
POSTGRES_INCLUDE=/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=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPGLIBVERSION=110008 -DPGDEFPORT=5432 -g
-DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree
-Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=\"3.10.0\"
-DXS_VERSION=\"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
--000000000000c5f67605a620b548
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><b><font color=3D"#0000ff">OS : Red 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></font></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 POSTG=
RES_INCLUDE=3D/usr/include<br>[root@ip-172-31-37-207 DBD-Pg-3.10.0]# perl M=
akefile.PL</b></font><br>Configuring DBD::Pg 3.10.0<br>PostgreSQL version: =
110008 (default port: 5432)<br>POSTGRES_HOME: /usr/pgsql-11<br>POSTGRES_INC=
LUDE: /usr/include<br>POSTGRES_LIB: /usr/pgsql-11/lib<br>OS: linux<br>Warni=
ng: 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/local/lib64/perl5/au=
to/DBI/<br>Generating a Unix-style Makefile<br>Writing Makefile 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 (unchanged)<br>Running Mkboo=
tstrap for Pg ()<br>chmod 644 "Pg.bs"<br>"/usr/bin/perl"=
; -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/=
DBD/Pg/Pg.bs 644<br>gcc -c =C2=A0-I/usr/include -I/usr/local/lib64/perl5/au=
to/DBI -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=3Dformat-secur=
ity -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstac=
k-protector-strong -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redha=
t-hardened-cc1 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=
=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-prote=
ction -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE=
-D_FILE_OFFSET_BITS=3D64 -DPGLIBVERSION=3D110008 -DPGDEFPORT=3D5432 -g =C2=
=A0-DPERL_EXTMALLOC_DEF -Dmalloc=3DPerl_malloc -Dfree=3DPerl_mfree -Dreallo=
c=3DPerl_realloc -Dcalloc=3DPerl_calloc -DVERSION=3D\"3.10.0\" -D=
XS_VERSION=3D\"3.10.0\" -fPIC "-I/usr/lib64/perl5/CORE"=
=C2=A0 Pg.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&q=
uot;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~<br>compilation term=
inated.<br clear=3D"all"><div><font color=3D"#0000ff"><br></font></div><div=
><font color=3D"#0000ff"><b>Please suggest</b></font></div>-- <br><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Best Regards,<br>An=
kush Chawla<br><br></div></div></div></div></div></div></div>
--000000000000c5f67605a620b548--