Re: Please help for error ( file is required for XML support )

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: Please help for error ( file is required for XML support )
Дата
Msg-id CAEudQAqVj_j9i1dUwz38DoiLt_+WJAPakQ0EZxSXkZowCjw=ow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Please help for error ( file is required for XML support )  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
em sex., 28 de ago. de 2020 às 11:05, Ranier Vilela <ranier.vf@gmail.com> escreveu:
Em sex., 28 de ago. de 2020 às 04:37, Sachin Khanna <Sachin_Khanna@infosys.com> escreveu:

 

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 */

What version of gcc is being used in this environment?
It seems gcc does not compile C99, without -std=c99
configure:4421: checking for gcc option to accept ISO C99
conftest.c:130:3: note: use option -std=c99 or -std=gnu99 to compile your code

try add -std=c99
./configure -std=c99

regards,
Ranier Vilela

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: recovering from "found xmin ... from before relfrozenxid ..."
Следующее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Add Information during standby recovery conflicts