On Tue, 22 Nov 2011 21:14:46 +0000
Andrew Benton <[email protected]> wrote:

> On Mon, 21 Nov 2011 17:31:15 -0600
> Bruce Dubbs <[email protected]> wrote:
> 
> > for INFO in livetex-tmp/usr/texmf/doc/info/*.info; do
> >    install -v -m0644 $INFO /usr/share/info
> >    intall-info --info-dir=/usr/share/info $INFO
> 
> Typo, s/intall-info/install-info/
> 
> Apart from that and the problem I posted about earlier with
> livetex-tmp/usr/texmf/doc/man it all went well and seems to install
> properly. However, when I try to do the "Configuring TeX Live" section
> from the book I get:
> 
> root@eccles:/home/andy$ texconfig-sys font rw 
> /usr/bin/texconfig: line 248: //texmf/web2c/mktexdir: No such file or 
> directory
> texconfig: failed to set `font rw'; reason: directory `//texmf-var/fonts' 
> does not exist.
> 
> Which brings me to:
> 
> On Mon, 21 Nov 2011 08:01:01 +0000
> Jeremy Henty <[email protected]> wrote:
> 
> > BTW, I had to hack texk/kpathsea/texmf.cnf some more to replace the
> > $PATH* variables with something that worked.  Otherwise texconfig
> > falls over complaining about the lack of directories like "//texmf".
> > Here's the sed:
> > 
> >     sed -i \
> >         -e '/^[^%]/s|{\$SELF[[:upper:]]*\(,\$SELF[[:upper:]]*\)*}|/usr|' \
> >         -e '/^[^%]/s|\$SELF[[:upper:]]*/lib|/usr/lib|' \
> >         -e '/^[^%]/s|\$SELF[[:upper:]]*/etc|/etc|' \
> >         -e '/^[^%]/s|\$SELF[[:upper:]]*|/usr/share|' \
> >         texk/kpathsea/texmf.cnf
> 
> I can't find texk/kpathsea/texmf.cnf
> 
> root@eccles:/home/andy$ find /usr -name texmf.cnf
> /usr/share/texmf/web2c/texmf.cnf
> /usr/share/texmf/texmf/web2c/texmf.cnf
> /usr/share/texmf-dist/doc/latex/pgfplots/texmf.cnf
> /usr/share/texmf-dist/doc/generic/pgf/text-en/texmf.cnf
> 
> should I run the sed on one of them instead?

Doh! I see, texk/kpathsea/texmf.cnf in the texlive source.
Running the sed on the first one got me past that problem, but now at
updmap-sys I get:

root@eccles:/home/andy$ updmap-sys
Can't locate TeXLive/TLUtils.pm in @INC (@INC contains: /usr/share/tlpkg 
/usr/lib/perl5/site_perl/5.14.1/x86_64-linux /usr/lib/perl5/site_perl/5.14.1 
/usr/lib/perl5/vendor_perl/5.14.1/x86_64-linux 
/usr/lib/perl5/vendor_perl/5.14.1 /usr/lib/perl5/5.14.1/x86_64-linux 
/usr/lib/perl5/5.14.1 .) at /usr/bin/updmap line 18.
BEGIN failed--compilation aborted at /usr/bin/updmap line 18.

I can see TeXLive/TLUtils.pm in the texlive-20110705-source but Bruce's
install method doesn't install it.

mkdir /usr/lib/perl5/site_perl/5.14.1/TeXLive
cp utils/biber/TeXLive/*.pm /usr/lib/perl5/site_perl/5.14.1/TeXLive

After that the rest of the "Configuring TeX Live" commands worked.
However, when I come to try and use it:

andy@eccles:~$ tex example1.tex
This is TeX, Version 3.1415926 (TeX Live 2011 - BLFS)
fatal: memory exhausted (xmalloc of 18446744071586067984 bytes).

It appears it's trying to allocate 17179869182.02 gigabytes of memory.
It could well be user error on my part but I still have the impression
that this is a steaming pile of unmaintained rubbish.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to