On Thu, Oct 15, 2009 at 5:08 PM, Alan BRASLAU <[email protected]> wrote:
> On Thursday 15 October 2009 16:36:01 luigi scarso wrote:
>> On Thu, Oct 15, 2009 at 4:32 PM, Matthijs Kooijman <[email protected]>
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to