[Dev-luatex] Building luaTeX rev. 165

Taco Hoekwater taco at elvenkind.com
Tue Nov 28 09:15:21 CET 2006


Arthur Reutenauer wrote:
> 	Hello,
> 
>   I checked out the latest revision of luaTeX and it works fine, both on
> darwin and on linux. There is only a minor flaw in the building process,

Good to know.

> namely the Makefile doesn't find makecpool in the build/ subdirectory,

That's odd (because it works fine here).

But there is a major change from previous versions: the perl script
in 'src' is no longer used. A C binary is compiled instead, inside 
build's luatexdir. Maybe your system got confused (see below)?



Best, Taco

Immediately after the compile of luatex3.c, I get:


test -d luatexdir || mkdir luatexdir
grep '^@d luatex_version_string=='
       ../../../src/texk/web2c/luatexdir/luatex.web \
         | sed "s/^.*'-//;s/'.*$//" \
          >luatexdir/luatex.version
test -d luatexdir || mkdir luatexdir
sed -e s/LUATEX-VERSION/`cat luatexdir/luatex.version`/ \
       ../../../src/texk/web2c/luatexdir/luatexextra.in
        >luatexdir/luatexextra.h
test -d luatexdir || mkdir luatexdir
sed s/TEX-OR-MF-OR-MP/luatex/ ../../../src/texk/web2c/lib/texmfmp.c
       >luatexextra.c
gcc -DHAVE_CONFIG_H  -I. -I../../../src/texk/web2c -I..
       -I../../../src/texk/web2c/..  -I../../libs/obsdcompat
       -I../../libs/obsdcompat/..
       -I../../../src/texk/web2c/../../libs/obsdcompat
       -I../../../src/texk/web2c/../../libs/obsdcompat/.. -g -O2  -c
       luatexextra.c -o luatexextra.o
cd luatexdir && make  CC='gcc' CFLAGS='-g -O2 ' LDFLAGS=''  makecpool
make[1]: Entering directory
       `/home/taco/luatex/luatex/build/texk/web2c/luatexdir'
gcc -DHAVE_CONFIG_H  -I. -I../../../../src/texk/web2c/luatexdir -I..
       -I../../../../src/texk/web2c/luatexdir/../..  -I..
       -I../../../../src/texk/web2c/luatexdir/.. -I../..
       -I../../../../src/texk/web2c/luatexdir/../.. -I../../../libs/md5
       -I../../../../src/texk/web2c/luatexdir/../../../libs/md5
       -I../../../libs/libpng
       -I../../../../src/texk/web2c/luatexdir/../../../libs/libpng
       -I../../../libs/zlib
       -I../../../../src/texk/web2c/luatexdir/../../../libs/zlib
       -I../../../libs/obsdcompat -I../../../libs/obsdcompat/..
       -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat 

       -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat/..
       -DpdfTeX -g -O2  -c
        ../../../../src/texk/web2c/luatexdir/makecpool.c -o makecpool.o
gcc -o makecpool   makecpool.o
make[1]: Leaving directory
       `/home/taco/luatex/luatex/build/texk/web2c/luatexdir'
./luatexdir/makecpool luatex.pool luatexdir/ptexlib.h > loadpool.c
gcc -DHAVE_CONFIG_H  -I. -I../../../src/texk/web2c -I..
        -I../../../src/texk/web2c/..  -I../../libs/obsdcompat
        -I../../libs/obsdcompat/..
        -I../../../src/texk/web2c/../../libs/obsdcompat
        -I../../../src/texk/web2c/../../libs/obsdcompat/.. -g -O2  -c
        loadpool.c -o loadpool.o



More information about the dev-luatex mailing list