Andrew Benton wrote:
> On Tue, 22 Nov 2011 21:14:46 +0000
> Andrew Benton <[email protected]> wrote:
> > 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.

Yes, texk/kpathsea/texmf.cnf is the relative path from the root of the
build tree.  It installs to /usr/share/texmf/web2c/texmf.cnf, which is
*cough* a  less intuitive destination  than one might  reasonably hope
for.

Instead  of changing  texk/kpathsea/texmf.cnf  you can  apply the  sed
script  to /usr/share/texmf/web2c/texmf.cnf  after  "make install"  as
long as you do it before you try to run texconfig.  That's how I first
got it  working but I prefer to  change the build so  that the install
creates  a working  system rather  than  install a  broken system  and
unbreak it afterwards.

> 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.

I don't understand  this.  On my system TLUtils.pm  only exists in the
build tree.  It's not installed, yet updmap-sys succeeds.

Does updmap-sys work if you run it from the root of the build tree?

NB: I am building texlive-20100722 instead of texlive-20110705.  And I
my OS is LFS 6.6 so I am running Perl 5.10.1.

> 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.

Well, you gotta admire it's  chutzpah!  ;-) Sadly I can't say anything
more helpful because I can LaTeX example1.tex without any problems.

Regards,

Jeremy Henty
-- 
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