make clean and .la files

2006-05-23 Thread Volker Krause
Hi, I get a FILE INSTALL cannot find file foo.la to install. on 'make install' in case I did a 'make clean' before and cmake hasn't run in between. If I understand correctly the problem is the following: The .la file are generated by cmake (ie. while evaluating the kde4_install_libtool_file

Re: cmake problem: dependencies are not updated until make is re-run

2006-05-23 Thread Brad King
David Faure wrote: I have seen this problem multiple times, but I'm not sure something can be done about it... Basically the first time make is run, if it triggers a cmake run, then the new dependencies are not taken into account. They are only when running make again. Example:

Re: Bug in cmake's remove_definitions

2006-05-23 Thread Brad King
Dmitry Suzdalev wrote: I believe, I've found bug in cmake. KDE4_DEFINITIONS in FindKDE4Internal.cmake among the others contains flags -DQT3_SUPPORT and -DQT3_SUPPORT_WARNINGS. When I added remove_definitions(-DQT3_SUPPORT) I got a compile time error: c++: _WARNINGS: No such file

Re: cmake problem: dependencies are not updated until make is re-run

2006-05-23 Thread David Faure
On Tuesday 23 May 2006 16:06, Brad King wrote: I just created a small project, built it, renamed a header, and built again and it worked. There is something else going on here. Doh. I think I know the cause. I was experimenting with -DCMAKE_SKIP_RULE_DEPENDENCY=TRUE to get a behavior more

Re: cmake problem: dependencies are not updated until make is re-run

2006-05-23 Thread David Faure
On Tuesday 23 May 2006 20:40, David Faure wrote: On Tuesday 23 May 2006 16:06, Brad King wrote: I just created a small project, built it, renamed a header, and built again and it worked. There is something else going on here. Doh. I think I know the cause. I was experimenting with

Re: Bug in cmake's remove_definitions

2006-05-23 Thread Dmitry Suzdalev
On Tuesday 23 May 2006 20:52, Brad King wrote: I've fixed it in CMake. This will be included in 2.4.3. Thanks! :) Dmitry. ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem

Re: make clean and .la files

2006-05-23 Thread Alexander Neundorf
On Tuesday 23 May 2006 11:47, Volker Krause wrote: Hi, I get a FILE INSTALL cannot find file foo.la to install. on 'make install' in case I did a 'make clean' before and cmake hasn't run in between. If I understand correctly the problem is the following: The .la file are generated by cmake

rpaths on linux with kde3 installed

2006-05-23 Thread Adriaan de Groot
I'm trying to build KDE4 SVN trunk (r. 544176) on a Kubuntu system (6.06). I'm using home-built CMake 2.4.2 because the packaged CMake on Kubuntu is 2.2. A clean build keeps ending up like this: Generating ksycoca_skel.cpp ../bin/dcopidl2cpp.sh: line 4: 16565 Segmentation fault