# [tex-live] Compiling from source

Henrique Lengler henriqueleng at opmbx.org
Wed Jan 14 23:56:56 CET 2015

```First Zdenek requests:

~ \$ env | grep TEX
(nothing)
~ \$ kpsewhich --all texmf.cnf
/local/texlive/2014/texmf-dist/web2c/texmf.cnf

On Wed, Jan 14, 2015 at 10:31:05PM +0000, Karl Berry wrote:
> The dropping of /usr does not make sense to me.  The scripts and
> programs do not randomly change the paths as given.  Do you have any
> tex-related environment variables set?

These are all my env. variables:
~ \$ env
USER=henrique
HOME=/home/henrique
LOGNAME=henrique
WINDOWID=6291457
TERM=st-256color
WINDOWPATH=5
PATH=/usr/local/texlive/2014/bin/x86_64-linux:/bin:/local/bin
DISPLAY=:0
XAUTHORITY=/home/henrique/.Xauthority
SHELL=/bin/sh
PWD=/home/henrique
TZ=UTC
MANPATH=/share/man

> At any rate, 1) does kpsewhich cmr10.tfm find the tfm file?
> If not, clearly nothing will work.  (The tfms are already in Master and
> do not need to be built.)

~ \$ kpsewhich cmr10.tfm
(nothing)

> 2) how about kpsewhich -engine=/ tex.fmt?  If that's not there, the fmt
> needs to be built (as is apparently the case).

~ \$ kpsewhich -engine=/ tex.fmt
(nothing)

> 3) why fmtutil-sys is failing, I cannot guess; you'd have to look at the
> log.  Perhaps try building the simplest format by hand:
> tex -ini '\input tex.ini'

Should I run this?

~ \$ tex -ini '\input tex.ini'
This is TeX, Version 3.14159265 (TeX Live 2014) (INITEX)
! I can't find file `tex.ini'.
<*> \input tex.ini

> As for the doc about building from source, I tried to write it as
> clearly (yet tersely, because no one reads long instructions) as I
> could.  Just saying it's confusing does not help.

Something that helps, are examples, I would like to see a pratical example to what to do
after make install. Note that this is the main question of this thread,
what I should do after compiling the source and make install, to have a working enviroment.

My case is described on the first message: http://tug.org/pipermail/tex-live/2015-January/036223.html

Regards,

Henrique Lengler
```