Using Kile 2.1 beta 4, TeXlive2010 on Ubuntu 10.04 the call of pdflatex from kile fails with the error "pdflatex-fmt-doesnt-match-pdftex-pool" as it has been reported here.
However, I can compile from the command line without any problems.
Looking at the log-file I found this odd entry
***** This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled.
kpathsea: Running mktexfmt pdflatex.fmt fmtutil: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' ... This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (INITEX) restricted \write18 enabled. (/usr/local/texlive/2010/texmf/web2c/cp227.tcx)
It seems that Kile calls the old texlive 2009 (was never installed on the system). I installed Kile without recommended dependencies to overcome the texlive 2009/2010 problem and just after installation everything worked fine from the command line and using Kile. Deleting texmf-var folder and running fmtutil --all
did not solve my problem.
Did something change the configuration after system restart, if yes what and why?
Is there a way to re-configure Kile or do I have to uninstall it, build the dummy package and reinstall Kile in oder to use it with TeXLive2010?
dpkg -l | grep texlive
,which latex
,which kpsewhich
andkpsewhich latex.fmt
?/etc/environment
has been reported to work well on Debian-derived systems. Otherwise, search your desktop environment's documentation for the way to set expand the PATH for graphical apps.