![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Thu, Oct 15, 2009 at 5:08 PM, Alan BRASLAU
On Thursday 15 October 2009 16:36:01 luigi scarso wrote:
On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman
wrote: Hi luigi,
Do you think you could compile luatex with CFLAGS=-g, and run it in gdb to get a backtrace? That might help to see where this comes from...
changing STRIP_LUATEX=TRUE in STRIP_LUATEX=FALSE in build.sh isn't enough ?
I don't know the luatex build system, I just posted general instructions :-)
pretty simple, on linux: download source,uncompress and $>./build.sh
Not so easy: I have never compiled luatex before! welcome!
$ svn checkout http://foundry.supelec.fr/svn/luatex (downloads 3.9G, including all beta versions in tag/)
$ cd trunk $ ./build.sh --nostrip ... libtool: link: gcc lib/lib.a /home/local/src/luatex/trunk/build/texk/kpathsea/.libs/libkpathsea.a -lm lib/lib.a(main.o): In function `main': /home/local/src/luatex/trunk/build/texk/web2c/lib/../../../../source/texk/web2c/lib/main.c:26: undefined reference to `mainbody' collect2: ld returned 1 exit status make[5]: *** [tangleboot] Error 1 make[5]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/local/src/luatex/trunk/build/texk/web2c' make[2]: *** [subtexk] Error 1 make[2]: Leaving directory `/home/local/src/luatex/trunk/build/texk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/local/src/luatex/trunk/build/texk' make: *** [all-recursive] Error 1 luatex binary not stripped ls: cannot access build/texk/web2c/luatex: No such file or directory $
Try add export CONFIG_SHELL='/bin/bash' in build.sh around line 14 ie from this # try to find gnu make; we may need it MAKE=make; to this # try to find gnu make; we may need it export CONFIG_SHELL='/bin/bash' MAKE=make; -- luigi