manuels / texlive.js

Compiling LaTeX (TeX live) in your browser
http://manuels.github.com/texlive.js/
GNU General Public License v2.0
1.25k stars 139 forks source link

pdftex.bc is not a valid input file #64

Open MariusHerget opened 4 years ago

MariusHerget commented 4 years ago

When I try to compile texlive.js (from @davidcarlisle: https://github.com/davidcarlisle/texlive.js) I receive the following error message:

create pdftex worker
#OBJFILES=$(for i in `find build/texk/web2c/lib build/texk/kpathsea -name '*.o'` ; do llvm-nm $i | grep main >/dev/null || echo $i ; done) && \                                                                              emcc  --memory-init-file 0 -v --closure 1 -s TOTAL_MEMORY=$((128*1024*1024)) -O3  pdftex.bc -s INVOKE_RUN=0 --pre-js pdftex-pre.js --post-js pdftex-post.js -o pdftex-worker.js -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s SINGLE_FILE=1 -g1
shared:INFO: (Emscripten: Running sanity checks)
emcc: warning: pdftex.bc is not a valid input file [-Winvalid-input]
emcc: error: no input files
note that input files without a known suffix are ignored, make sure your input files end with one of: ('.c', '.i', '.cpp', '.cxx', '.cc', '.c++', '.CPP', '.CXX', '.C', '.CC', '.C++', '.ii', '.m', '.mi', '.mm', '.mii', '/dev/null', '.S', '.bc', '.o', '.obj', '.lo', '.dylib', '.so', '.a', '.ll', '.s', '.h', '.hxx', '.hpp', '.hh', '.H', '.HXX', '.HPP', '.HH')
make: *** [Makefile:90: pdftex-worker.js] Error 1

Environment:

emcc: emcc (Emscripten gcc/clang-like replacement) 1.39.16 (9ecd579ac647c4484e2d9af2ab0bbc1e1505aa95) texlive: 20200327

Attachments:

pdftex.bc MakeFile

Any ideas on how to solve this? I need the newest emscripten version with the full latex scheme.

CC: @manuels @fzimmermann89