I'm running texlive 2016 from the official repo on fedora 26, and using texstudio as a composer.
I get the following error while trying to compile
warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr/bin/share/texlive/texmf-local/web2c:/usr/bin/share/texlive/texmf-dist/web2c:/usr/bin/share/texlive/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texlive/texmf-local/web2c:/usr/share/texlive/texmf-dist/web2c:/usr/share/texlive/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c:/usr/share/texmf-local/web2c:/usr/share/texlive:/usr/share/texlive/share/texlive/texmf-local/web2c:/usr/share/texlive/share/texlive/texmf-dist/web2c:/usr/share/texlive/share/texlive/texmf/web2c:/usr/share/texlive/texmf-local/web2c:/usr/share/texlive/texmf-dist/web2c:/usr/share/texlive/texmf/web2c. kpathsea: Running mktexfmt latex.fmt mktexfmt: No such file or directory
Obviously I tried with different text, even the simplest "hello world" gives error. before installing texlive 2016 I used the tar.gz provided on the official site. I was getting the same error, so I asked a friend who uses texlive and texstudio on fedora, he said that the insallation from the repo was fine for him, so I decided to unistall texlive 2017 by following this "guide" and changing paths to the right ones.
After cleaning up I installed texlive 2016 from the repo, but the error persists. I'm starting to think that the previous installation messed up something even if a tried cleaning up everything.
can anybody help me?