[tex-k] Issues compiling web2c

David Carter-Hitchin dch888 at gmail.com
Mon Apr 11 00:02:59 CEST 2011


Hi Folks,

I hope you can help out.  I'm trying to compile web2c (7.5.4) on an iMac and
I'm running into a few issues.

1) I'm getting this error:

David-Carter-Hitchins-iMac:web2c-7.5.4 david$ make
esubdirs=" texk"; \
      for dir in $esubdirs; 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
cd ./kpathsea && make  CC='gcc' CFLAGS='-g -O2 ' LDFLAGS='' prefix=/usr
exec_prefix=/usr bindir=/usr/bin scriptdir=/usr/bin libdir=/usr/lib
datadir=/usr/local/texlive/2010 infodir=/usr/info includedir=/usr/include
mandir=/usr/man manext=1 man1dir=/usr/man/man1
texmf=/usr/local/texlive/2010/texmf
web2cdir=/usr/local/texlive/2010/texmf/web2c vartexfonts=/var/tmp/texfonts
texinputdir=/usr/local/texlive/2010/texmf/tex
mfinputdir=/usr/local/texlive/2010/texmf/metafont
mpinputdir=/usr/local/texlive/2010/texmf/metapost
fontdir=/usr/local/texlive/2010/texmf/fonts
fmtdir=/usr/local/texlive/2010/texmf/web2c/tex
basedir=/usr/local/texlive/2010/texmf/web2c/metafont
memdir=/usr/local/texlive/2010/texmf/web2c/metapost
texpooldir=/usr/local/texlive/2010/texmf/web2c
mfpooldir=/usr/local/texlive/2010/texmf/web2c
mppooldir=/usr/local/texlive/2010/texmf/web2c
dvips_plain_macrodir=/usr/local/texlive/2010/texmf/tex/plain/dvips
dvilj_latex2e_macrodir=/usr/local/texlive/2010/texmf/tex/latex/dvilj
dvipsdir=/usr/local/texlive/2010/texmf/dvips
psheaderdir=/usr/local/texlive/2010/texmf/dvips default_texsizes='300:600'
make[2]: Nothing to be done for `default'.
for d in web2c afm2pl bibtex8 cjkutils detex devnag dtl dvi2tty dvidvi
dviljk dvipdfm dvipng dvipsk gsftopk lacheck makeindexk musixflx odvipsk
ps2pkm seetexk tetex tex4htk texlive ttf2pk tth; do if test -f $d/Makefile;
then \
      (cd $d && make  CC='gcc' CFLAGS='-g -O2 ' LDFLAGS='' prefix=/usr
exec_prefix=/usr bindir=/usr/bin scriptdir=/usr/bin libdir=/usr/lib
datadir=/usr/local/texlive/2010 infodir=/usr/info includedir=/usr/include
mandir=/usr/man manext=1 man1dir=/usr/man/man1
texmf=/usr/local/texlive/2010/texmf
web2cdir=/usr/local/texlive/2010/texmf/web2c vartexfonts=/var/tmp/texfonts
texinputdir=/usr/local/texlive/2010/texmf/tex
mfinputdir=/usr/local/texlive/2010/texmf/metafont
mpinputdir=/usr/local/texlive/2010/texmf/metapost
fontdir=/usr/local/texlive/2010/texmf/fonts
fmtdir=/usr/local/texlive/2010/texmf/web2c/tex
basedir=/usr/local/texlive/2010/texmf/web2c/metafont
memdir=/usr/local/texlive/2010/texmf/web2c/metapost
texpooldir=/usr/local/texlive/2010/texmf/web2c
mfpooldir=/usr/local/texlive/2010/texmf/web2c
mppooldir=/usr/local/texlive/2010/texmf/web2c
dvips_plain_macrodir=/usr/local/texlive/2010/texmf/tex/plain/dvips
dvilj_latex2e_macrodir=/usr/local/texlive/2010/texmf/tex/latex/dvilj
dvipsdir=/usr/local/texlive/2010/texmf/dvips
psheaderdir=/usr/local/texlive/2010/texmf/dvips default_texsizes='300:600'
all) || exit 1; else true; fi; done
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c mpextra.c -o mpextra.o
mpextra.c:1334: error: expected ‘)’ before ‘*’ token
make[2]: *** [mpextra.o] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1


Looking at the line in question, it is:

calledit P4C(packedASCIIcode *, filename,
             poolpointer, fnstart,
             integer, fnlength,
             integer, linenumber)
{

So this error means that one of the types is not recognised?  I did some
searching but got lost in a maze of conditional includes!  Anyone got any
clue what is going on here?

2)  If I run 'make check' (I know, just out of curiousity, to see how much
is built), then I see this error:

(/usr/local/texlive/2010/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-hu.
tex Huhyphn - hungarian hyphenation patterns v20081106
! TeX capacity exceeded, sorry [pattern memory=262000].
l.54461 uj2j1^^c3^^a12ru

Google searching showed that it was something like 'trie_size' was too low,
but I changed that to 4 million in texmf/web2c/texmf.cnf in the source but
no luck.  Is there any switch I can put on tex to trap the error?  This is
the command that is run:

TEXMFCNF=../kpathsea ./tex --progname=olatex --jobname=olatex --ini \\input
latex.ltx </dev/null

Anyway, if TeX is running, it means I'm close to having web2c fully built I
guess.

Thanks people!
David Carter-Hitchin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-k/attachments/20110410/608d52d9/attachment.html>


More information about the tex-k mailing list