I have just removed all trace of my old TeXLive installation due to a different problem.
I have just reinstalled TeXLive using their own installer on linux (install-tl).
I have kept the installation directories as default.
The file texmf.cnf is installed correctly at /usr/local/texlive/2012/texmf/web2c/texmf.cnf.
Whenever I try and run anything LaTeX related (latex, pdflatex, lualatex etc.) it fails with the message warning: kpathsea: configuration file texmf.cnf not found in these directories: listing the directories it has searched.
The list of directories does not include the place where it has been installed (mentioned in previous paragraph).
It may be important that I used sudo to launch the installer script.
How do I make kpathsea find the configuration file texmf.cnf permanently?
which kpsewhichsay? You probably still have the old binaries somewhere. – egreg Feb 4 at 15:49/usr/bin/kpsewhichif it helps, the old installation of texlive was in the same directory (before deletion and re-creation). – Dom Feb 4 at 15:51/usr/local/binbut then which kpsewhich came up with not found. – Dom Feb 4 at 15:51/usr/local/binfrom the old TeX binaries and move/usr/local/texlive/2012/bin/<arch>up in the PATH variable. – egreg Feb 4 at 15:53/usr/local/bin? or are there some settings that I am missing. I'll put it to the top in the path variable and try again. Thank you. – Dom Feb 4 at 15:55