On Fri, Jun 19, 2015 at 08:44:26AM +0200, Pierre Labastie wrote:
> Le 19/06/2015 08:42, Pierre Labastie a écrit :
> >Le 19/06/2015 06:35, Ken Moffat a écrit :

> >>TLDR : trying to move the binaries to /opt/texlive/2015/bin is a
> >>non-starter.
> >>
> >>Well, I solved those problems (still not quite sure why the sed was
> >>failing), but when I tried to run my tests on the binaries I
> >>discovered that none of the sty files seemed to be present. Digging
> >>down,I tried to look at texdoc kpathsea to see why kpsewhich seemed
> >>to be failing, but all I got was:
> >>
> >>/opt/texlive/2015/bin/texdoc:7: module 'texdoc.main' not found:
> >>         no field package.preload['texdoc.main']
> >>         [kpse lua searcher] file not found: 'texdoc.main'
> >>         [kpse C searcher] file not found: 'texdoc.main'
> >>         no file '/usr/local/lib/lua/5.2/texdoc.so'
> >>         no file '/usr/local/lib/lua/5.2/loadall.so'
> >>         no file './texdoc.so'
> >>
> >>and indeed those .so files did not exist (not really surprising,
> >>given where it seems to be looking, but they are not present at all
> >>in the /opt/texlive tree).
> >>
> >>Then I decided to try running pdflatex anyway, and got:
> >>
> >>kpathsea: Running mktexfmt pdflatex.fmt
> >>Can't locate mktexlsr.pl in @INC (@INC contains: /opt/texlive/tlpkg
> >>/opt/texlive/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/mktexfmt line 23.
> >>BEGIN failed--compilation aborted at /opt/texlive/2015/bin/mktexfmt
> >>line 25.
> >>I can't find the format file `pdflatex.fmt'!
> >>Makefile:22: recipe for target 'pdflatex' failed
> >>make: *** [pdflatex] Error 1
> >>
> >>When I installed from source into /opt/texlive/2015/bin/x86_64-linux
> >>I also had problems with kpathsea, but they were different (I needed
> >>to install a perl _module_ from the TL tree - to be certain, I
> >>installed both of them).
> >>
> >>I've now unmounted that attempt and had another go, but using
> >>/opt/texlive/2015/bin/x86_64-linux for the binary progs - and it
> >>works.
> >>
> >>Summary: the apparently-redundant 'TEXARCH' directory is required.
> >>
> >>ĸen
> >If it is a kpathsea problem, I'd guess you need some TEX_* envar, or maybe
> >run "mktexlsr" on the right directory...
> >
> >I'm almost sure kpathsea is agnostic about the install directory, but it
> >needs to be given a few hints.
> >

That sounds plausible, but I've just deleted the first attempt (I
need the space to copy what works before I try to use it to install
from-source in the old way).  In any case, I was not particularly
proud of what I was doing to fix up the symlinks, and it was risky
enough that I wanted to keep the originals in place until the copied
symlinks were verified [ only increases the space from 4.2GB to
4.3GB ].

> >It seems that "kpsewhich --help" can tell you where files are searched
> >for.

Yeah, I didn't think of that.  I thought of using texdoc, but that
too was broken.

> >
> >I'm sorry I have not much to (try to) help more.
> >
> >Pierre
> I'm sorry I have not much *time* to (try to) help more.

Thanks

ĸ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