[NTG-pdftex] Fwd: Rebuilding pdftex gives ---! Must increase the hyph_size (Fatal format file error; I'm stymied)

Vasile Gaburici vgaburici at gmail.com
Tue Aug 26 19:55:47 CEST 2008


My solution was to drop the pdftex binary I've compiled in
/usr/local/bin. Unfortunately from there it thought that it "belonged"
to Fedora's RPM-installed TeXLive 2007 instead of my separate 2008
installation. This is due the kpathsea's compile-time defaults for CNF
locations (paths.h), which eventually finds TL 2007's texmf.cnf in
/usr/share/texmf/web2c. But at least I know that my patched pdftex
works with TL2007.

I'm unable to make it work with 2008 however. Han, what TeXLive are
you using? In 2008 there's no texmf-main anymore, and texmf-config is
empty... If I just do:

export TEXMFCNF=/fc5/tl/2008/texmf/web2c

then pdftex barely works, it cannot even find its pdftex.map file:

pdfTeX warning: pdftex (file pdftex.map): cannot open font map file

Anything beyond CM fonts, even LaTeX's minimal.cls cannot be found.

TL 2008 user guide suggests in section 3.4.5 to set
TEXMFCNF=/usr/local/texlive/2008/texmf-var/web2c

But there's no texmf.cnf in texmf-var/web2c, only a fmtutil.cnf


On Tue, Aug 26, 2008 at 3:59 PM, Thanh Han The <hanthethanh at gmail.com> wrote:
> pdftex (and any program that uses kpathsea) can be run from
> any location, but one has to set TEXMFCNF to the right
> location (and probably edit texmf.cnf slightly). Personally
> I use
>
> TEXMFCNF=/opt/texlive/texmf-config/web2c:/opt/texlive/texmf-main/web2c
>
> where /opt/texlive/texmf-main/web2c/texmf.cnf is the
> original texlive texmf.cnf, and I put my changes
> /opt/texlive/texmf-config/web2c/texmf.cnf to override a few
> tl settings.
>
>
> Thanh
>
>
>
> On Tue, Aug 26, 2008 at 03:31:46PM +0300, Vasile Gaburici wrote:
>> Thanks, the patch is not the problem. The problem is that one cannot
>> run pdftex from the build dir. It needs to sit in a TDS to be able to
>> find the config files plus all the tex stuff required to build the fmt
>> file. In my case it could not find texmf.cnf at all, so it used some
>> defaults, hence the error.
>>
>> On Tue, Aug 26, 2008 at 3:15 PM, Thanh Han The <hanthethanh at gmail.com> wrote:
>> > you can try to compile pdftex from sources, but without your
>> > patch.
>> >
>> > 1. if it works, then the problem is likely with the patch.
>> >
>> > 2. if not, the problem is likely with your tex config.
>> >
>> >
>> > Thanh
>> >
>> > On Tue, Aug 26, 2008 at 02:34:45PM +0300, Vasile Gaburici wrote:
>> >> I'm not sure that anyone reads pdftex at tug.org, so I'm trying my luck
>> >> on this list:
>> >>
>> >> ---------- Forwarded message ----------
>> >> From: Vasile Gaburici <vgaburici at gmail.com>
>> >> Date: Tue, Aug 26, 2008 at 2:23 PM
>> >> Subject: Rebuilding pdftex gives ---! Must increase the hyph_size
>> >> (Fatal format file error; I'm stymied)
>> >> To: "pdftex at tug.org" <pdftex at tug.org>
>> >>
>> >>
>> >> I've applied a small patch (unrelated to hyphenation) to pdftex 1.40.9
>> >> sources and I've successfully recompiled it. But when I try to use it
>> >> against the TeXLive 2008 tree (without overwriting the old binary),
>> >> I'm getting this:
>> >>
>> >> fmtutil: /home/vga/.texlive2008/texmf-var/web2c/pdftex/pdflatex.fmt installed.
>> >> ---! Must increase the hyph_size
>> >> (Fatal format file error; I'm stymied)
>> >>
>> >> Changing the hyph_size in texmf.cnf doesn's help. Any hints what could be wrong?
>> >> _______________________________________________
>> >> ntg-pdftex mailing list
>> >> ntg-pdftex at ntg.nl
>> >> http://www.ntg.nl/mailman/listinfo/ntg-pdftex
>> > _______________________________________________
>> > ntg-pdftex mailing list
>> > ntg-pdftex at ntg.nl
>> > http://www.ntg.nl/mailman/listinfo/ntg-pdftex
>> >
> _______________________________________________
> ntg-pdftex mailing list
> ntg-pdftex at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-pdftex
>


More information about the ntg-pdftex mailing list