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

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: Sachin Khanna <Sachin_Khanna(at)infosys(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Please help for error ( file <libxml/parser.h> is required for XML support )
Date: 2020-08-27 13:30:33
Message-ID: CAE9k0P=XEe7v8Lk_wP1b=dPSd9=fjrjPS1NMN9Mhrz8uVi4Hkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 27, 2020 at 6:30 PM Sachin Khanna <Sachin_Khanna(at)infosys(dot)com> wrote:
>
> Hi
>
>
>
> I am new to postgreSQL , I am trying to install the same with XML support but it is giving below error on configuration.
>
>
>
> ./configure --prefix=/opt/postgresql-12.3/pqsql --with-libxml --datadir=/home/postgres/ --with-includes=/usr/lib64/
>

It seems like your include path is pointing to "/usr/lib64/" which
basically contains the libraries and not the header files, I guess. To
include libraries you should be using --with-libraries option.

Also, I feel that these types of questions are not for hackers
mailing-list. These are configuration related issues and should
probably be raised in pgsql-general mailing list
(pgsql-general.postgresql.org).

--
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message gkokolatos 2020-08-27 13:38:51 PATCH: Attempt to make dbsize a bit more consistent
Previous Message Ranier Vilela 2020-08-27 13:16:22 re: Please help for error ( file <libxml/parser.h> is required for XML support )