<div dir="ltr">015-03-14 4:47 GMT+01:00 Mirko Vogt <span dir="ltr"><<a href="mailto:tex@nanl.de" target="_blank">tex@nanl.de</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Norbert,<span class=""><br>
<br>
On 03/14/2015 03:08 AM, Norbert Preining wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Sat, 14 Mar 2015, Mirko Vogt wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
   /usr/bin/mktexfmt: line 1027: //texmf-dist/texconfig/tcfmgr: not found<br>
</blockquote>
<br>
Do you have a proper texmf-dist tree installed?<br>
<br>
Building and installing the sources *does*NOT* suffice to get a<br>
running system. You need to have texmf-dist from SVN.<br>
</blockquote>
<br></span>
I'm not sure about that - what I checked out is<br>
<br>
  svn://<a href="http://username:password@tug.org/texlive/trunk/Build/source" target="_blank">username:password@tug.<u></u>org/texlive/trunk/Build/source</a><br>
<br></blockquote><div>If I understand it well, this is the rot of problem, you have just the sources, not the build environment. You need the whole trunk.<br></div><div><br><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br>2<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
and a <make install> seems to install everything I need.<br>
If not, I'm not sure what two trees you're referring to.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
THen you have to put the binaries into<br>
        texmf-dist/../bin/ARCH/<br>
(depending on your compile option without the ARCH).<br>
</blockquote>
<br></span>
Nothing bin-like under texmf-dist/, but a regular <make install> puts<br>
quite some binaries into $PREFIX/bin (mktex*, pdftex, etc.) where<br>
prefix in my case is "/usr".<br>
<br>
Is texmf-dist/../bin/ARCH/ what I'm missing from the texmf-dist thingy?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
In principle any tex program that uses kpathsea searches first for<br>
the main texmf.cnf via a compiled in list of dirs, that also<br>
includes some relative to the location of the binary.<br>
<br>
Use kpsewhich -show-path texmf.cnf to see where the files are searched.<br>
<br>
If you want to search different ones, you need to set that before<br>
compiling.<br>
</blockquote>
<br></span>
The texmf.cnf doesn't seem to be the problem (in case I got you and the errors right) -<br>
AFAIK it wasn't "not found" at any time.<br>
< kpsewhich -show-path texmf.cnf > includes the path where it actually is:<br>
/usr/share/texmf-dist/web2c<br>
<br>
What's missing according the error messages is "fmtutil.cnf" (besides "pdftex.fmt").<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Question 1) Is setting $TEXMFMAIN as an environment variable the proper<br>
way? How do other distributions achieve the prefix-path being set correctly?<br>
</blockquote>
<br>
Installing a proper texmf-dist tree and setting the proper search path<br>
before compiling, if necessary.<br>
</blockquote>
<br></span>
Following up on that: Where does the "texmf-dist" come from?<br>
And - as mentioned above - to me it doesn't seem the search path is wrong.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Question 2) What is necessary to make the map file being found by tcfmgr?<br>
</blockquote>
<br>
a proper kpathsea setup, that is, the main texmf.cnf needs to be found.<br>
</blockquote>
<br></span>
As stated above, search path seems right and texmf.cnf is located under an<br>
included path.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
I suggest *looking* into the packaging of TeX Live for Debian/Fedora/Suse<br>
etc to see how it is done there.<br>
</blockquote>
<br></span>
Unfortunately I can't really match the debian *.orig.-src-archives to the<br>
source found in SVN.<br>
Still not sure, where the stated texmf-dist (or any other required) tree<br>
comes from, if not from above mentioned SVN repository.<br>
<br>
Thanks a lot<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Norbert<span class=""><font color="#888888"><br>
</font></span></blockquote><span class=""><font color="#888888">
<br>
  mirko<br>
</font></span></blockquote></div><br></div></div>