Re: Error in DBD-Pg-3.10.0
David Christensen <[email protected]> Tue, 26 May 2020 13:18:14 -0500
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_F82946A8-8881-448D-92BC-10F84F2DBCCD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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: >=20 > i did yum install cpan and mostly all pre-requiste was installed >=20 > when I tried to use yum install libpq-dev > No package libpq-dev available. > Error: Nothing to do >=20 > regards >=20 >=20 >=20 > 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? >=20 > Sent from my iPhone >=20 >> On May 25, 2020, at 5:41 AM, Ankush Chawla <[email protected]> = wrote: >>=20 >> =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. >>=20 >> Please suggest >> -- >> Best Regards, >> Ankush Chawla >>=20 >=20 >=20 > -- > Best Regards, > Ankush Chawla >=20 --Apple-Mail=_F82946A8-8881-448D-92BC-10F84F2DBCCD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAl7NXWYACgkQN0ojyd+b ZbjFOhAAjqipq62sP+V9Tg70nF/T7bD9n1sEC9xLf3nO3sgZrYCwcYVZ806/bXuQ N16BsGNvLHH9idNhMslCOwYV0lOgA9/WPEu7ES91safKWTZEfFjmlnXGNNIci0wS 0WKxEECmU2wBS2IE/tU0dwLh/dR/Ggq8Hy1KK1XEV48YnT9Cy/UeCebzzKDDdRkE /6LruJ+1NXbrauf0pNj6JmaUiqCIUVGAuO4o4SsDfvitF3NpyhqJmcSTLEgj8+tQ eoh+P+O0nnE2sorVitHoZKNq0uAAz8gTziWxB4g/HW5sFbrkTy6PnvMW2sKLvq+N f2Zg5Dmgw6Ew4+JpQXWyaF9Wfgqg5klk6Uy7zZZDU/u0Xa6frEnpKmj+u5OoE3tg gf3YVFBcK+YIlBARAj3PDfx0/ik7n2X8+58RlEt4rNCZwm287/VJmGp9bXZQv5mF gh4JM6HiVaNAVqbbkJy68cW965xFHInC7VT/6HSk3MXCJWQPU7ZaDHE5ousgNe4W gyO7Bisu2HgWbGicLOxsyN8DcNxdCKvQBBlBgpWH94a/k5qQTts1Iy+sjX3zh9mr 48CEWZsHd8aGRd02vC/1oGPudlLQl3g0u/ddeqeWwEMa/sxTQgF1qosNz6IO8RHz BdjOKVtzAAJerAb19nj2A2vf7suvc0U6jjRXoYU+YCmqyn7OgC4= =f7gv -----END PGP SIGNATURE----- --Apple-Mail=_F82946A8-8881-448D-92BC-10F84F2DBCCD--