On Fri, Jun 19, 2015 at 08:31:58PM +0200, Armin K. wrote: > On 06/19/2015 08:07 PM, Ken Moffat wrote: > > On Fri, Jun 19, 2015 at 05:37:40PM +0200, Armin K. wrote: > >> On 06/19/2015 06:35 AM, Ken Moffat wrote: > >>> > >>> Summary: the apparently-redundant 'TEXARCH' directory is required. > >>> > >>> > >> > >> Sounds like the same problem I had when I used /usr and /usr/bin. > >> > >> https://github.com/elkrejzi/system-management/blob/master/buildscripts/buildtexlive#L61 > >> > >> These modifications ought to be enough for me. Without them, it wouldn't > >> work. > >> > > Yeah, and that fits with Pierre's suggestion to try changing some > > environment variables. For the moment I'm not going to revisit this > > part, but thanks for the hint. > > > > Some further questions on differences between your script and my > > current build: > > > > 1, Do you have anything outside of texlive which uses gd, t1lib, > > zziplib ? > > > > PHP and libgphoto2 use libgd. Evince uses t1lib (maybe there's something > else). > I dont' recall anything else using zziplib. >
Armin, thanks for these comments. Those deps are only optional for what is in BLFS, so I'll do without system versions. > > 2. I see that you do not install the perl modules from > > texk/tests/TexLive (TLUtils.pm was apparently needed, I added > > TLCOnfig.pm to be on the safe side - I put them into > > /opt/texlive/2015/tlpkg/TeXLive) because when I tried to run > > pdflatex I got: > > > > I do: > > https://github.com/elkrejzi/system-management/blob/master/buildscripts/buildtexlive#L52 > Sorry, I didn't spot that line. Now that I've got a binary on this other machine, I can see a whole load of modules there - ken@jtm1 ~ $ls /opt/texlive/2015/tlpkg/TeXLive/ TeXCatalogue.pm TLConfig.pm TLPaper.pm TLPOBJ.pm TLTREE.pm TLWinGoo.pm TLConfFile.pm TLDownload.pm TLPDB.pm TLPSRC.pm TLUtils.pm trans.pl so I think BLFS will use the tlpkg directory. The others seem to be for managing the binaries. It's a shame that source needs any of them. > I got the same error as you, but when running /usr/bin/fmtutil-sys --all > 1>/dev/null at INSTALL. > > > kpathsea: Running mktexfmt pdflatex.fmt > > Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the > > TeXLive::TLUtils module) (@INC contains: /opt/texlive/2015/tlpkg > > /opt/texlive/2015/texmf-dist/scripts/texlive > > /usr/lib/perl5/site_perl/5.22.0/x86_64-linux > > /usr/lib/perl5/site_perl/5.22.0 > > /usr/lib/perl5/vendor_perl/5.22.0/x86_64-linux > > /usr/lib/perl5/vendor_perl/5.22.0 /usr/lib/perl5/5.22.0/x86_64-linux > > /usr/lib/perl5/5.22.0 .) at > > /opt/texlive/2015/bin/x86_64-linux/mktexfmt line 48. > > BEGIN failed--compilation aborted at > > /opt/texlive/2015/bin/x86_64-linux/mktexfmt line 48. > > I can't find the format file `pdflatex.fmt'! > > Makefile:22: recipe for target 'pdflatex' failed > > make: *** [pdflatex] Error 1 > > > > Does your 'fmtutil-sys --all' invocation fix that ? I guess it > > probably needs mktexlsr after a DESTDIR install, but that part > > should not do any harm if I rerun it unnecessarily on my build. > > > > 3. Does your 'context' work ? It's a very different system, so I can > > understand if you have not tried to use it. But in my tests I run a > > simple test to create a PDF taken from wikipedia, and last year I > > discovered some binary versions in other distros were broken. So, I > > do a sanity check of: > > > > context --version > > > > but this year that gave me > > mtxrun | unknown script 'context.lua' or 'mtx-context.lua > > and returned an error. > > > > $ context --version > > resolvers | caches | path '/home/armin/.texlive2015/texmf-var' created > mtxrun | unknown script 'context.lua' or 'mtx-context.lua > > Same. > > > The fix is to run 'mtxrun --generate' (the binary also does that > > this year). > > Still the same. > Oh dear. Context looks as if it needs even-longer study than latex. On the binary, as a user I get ken@jtm1 ~ $context --version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /opt/texlive/2015/texmf-dist/tex/context/base/context.mkiv mtx-context | current version: 2015.05.18 12:26 as expected, but root cannot run 'mtxrun --help' root@jtm1 /home/ken #/opt/texlive/2015/bin/x86_64-linux/mtxrun --help /usr/bin/env: texlua: No such file or directory (and the same for --generate). Sorry I can't offer any help - probably best to avoid context. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
