Hi Folks,<br><br>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.<br><br>1) I'm getting this error:<br><br>David-Carter-Hitchins-iMac:web2c-7.5.4 david$ make<br>
esubdirs=" texk"; \<br>      for dir in $esubdirs; do \<br>        echo making all in $dir; \<br>        (if test -f $dir/Makefile; then cd $dir && make all; else true; fi) || exit 1; \<br>      done<br>
making all in texk<br>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' <br>
make[2]: Nothing to be done for `default'.<br>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 \<br>
      (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<br>
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c mpextra.c -o mpextra.o<br>mpextra.c:1334: error: expected ‘)’ before ‘*’ token<br>make[2]: *** [mpextra.o] Error 1<br>make[1]: *** [all] Error 1<br>make: *** [all] Error 1<br>
<br><br>Looking at the line in question, it is:<br><br>calledit P4C(packedASCIIcode *, filename,<br>             poolpointer, fnstart,<br>             integer, fnlength,<br>             integer, linenumber)<br>{<br><br>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?<br>
<br>2)  If I run 'make check' (I know, just out of curiousity, to see how much is built), then I see this error:<br><br>(/usr/local/texlive/2010/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-hu.<br>tex Huhyphn - hungarian hyphenation patterns v20081106<br>
! TeX capacity exceeded, sorry [pattern memory=262000].<br>l.54461 uj2j1^^c3^^a12ru<br>                        <br>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:<br>
<br>TEXMFCNF=../kpathsea ./tex --progname=olatex --jobname=olatex --ini \\input latex.ltx </dev/null<br><br>Anyway, if TeX is running, it means I'm close to having web2c fully built I guess.<br><br>Thanks people!<br>
David Carter-Hitchin.<br><br><br>