[luatex] compiling on MINIX3

Taco Hoekwater taco at elvenkind.com
Wed Jun 29 15:46:27 CEST 2011


Hi,

On 06/28/11 21:38, Reviczky, Adam wrote:
> 
> The same happened a while ago on FreeBSD, see:
> http://www.ntg.nl/pipermail/dev-luatex/2010-March/003473.html
> 
> I believe it is the same problem, and setting TL_MAKE or MAKE doesn't help either.

There is not a lot I can do about this problem from here, I fear.
You could try to do an explicit export of MAKE=gmake, maybe that
helps.

> ---
> gcc -DHAVE_CONFIG_H -I. -I../../../source/libs/zziplib -Iinclude -I../../../source/libs/zziplib/zziplib-0.13.60 -I/home/reviczky/minimals/luatex-beta-0.70.1/build/libs/zlib/include -D_USE_MMAP  -Wall -Wunused -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -Wmissing-prototypes -Wmissing-declarations -g -O2 -MT stat.o -MD -MP -MF .deps/stat.Tpo -c -o stat.o `test -f 'zziplib-0.13.60/zzip/stat.c' || echo '../../../source/libs/zziplib/'`zziplib-0.13.60/zzip/stat.c
> ../../../source/libs/zziplib/zziplib-0.13.60/zzip/stat.c: In function 'zzip_dir_stat':
> ../../../source/libs/zziplib/zziplib-0.13.60/zzip/stat.c:44: error: 'strcasecmp' undeclared (first use in this function)
> ../../../source/libs/zziplib/zziplib-0.13.60/zzip/stat.c:44: error: (Each undeclared identifier is reported only once
> ../../../source/libs/zziplib/zziplib-0.13.60/zzip/stat.c:44: error: for each function it appears in.)

This is completely different. It looks like a small portability bug in
zziplib, it should #include <strings.h> (or possibly #define
_POSIX_SOURCE).

I do not know whether gcc has a predefined macro
for minix, but you can definitely try adding

  #define _POSIX_SOURCE 1

in zzip/stat.c

Please let me know whether that works.

Best wishes,
Taco






Best wishes,
Taco


More information about the luatex mailing list