RE: Please help for error ( file <libxml/parser.h> is required for XML support )

From: Sachin Khanna <Sachin_Khanna(at)infosys(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: Please help for error ( file <libxml/parser.h> is required for XML support )
Date: 2020-08-28 07:36:48
Message-ID: SG2PR02MB3452B924743E58F6ABFE986380520@SG2PR02MB3452.apcprd02.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Now I can see the that libraries are identified in config.log . I also found some error in configuration file as well. Highlight below.
Please find the attached config.log file for reference.
Please help and let me know if I there is any issue in configuration script and I need to change it ?

I am using PostgreSQL version postgresql-12.3.tar.gz

configure:8291: checking for XML2_CONFIG
configure:8293: result: /usr/lib64/libxml2.so
configure:8416: checking for grep that handles long lines and -e
configure:8474: result: /bin/grep
configure:8479: checking for egrep
configure:8541: result: /bin/grep -E
configure:8588: checking for ld used by GCC
configure:8651: result: /bin/ld
configure:8658: checking if the linker (/bin/ld) is GNU ld
GNU ld version 2.27-44.base.el7

at-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -D_GNU_SOURCE conftest.c >&5
conftest.c: In function 'main':
conftest.c:76:20: error: expected expression before ')' token
if (sizeof ((_Bool)))
^
configure:12910: $? = 1
configure: failed program was:
| /* confdefs.h */

at-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -D_GNU_SOURCE conftest.c >&5
conftest.c:75:20: fatal error: atomic.h: No such file or directory
#include <atomic.h>
^
compilation terminated.

| #include <libxml/parser.h>
configure:13266: result: no
configure:13266: checking libxml/parser.h presence
configure:13266: gcc -std=gnu99 -E -D_GNU_SOURCE conftest.c
conftest.c:63:27: fatal error: libxml/parser.h: No such file or directory
#include <libxml/parser.h>
^
compilation terminated.

Thanks and Regards,
SACHIN KHANNA
212 BASIS DBA TEAM OFFSHORE
Office : 204058624
Cell : 9049522511

From: Sachin Khanna
Sent: Friday, August 28, 2020 12:14 PM
To: 'Ranier Vilela' <ranier(dot)vf(at)gmail(dot)com>; PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: Please help for error ( file <libxml/parser.h> is required for XML support )

Package libxml2-devel-2.9.1-6.el7.4.ppc64le is already installed.

Thanks and Regards,
SACHIN KHANNA
212 BASIS DBA TEAM OFFSHORE
Office : 204058624
Cell : 9049522511

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com<mailto:ranier(dot)vf(at)gmail(dot)com>>
Sent: Thursday, August 27, 2020 6:46 PM
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org<mailto:pgsql-hackers(at)lists(dot)postgresql(dot)org>>
Cc: Sachin Khanna <Sachin_Khanna(at)infosys(dot)com<mailto:Sachin_Khanna(at)infosys(dot)com>>
Subject: re: Please help for error ( file <libxml/parser.h> is required for XML support )

[**EXTERNAL EMAIL**]
>checking for libxml/parser.h... no
>configure: error: header file <libxml/parser.h> is required for XML support

sudo yum install libxml2-devel

You need to install the development package before ./configure.

regards,
Ranier Vilela

Attachment Content-Type Size
config.log application/octet-stream 142.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message gkokolatos 2020-08-28 07:44:50 Re: [PATCH] Explicit null dereferenced (src/backend/access/heap/heaptoast.c)
Previous Message Ashutosh Bapat 2020-08-28 06:48:35 Re: Evaluate expression at planning time for two more cases