From: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> |
---|---|
To: | Sachin Khanna <Sachin_Khanna(at)infosys(dot)com> |
Cc: | 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 14:13:28 |
Message-ID: | CAEudQAqVj_j9i1dUwz38DoiLt_+WJAPakQ0EZxSXkZowCjw=ow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
em sex., 28 de ago. de 2020 às 11:05, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
escreveu:
> Em sex., 28 de ago. de 2020 às 04:37, Sachin Khanna <
> Sachin_Khanna(at)infosys(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Drouvot, Bertrand | 2020-08-28 14:14:25 | Re: Add Information during standby recovery conflicts |
Previous Message | Robert Haas | 2020-08-28 14:08:55 | Re: recovering from "found xmin ... from before relfrozenxid ..." |