<div dir="ltr"><div style="font-size:small" class="gmail_default">​Hello,<br><br></div><div style="font-size:small" class="gmail_default">In order to solve the libpng problem I tried to compile using<br><br> CONFIG_SHELL=/bin/bash CC="gcc64 -D_XOPEN_SOURCE=600  -std=gnu99" CXX="g++64 -std=c++11" ./Build --host=x86_64-pc-solaris2.11 \<br> --build=x86_64-pc-solaris2.11  -enable-luajittex  --enable-mfluajit  --enable-xindy  CLISP=$clisp_builddir/clisp<br>​</div><div style="font-size:small;display:inline" class="gmail_default">​Compilation proceeded with no problem. But then it stoped ​</div>​<div style="font-size:small;display:inline" class="gmail_default">​when compiling zziplib. The problem is that​</div><div style="font-size:small;display:inline" class="gmail_default">​ ​</div>strcasecmp​<div style="font-size:small;display:inline" class="gmail_default">​ is in strings.h. The following patch solves this problem:<br><br>​--- libs/zziplib/zziplib-src/zzip/stat.c.old  2018-01-13 17:11:21.723023684 +0000<br>+++ libs/zziplib/zziplib-src/zzip/stat.c      2018-01-13 17:11:55.991064980 +0000<br>@@ -16,7 +16,7 @@<br> #include <zzip/lib.h>           /* exported... */<br> #include <zzip/file.h><br> #include <string.h><br>-#if defined(_AIX)<br>+#if defined(_AIX) || defined(__sun)<br> #include <strings.h> /* for strcasecmp */<br> #endif<br> #include <sys/stat.h></div><br><br><div style="font-size:small" class="gmail_default">​Now there is a problem with ​</div><br><br><div style="font-size:small" class="gmail_default">g++64 -std=c++11 -D_REENTRANT  -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=0  -I/container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common   "-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION  -O2 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long    -c   -o <a href="http://udatamem.ao">udatamem.ao</a> /container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/udatamem.cpp<br>gcc64 -D_XOPEN_SOURCE=600 -std=gnu99 -D_REENTRANT  -DU_HAVE_ELF_H=1 -DU_ENABLE_DYLOAD=0 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=0  -I/container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common   "-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION  -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings    -c   -o <a href="http://umapfile.ao">umapfile.ao</a> /container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/umapfile.c<br>In file included from /container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/unicode/utypes.h:38:0,<br>                 from /container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/unicode/putil.h:29,<br>                 from /container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/umapfile.c:24:<br>/container/source/texlive/source/Work/libs/icu/../../../libs/icu/icu-src/source/common/unicode/umachine.h:343:13: error: unknown type name ‘char16_t’<br>     typedef char16_t UChar;<br>             ^<br><br></div><div style="font-size:small" class="gmail_default">I have also tried   CC="gcc64 -D_XOPEN_SOURCE=600  -std=gnu11" but it is not working.<br></div><div style="font-size:small" class="gmail_default">Any ideas?<br><br></div><div style="font-size:small" class="gmail_default">A.S.<br></div><br><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Apostolos Syropoulos<br>Xanthi, GREECE<br><br></div></div>
</div></div>