[tex-k] Patgen2 with attachment

Tikk, Domonkos tikk@ttt.bme.hu
Fri, 29 Mar 2002 16:50:25 +0100


Hi All,

I have been trying to use patgen2 a part of tex-k distribution to generate
hyphenation pattern for Hungarian language based on samples. I encountered
some problems because the some variables were undefined, and so the I could
not compile the software (see below). I found an older distribution, but its
patgen version requires one more file (comparing to the Patgen2 tutorial
file by Y. Haralambous availabe throughout the internet), a dictionary and a
pattern file, and I cannot figure out what the former could be (if the
latter is the one with the hyphen samples). Please advise how to use this
version of Patgen2.

Thanks in advance

Domonkos Tikk

=================================================
transcipt error output
=========

for dir in texk; do \
  echo making all in $dir; \
  (if test -f $dir/Makefile; then cd $dir && make all; else true; fi) ||
exit 1; \
done
making all in texk
make[1]: Entering directory `/home/georgejr/web2c-7.3.3/texk'
cd ./kpathsea && make -w CC='gcc' CFLAGS='-g -O2 ' prefix=/usr
exec_prefix=/usr bindir=/usr/bin scriptdir=/usr/bin libdir=/usr/lib
datadir=/usr/share infodir=/usr/info includedir=/usr/include manext=1
mandir=/usr/man/man1 texmf=/usr/share/texmf web2cdir=/usr/share/texmf/web2c
vartexfonts=/var/tmp/texfonts texinputdir=/usr/share/texmf/tex
mfinputdir=/usr/share/texmf/metafont mpinputdir=/usr/share/texmf/metapost
fontdir=/usr/share/texmf/fonts fmtdir=/usr/share/texmf/web2c
basedir=/usr/share/texmf/web2c memdir=/usr/share/texmf/web2c
texpooldir=/usr/share/texmf/web2c mfpooldir=/usr/share/texmf/web2c
mppooldir=/usr/share/texmf/web2c
dvips_plain_macrodir=/usr/share/texmf/tex/plain/dvips
dvilj_latex2e_macrodir=/usr/share/texmf/tex/latex/dvilj
dvipsdir=/usr/share/texmf/dvips psheaderdir=/usr/share/texmf/dvips
default_texsizes='300:600'
make[2]: Entering directory `/home/georgejr/web2c-7.3.3/texk/kpathsea'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/georgejr/web2c-7.3.3/texk/kpathsea'
for d in web2c bibtex8 dtl dvi2tty dvidvi dviljk dvipdfm dvipsk gsftopk
lacheck makeindexk musixflx odvipsk oxdvik ps2pkm seetexk tetex tex4htk
texlive tth xdvik; do if test -d $d; then \
  (cd $d && make -w CC='gcc' CFLAGS='-g -O2 ' prefix=/usr exec_prefix=/usr
bindir=/usr/bin scriptdir=/usr/bin libdir=/usr/lib datadir=/usr/share
infodir=/usr/info includedir=/usr/include manext=1 mandir=/usr/man/man1
texmf=/usr/share/texmf web2cdir=/usr/share/texmf/web2c
vartexfonts=/var/tmp/texfonts texinputdir=/usr/share/texmf/tex
mfinputdir=/usr/share/texmf/metafont mpinputdir=/usr/share/texmf/metapost
fontdir=/usr/share/texmf/fonts fmtdir=/usr/share/texmf/web2c
basedir=/usr/share/texmf/web2c memdir=/usr/share/texmf/web2c
texpooldir=/usr/share/texmf/web2c mfpooldir=/usr/share/texmf/web2c
mppooldir=/usr/share/texmf/web2c
dvips_plain_macrodir=/usr/share/texmf/tex/plain/dvips
dvilj_latex2e_macrodir=/usr/share/texmf/tex/latex/dvilj
dvipsdir=/usr/share/texmf/dvips psheaderdir=/usr/share/texmf/dvips
default_texsizes='300:600'  all) || exit 1; else true; fi; done
make[2]: Entering directory `/home/georgejr/web2c-7.3.3/texk/web2c'
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c mpextra.c
mpextra.c:1113: parse error before `*'
mpextra.c: In function `calledit':
mpextra.c:1123: `filename' undeclared (first use in this function)
mpextra.c:1123: (Each undeclared identifier is reported only once
mpextra.c:1123: for each function it appears in.)
mpextra.c:1123: `fnstart' undeclared (first use in this function)
mpextra.c:1137: `fnlength' undeclared (first use in this function)
mpextra.c:1151: `linenumber' undeclared (first use in this function)
make[2]: *** [mpextra.o] Error 1
make[2]: Leaving directory `/home/georgejr/web2c-7.3.3/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/georgejr/web2c-7.3.3/texk'
make: *** [all] Error 1