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 ?

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:

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.

The fix is to run 'mtxrun --generate' (the binary also does that
this year).

If it matters to anybody, the binary also runs updmap-sys.

ĸ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

Reply via email to