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.

> 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

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.

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

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

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