Hi! while compiling texlive on AIX, i encountered problems with luatex-related files. Most of them are about variable declarations in C files which appear not at the beginning of the block. i spent a few hours on cleaning this up, and attached a patch against current texlive source tree, which changes these files: libs/luafilesystem/src/lfs.c libs/luafontforge/fontforge/Unicode/Makefile libs/luafontforge/fontforge/fontforge/Makefile libs/luafontforge/fontforge/fontforge/namelist.c libs/luafontforge/fontforge/inc/basics.h libs/luafontforge/Makefile libs/lua51/liolib.c libs/luazlib/lzlib.c texk/web2c/luatexdir/image/writepng.c texk/web2c/luatexdir/image/image.h texk/web2c/luatexdir/image/writeimg.c texk/web2c/luatexdir/lua/lcallbacklib.c texk/web2c/luatexdir/lua/loslibext.c texk/web2c/luatexdir/lua/limglib.c texk/web2c/luatexdir/lua/luatoken.c texk/web2c/luatexdir/lang/texlang.c texk/web2c/luatexdir/lang/hyphen.c texk/web2c/luatexdir/tex/postlinebreak.c texk/web2c/luatexdir/tex/texnodes.c texk/web2c/luatexdir/font/luafont.c *please* fix these portability problems, otherwise it will be painful and time consuming to do this again. attached patch is only a suggested way to fix the problem; you may choose to use slightly different approach in some case(s). please let me know if the nature of the problem(s) is not clear from the patch. Best, v.