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 140 forks source link

Build fails due to non-existent directories in pdftex #51

Closed TilBlechschmidt closed 7 years ago

TilBlechschmidt commented 7 years ago

I attempted to build texlive.js by starting up this docker container, then executing these commands inside the git repo

apt-get update
apt-get install git llvm default-jre wget unzip texinfo texlive-latex-base texlive-fonts-recommended texlive-fonts-extra

git submodule init
git submodule update

make

ultimately running into this error img-2017-04-29-103603 Executing this command

mkdir -p ./binary/pdftex-1.40.11/build-pdftex/texk/web2c/pdftex

gets me past the first error eventually (only when executed in a specific order like make clean && mkdir ... && make) but the second one still makes it fail.

I somehow got it to installing all texlive packages but then again same story. The very same directory disappeared and the pdftex worker does not get built. img-2017-04-29-104912

I'm running emscripten 1.37.10.

TilBlechschmidt commented 7 years ago

nvmd it was due to g++ and gcc not being present in the container. I though it was part of the build-essentials package group but apparently I was mistaken :smile:

manu189 commented 2 years ago

Hallo @TilBlechschmidt I'm new to js and I'm trying to use texlive.js for a project. I'm getting the exact same error. What I did was just git clone the repository and then make. I tried apt-get install gcc but it didn't work. Could you elaborate on the solution a little bit, thank you!