[luatex] Newbie problem with luamplib, part 2 (compiling luatex-beta-0.79.0)

Eduardo Ochs eduardoochs at gmail.com
Fri May 2 01:05:43 CEST 2014


Hi list,

is this supposed to be the right way to download and build
luatex-beta-0.79.0?

  export S=$HOME/snarf
  #
  # http://www.luatex.org/download.html
  # https://foundry.supelec.fr/frs/download.php/file/15761/luatex-beta-0.79.0-source.tar.bz2
  mkdir -p $S/https/foundry.supelec.fr/frs/download.php/file/15761/
  cd       $S/https/foundry.supelec.fr/frs/download.php/file/15761/
  wget     'https://foundry.supelec.fr/frs/download.php/file/15761/luatex-beta-0.79.0-source.tar.bz2'
  #
  rm -Rv ~/bigsrc/luatex-beta-0.79.0/
  tar -C ~/bigsrc/ -xvjf \
    $S/https/foundry.supelec.fr/frs/download.php/file/15761/luatex-beta-0.79.0-source.tar.bz2
  cd     ~/bigsrc/luatex-beta-0.79.0/
  #
  find * -type f | sort > .files
  #
  ./build.sh  2>&1 | tee obsh

because "./build.sh" is failing in an unexpected way... here are the
last lines (more precisely: lines 1498-1617) of the compilation log,
each indented two spaces...

  make[3]: Leaving directory
`/home/edrx/bigsrc/luatex-beta-0.79.0/build/libs/cairo'
  echo timestamp >rebuild.stamp
  make[2]: Leaving directory
`/home/edrx/bigsrc/luatex-beta-0.79.0/build/libs/cairo'
  make[1]: Leaving directory
`/home/edrx/bigsrc/luatex-beta-0.79.0/build/libs/cairo'
  cd ./../../libs/cairo && make  rebuild
  make[1]: Entering directory
`/home/edrx/bigsrc/luatex-beta-0.79.0/build/libs/cairo'
  make[1]: Leaving directory
`/home/edrx/bigsrc/luatex-beta-0.79.0/build/libs/cairo'
    CC       mplibdir/libmplib_a-avl.o
    CC       mplibdir/libmplib_a-decNumber.o
    CC       mplibdir/libmplib_a-decContext.o
    CC       libmplib_a-tfmin.o
    CC       libmplib_a-mp.o
    CC       libmplib_a-mpmath.o
    CC       libmplib_a-mpmathdecimal.o
    CC       libmplib_a-mpmathdouble.o
    CC       libmplib_a-mpstrings.o
    CC       libmplib_a-pngout.o
    CC       libmplib_a-psout.o
    CC       libmplib_a-svgout.o
    AR       libmplib.a
    CC       luatexdir/lua/libluatex_a-lstrlibext.o
    CTANGLE  luastuff.c
    CC       libluatex_a-luastuff.o
    CTANGLE  texluac.c
    CC       libluatex_a-texluac.o
    CC       luatexdir/lua/libluatex_a-lcallbacklib.o
    CC       luatexdir/lua/libluatex_a-lfontlib.o
    CC       luatexdir/lua/libluatex_a-limglib.o
    CXX      luatexdir/lua/libluatex_a-lpdfscannerlib.o
    CXX      luatexdir/lua/libluatex_a-lepdflib.o
    CC       luatexdir/lua/libluatex_a-lkpselib.o
    CC       luatexdir/lua/libluatex_a-llanglib.o
    CC       luatexdir/lua/libluatex_a-llualib.o
    CC       luatexdir/lua/libluatex_a-llfslibext.o
    CC       luatexdir/lua/libluatex_a-lnodelib.o
    CC       luatexdir/lua/libluatex_a-liolibext.o
    CC       luatexdir/lua/libluatex_a-loslibext.o
    CC       luatexdir/lua/libluatex_a-lpdflib.o
    CC       luatexdir/lua/libluatex_a-lstatslib.o
    CC       luatexdir/lua/libluatex_a-ltexiolib.o
    CC       luatexdir/lua/libluatex_a-ltexlib.o
    CC       luatexdir/lua/libluatex_a-ltokenlib.o
    CC       luatexdir/utils/libluatex_a-avl.o
    CC       synctexdir/libluatex_a-synctex.o
    CC       mplibdir/libluatex_a-lmplib.o
    CTANGLE  dvigen.c
    CC       libluatex_a-dvigen.o
    CTANGLE  dofont.c
    CC       libluatex_a-dofont.o
    CTANGLE  luafont.c
    CC       libluatex_a-luafont.o
    CTANGLE  mapfile.c
    CC       libluatex_a-mapfile.o
    CTANGLE  pkin.c
    CC       libluatex_a-pkin.o
    CTANGLE  sfnt.c
    CC       libluatex_a-sfnt.o
    CTANGLE  subfont.c
    CC       libluatex_a-subfont.o
    CTANGLE  texfont.c
    CC       libluatex_a-texfont.o
    CTANGLE  tfmofm.c
    CC       libluatex_a-tfmofm.o
    CTANGLE  tounicode.c
    CC       libluatex_a-tounicode.o
    CTANGLE  tt_glyf.c
    CC       libluatex_a-tt_glyf.o
    CTANGLE  tt_table.c
    CC       libluatex_a-tt_table.o
    CTANGLE  vfovf.c
    CC       libluatex_a-vfovf.o
    CTANGLE  vfpacket.c
    CC       libluatex_a-vfpacket.o
    CTANGLE  writecff.c
    CC       libluatex_a-writecff.o
    CTANGLE  writeenc.c
    CC       libluatex_a-writeenc.o
    CTANGLE  writefont.c
    CC       libluatex_a-writefont.o
    CTANGLE  writet1.c
    CC       libluatex_a-writet1.o
    CTANGLE  writet3.c
    CC       libluatex_a-writet3.o
    CTANGLE  writettf.c
    CC       libluatex_a-writettf.o
    CTANGLE  writetype0.c
    CC       libluatex_a-writetype0.o
    CTANGLE  writetype2.c
    CC       libluatex_a-writetype2.o
    CTANGLE  writeimg.c
    CC       libluatex_a-writeimg.o
    CTANGLE  writejbig2.c
    CC       libluatex_a-writejbig2.o
    CTANGLE  writejpg.c
    CC       libluatex_a-writejpg.o
    CTANGLE  writejp2.c
    CC       libluatex_a-writejp2.o
    CTANGLE  writepng.c
    CC       libluatex_a-writepng.o
    CTANGLE  pdftoepdf.cc
    CXX      libluatex_a-pdftoepdf.o
    CTANGLE  texlang.c
    CC       libluatex_a-texlang.o
    CTANGLE  hyphen.c
    CC       libluatex_a-hyphen.o
    CTANGLE  hnjalloc.c
    CC       libluatex_a-hnjalloc.o
    CTANGLE  luagen.c
    CC       libluatex_a-luagen.o
    CTANGLE  luainit.c
    CC       libluatex_a-luainit.o
    CTANGLE  luanode.c
    CC       libluatex_a-luanode.o
  ../../../source/texk/web2c/luatexdir/lua/luanode.w:63:1: error:
conflicting types for 'lua_node_filter_s'
  In file included from ../../../source/texk/web2c/luatexdir/lua/luanode.w:28:0:
  ../../../source/texk/web2c/luatexdir/ptexlib.h:258:6: note: previous
declaration of 'lua_node_filter_s' was here
  make: *** [libluatex_a-luanode.o] Error 1
  strip: 'build/texk/web2c/luatex': No such file
  ls: cannot access build/texk/web2c/luatex: No such file or directory

Thanks in advance... =)
  Cheers,
    Eduardo Ochs
    eduardoochs at gmail.com
    http://angg.twu.net/
    http://angg.twu.net/dednat4.html



More information about the luatex mailing list