[luatex] Error when compiling luatex on MacOS X

Yannis Haralambous yannis.haralambous at telecom-bretagne.eu
Wed Feb 16 06:27:15 CET 2011


Hi everybody,
I tried (after a long time) to checkout luatex from the SVN server. After fetching and compiling many files, it ended with the following error:

mkdir -p ../../libs/lua51 && cd ../../libs/lua51 && cp -f ../../../src/texk/web2c/../../libs/lua51/* . && make posix
make a MYCFLAGS=-DLUA_USE_POSIX
cc -DLUA_USE_POSIX    -c lapi.c
cc -DLUA_USE_POSIX    -c lcode.c
cc -DLUA_USE_POSIX    -c ldebug.c
ldebug.c: In function ‘precheck’:
ldebug.c:279: warning: comparison is always true due to limited range of data type
cc -DLUA_USE_POSIX    -c ldo.c
cc -DLUA_USE_POSIX    -c ldump.c
cc -DLUA_USE_POSIX    -c lfunc.c
cc -DLUA_USE_POSIX    -c lgc.c
cc -DLUA_USE_POSIX    -c llex.c
cc -DLUA_USE_POSIX    -c lmem.c
cc -DLUA_USE_POSIX    -c lobject.c
cc -DLUA_USE_POSIX    -c lopcodes.c
cc -DLUA_USE_POSIX    -c lparser.c
cc -DLUA_USE_POSIX    -c lstate.c
cc -DLUA_USE_POSIX    -c lstring.c
cc -DLUA_USE_POSIX    -c ltable.c
cc -DLUA_USE_POSIX    -c ltm.c
cc -DLUA_USE_POSIX    -c lundump.c
cc -DLUA_USE_POSIX    -c lvm.c
cc -DLUA_USE_POSIX    -c lzio.c
cc -DLUA_USE_POSIX    -c lcoco.c
In file included from lcoco.c:344:
/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated, and require _XOPEN_SOURCE to be defined
lcoco.c:352:1: warning: "COCO_MAIN_PARAM" redefined
lcoco.c:248:1: warning: this is the location of the previous definition
lcoco.c:382: error: expected specifier-qualifier-list before ‘ucontext_t’
lcoco.c: In function ‘coco_main’:
lcoco.c:454: error: ‘coco_State’ has no member named ‘nargs’
lcoco.c:456: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:456: error: ‘coco_State’ has no member named ‘back’
lcoco.c: In function ‘lua_newcthread’:
lcoco.c:473: error: ‘coco_State’ has no member named ‘allocptr’
lcoco.c:473: error: ‘coco_State’ has no member named ‘allocsize’
lcoco.c:473: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:473: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:473: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:473: error: ‘coco_State’ has no member named ‘allocptr’
lcoco.c:473: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:473: error: ‘coco_State’ has no member named ‘allocptr’
lcoco.c:473: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c: In function ‘luaCOCO_free’:
lcoco.c:481: error: ‘coco_State’ has no member named ‘allocptr’
lcoco.c:481: error: ‘coco_State’ has no member named ‘allocsize’
lcoco.c: In function ‘luaCOCO_resume’:
lcoco.c:488: error: ‘coco_State’ has no member named ‘nargs’
lcoco.c:489: error: ‘coco_State’ has no member named ‘back’
lcoco.c:489: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:492: error: ‘coco_State’ has no member named ‘allocptr’
lcoco.c:492: error: ‘coco_State’ has no member named ‘allocsize’
lcoco.c: In function ‘luaCOCO_yield’:
lcoco.c:503: error: ‘coco_State’ has no member named ‘ctx’
lcoco.c:503: error: ‘coco_State’ has no member named ‘back’
lcoco.c:506: error: ‘coco_State’ has no member named ‘nargs’
lcoco.c:515: error: ‘coco_State’ has no member named ‘nargs’
make[2]: *** [lcoco.o] Error 1
make[1]: *** [posix] Error 2
make: *** [../../libs/lua51/liblua.a] Error 2


Any idea what may be going wrong? Or how to avoid this?

-- 
-------------------------------------------------------
Yannis Haralambous
Directeur d'études
ADRESSE TEMPORAIRE :
University of Aizu
Aizu-Wakamatsu, Fukushima-ken  965-8580, Japon
ADRESSE PERMANENTE :
Institut Télécom, Télécom Bretagne
Département Informatique
UMR CNRS 3192 Lab-STICC
Technopôle Brest Iroise
CS 83818, 29238 Brest Cedex 3, France
Tel: +33 2 29 00 14 27
Fax: +33 2 29 00 12 82
Email: yannis.haralambous at telecom-bretagne.eu
Internet: http://omega.enstb.org/yannis
ICBM address: 48°21'31.57"N 4°34'16.76"W
Twitter: y_haralambous
-------------------------------------------------------
...pour distinguer l'extérieur d'un aquarium,
mieux vaut n'être pas poisson

...the ball I threw while playing in the park
has not yet reached the ground

Es gab eine Zeit, wo ich nur ungern über Schubert sprechen,
nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Yannis Haralambous.vcf
Type: text/directory
Size: 508 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20110216/c8dfd371/attachment.bin>
-------------- next part --------------



More information about the luatex mailing list