On 12/07/2014 11:08 PM, Ken Moffat wrote:
> On Sun, Dec 07, 2014 at 09:18:26PM +0100, Armin K. wrote:
>> Why is the following command used tar -xf texlive-20140525-texmf.tar.xz
>> -C /opt/texlive/2014 --strip-components=1 ? The current directory should
>> be: "${SOURCEDIR}/texlive-20150525-source/build", which would make this
>> command invalid iirc. I suppose it needs ../../ before the tarball name
>> if we are to follow the conventions used elsewhere.
>>
>
> I _thought_ I added a note to say that you should NOT untar this
> package at the start (because of the waste of space).
> I was talking about the part after "make texlinks" From the book: http://www.linuxfromscratch.org/blfs/view/svn/pst/texlive-pass1.html {{{ make install && make texlinks And now, install the additional files as the root user: mkdir -pv /opt/texlive/2014 && tar -xf texlive-20140525-texmf.tar.xz -C /opt/texlive/2014 --strip-components=1 }}} If you simply copy/paste the commands, the last one will fail. At the point where you run "make texlinks", you are in texlive-20140525-source/build (sources dir is ../../ from there), so the last tar command won't work unless you either "cd ../../" or specify "../../" before the filename. Am I missing something? >> Now couple of observations: >> >> libpaper is listed as a recommended dep, yet no --with-system-libpaper >> switch is present like for other recommended packages. Intentional or >> nothing in this pass uses it? > > It is used by at least lualatex and xelatex, ISTR that the system > version is found automatically. I believe I saw a note that "libpaper from the source tree will be used" at the beginning of ./configure (or something in that context). But if you say so, then it's good for me. >> >> The texmf tarball contains a lot of documentation which may not be >> useful to some (including myself) that takes _a lot_ of space (~1.4-1.6 >> GB). Since not everybody would want to install the documentation since >> it takes that much space and it's available online, I suppose the >> following command could be used to prevent "doc" (and "sources") >> directories to be installed, saving at least ~1.6 GB of space. The fonts >> directory takes a lot of space too. Some fonts may be ommited, but I am >> not sure which ones. Anyways, the command I used to ommit source and >> documentation extraction was: tar --exclude=*/texmf-dist/doc >> --exclude=*/texmf-dist/source --strip-components=1 -xf >> texlive-20140525-texmf.tar.xz ... > > Reducing it would be nice, but there are so many different > use-cases. Traditional TeX defaults to the ugly old fonts (sorry, > Knuth, I don't like them) but many people use them. Some of it is > for pre-UTF-8 use of non-N.W.European languages (e.g. one of the > documented libraries). I see that Arch split it many ways, but I > have no guidance to offer. Other distros also split it, probably in > different ways. My own usage tests assume that everything might be > there. Certainly, _some_ of the OTF/TTF fonts are useful in current > lualatex and xelatex. > > Also, with a full install 'texdoc' works, at least for those items > where there is a PDF, man, or info page. > I consider documentation "optional" mainly because everything can be found online. And given the size of it (half the size of extracted files), I believe it is worth at least adding a note on how to skip extracting it (if desired). As for the fonts, I've kept all of them because I was too lazy to find which one I need. >> >> Last, but not the least. I have an issue. I went and installed it into >> /usr, but can't get some kind of catalog to generate itself, this the >> entire install becomes useless. The following output is from pdflatex: >> >> >> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014 - BLFS) >> (preloaded format=pdflatex) >> restricted \write18 enabled. >> >> kpathsea: Running mktexfmt pdflatex.fmt >> /usr/bin/mktexfmt: line 398: //texmf-dist/texconfig/tcfmgr: No such file >> or directory >> fmtutil: config file `fmtutil.cnf' not found. >> I can't find the format file `pdflatex.fmt'! >> > > LOL (in sympathy) - I spent hours last night fighting fmtutil.cnf > problems when trying to build older versions where texlinks was just > a script in the utils/web2c/tetex/ directory. Most of this stuff is > non-intuitive. > >> The //texmf-dist is what's reported by kpsewhich -var-value TEXMFDIST >> which should be /usr/share/texmf-dist. The build script I used is >> available at: >> >> https://raw.githubusercontent.com/elkrejzi/system-management/master/buildscripts/buildtexlive >> >> kpsewhich appears to be looking in /usr/share/texmf-dist/web2c/texmf.cnf >> for details, but there's only a reference to >> >> TEXMFROOT = $SELFAUTOPARENT >> TEXMFDIST = $TEXMFROOT/texmf-dist >> >> However, I have no idea where SELFAUTOPARENT is being set and what it is >> being set to. >> >> Cheers. >> > > I think you have fixed that, so I will not comment (in any case, I > had no idea how to fix it). For me, the advantage of building in > /opt is that it is comparatively easy to move one version out of the > way and try a different version (or a different configuration). > I have fixed it alright and posted what I needed to fix it (the file I referenced guided me). Also, I have a way of removing packages from /usr, while being able to reinstall them if needed (keeping a DESTDIR of each package compressed and locked away, with an install scriptlet), so installing into /usr is not a big deal for me. > If you are tempted by either of xindy or asymptote, xindy seems to > be fine on x86_64, but does not work in i686 on LFS/BLFS from late > November - I do not know if the from-source version worked on i686 > for 7.6 - and asymptote is currently broken (it falls apart during > 'make install' while creating the docs : fortunately, the asy > program has been installed by that stage, and works). > I only use pdflatex from texlive so I can create fancy documents and look professional at the same time :-). I have no idea what xindy or asymptote do, so I'm not even going to try and build it, sorry. > Increasingly, I wish I had never touched this heep of foetid dingo's > kidneys. > I know. I needed to write a document today and found I had no texlive on my latest LFS installation. Decided to try the source build and lost a couple of hours on it ... I can't imagine what it was like trying to get the instructions right :| > [1] A phrase used by "Edmund Heep" in the Posy Simmonds cartoons in > the Guardian (a UK newspaper) in years now long gone. > > ĸen > -- Note: My last name is not Krejzi.
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
