I am using kile for my latex documentation.
I wanted to keep the top level directory of tex files clean, so I have created a folder named "tmp" in the current directory and added the option to compilation as:
pdflatex --output-directory tmp
using kile's build-configuration settings.
After setting this, compilation is working very fine and the directory is clean as I desired, but the "log and messages" pane in Kile, at the bottom is not able to show the compilation status message and says:
Cannot open log file; did you run LaTeX?
Any suggestions about how do I tell KILE about new log file location??
Solution update 7-Nov-2016:
Below is a compromising work-around for this age-old, unsolved bug/problem with kile. (As the Q is closed and I only can edit the Q):
Basically the aim is to keep the current directory clean, so one may compromise to ONE additional file, more specifically a link to the .log file. Note that we already avoided a ton of other files.
So the main problem happens to be a simple bug, that the .log file is not accessible to the kile, hence complaining as above. Because kile is (in spite of the relative directory setting) still thinking that the log file should exist in the current directory to read and present its summary in "log and messages".
So I kept a symbolic link to the actual log file (which should have been created in
tmp directory as a result of the option
--output-directory) in the current directory, i.e.:
ln -s tmp/<filename>.log <filename>.log
This has solved the error message and everything else is normal.