archive_string.c:427:21: error: ‘CODESET’ undeclared
Hi, I am getting the following error:
/var/tmp/3.6.2/cmake-3.6.2/Utilities/cmlibarchive/libarchive/archive_string.c: In function ‘default_iconv_charset’:
/var/tmp/3.6.2/cmake-3.6.2/Utilities/cmlibarchive/libarchive/archive_string.c:420:21: error: ‘CODESET’ undeclared (first use in this function)
return nl_langinfo(CODESET);
^
/var/tmp/3.6.2/cmake-3.6.2/Utilities/cmlibarchive/libarchive/archive_string.c:420:21: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_string.c.o] Error 1
make[1]: *** [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/all] Error 2
make: *** [all] Error 2
while trying to build CMake on Centos 7. It occurs while compiling each of the CMake versions I tried: 3.6.2, 3.12.4, 3.13.4
My locale printout is:
>
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
Here are bootstrap and gmake logs:
I would appreciate any help on this issue.
Maciej
Edited by Brad King