[Dev-luatex] LuaTeX build error on sparc64/amd64 within TeX Live

Edd Barrett vext01 at gmail.com
Tue Sep 30 14:41:12 CEST 2008


Hello,

I am making TeX Live packages for OpenBSD and have hit problems with
64 bit architectures:

---8<---lcoco.c:334:22: ucontext.h: No such file or directory
lcoco.c:372: error: syntax error before "ucontext_t"
lcoco.c: In function `coco_main':
lcoco.c:446: error: structure has no member named `ctx'
lcoco.c:446: error: structure has no member named `back'
lcoco.c: In function `lua_newcthread':
lcoco.c:463: error: structure has no member named `ctx'
lcoco.c:463: error: structure has no member named `ctx'
lcoco.c:463: error: structure has no member named `ctx'
lcoco.c:463: error: structure has no member named `ctx'
lcoco.c:463: error: structure has no member named `ctx'
lcoco.c: In function `luaCOCO_resume':
lcoco.c:479: error: structure has no member named `back'
lcoco.c:479: error: structure has no member named `ctx'
lcoco.c: In function `luaCOCO_yield':
lcoco.c:493: error: structure has no member named `ctx'
lcoco.c:493: error: structure has no member named `back'
gmake[4]: *** [lcoco.o] Error 1
gmake[4]: Leaving directory `/usr/ports/print/texlive/base/w-texlive_base-2008/t
exlive-20080816-source/work/libs/lua51'
gmake[3]: *** [posix] Error 2
gmake[3]: Leaving directory `/usr/ports/print/texlive/base/w-texlive_base-2008/t
exlive-20080816-source/work/libs/lua51'
gmake[2]: *** [../../libs/lua51/liblua.a] Error 2
gmake[2]: Leaving directory `/usr/ports/print/texlive/base/w-texlive_base-2008/t
exlive-20080816-source/work/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/print/texlive/base/w-texlive_base-2008/t
exlive-20080816-source/work/texk'
gmake: *** [all] Error 1
*** Error code 2
---8<---

OpenBSD does not use ucontext.h, but interestingly this error does not
show on i386.

For now I have disabled luatex in the build, due to luatex being in an
experimental stage, but I thought it would be good to report this and
get on top of it early rather than later.

Also I was wondering if it will be possible to build luatex with an
external lua (not the one in texlive), but I realise that may not be a
question for this list.

-- 

Best Regards

Edd

http://students.dec.bournemouth.ac.uk/ebarrett


More information about the dev-luatex mailing list