To build this program you will need some files. In particular, you will need the Don Knuth’s source file for TeX the program. Here we explain how to get these files.
You run this script, misc/download-source-files. On my broadband connection this takes 70 seconds. It gets some files that you might not need, but don’t worry about that.
#!/bin/sh
# Download source files for the TeX-like daemon.
mkdir -p ./downloads/
wget http://mirror.ctan.org/systems/unix/tex-gpc.zip -O ./downloads/tex-gpc.zip
wget http://mirror.ctan.org/systems/knuth/dist/tex.zip -O ./downloads/tex.zip
wget http://mirror.ctan.org/systems/knuth/dist/lib.zip -O ./downloads/lib.zip
wget http://mirror.ctan.org/systems/knuth/dist/web.zip -O ./downloads/web.zip
(
cd ./downloads
for NAME in tex-gpc tex lib web
do
unzip $NAME.zip
done
)
# Download GNU Pascal for reference while coding.
wget http://www.gnu-pascal.de/alpha/gpc-20060325.tar.bz2 \
-O ./downloads/gpc-20060325.tbz
(cd ./downloads; tar -xvjf gpc-20060325.tbz)