lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all,

Last week, I received a bug report regarding luatex compilation
on new linux installations. Luatex includes lua 5.1.4 (almost)
unchanged, and that means that this problem almost certainly affects
the normal lua compilation on such systems as well, so I am
forwarding the issue to this list.

The build process fails with:

  In file included from
      ../../../source/texk/web2c/luatexdir/lua51/ldebug.c:31:
  /usr/include/stdio.h:653:39: error: macro "getline" passed 3
      arguments, but takes just 2
  make[5]: *** [liblua51_a-ldebug.o] Error 1

It looks like this is because POSIX 2008's getline() is now exported
by default in the newer glibc versions (as of 2.9.90, apparently).

Best wishes,
Taco