cmake dependencies bug due to symlinks

Brad King brad.king at kitware.com
Thu Apr 27 16:45:27 CEST 2006


Andras Mantia wrote:
> On Wednesday 26 April 2006 23:13, Brad King wrote:
>>Andras Mantia wrote:
>>>If I run make from a place which is a symlink to the actual
>>>location of the toplevel source directory, ui_fileinfodlg.h is not
>>>generated and I get a "error: ui_fileinfodlg.h: No such file or
>>>directory" error.
>>
>>Please clarify your directory and symlink structure.  Is it:
> In a simplified version:
> 
> source is: /data/development/source
> build is: /media/data/build <= from this place it works
> symlink is: /data2/build <= from this place it doesn't work

Thanks, now I've been able to duplicate the problem.  You should have 
seen it with earlier CMake versions too, but it only occurs if you run 
cmake in one of the two places and make from the other.

I found the bug, and wow there was a _really_ subtle issue with the 
dependency scanning implementation.  The fix will be included in the 
upcoming 2.4.1 beta release.

-Brad


More information about the Kde-buildsystem mailing list