On Thursday 21 September 2006 06:24, Erik Johansson wrote: > On 21 sep 2006, at 00.15, Pollywog wrote: > > So I did 'make clean' for the daemon and the plugin and recompiled > > them, but I > > still get the same error and I also noticed that the plugin > > compiled too > > quickly, in just a few seconds. This is very unusual and I don't > > think it is > > actually compiling all the way. > > > > What do I need to do in addition to 'make clean'? > > If make clean && make -f Makefile.cvs && ./configure --some-flag && > make doesn't work, the best is probably to just remove qt-gui and get > a fresh copy from the repository. > > If you do get a fresh copy, I would recommend you to make your > builddir != srcdir. > > qt-gui# make -f Makefile.cvs > qt-gui# mkdir build && cd build > build# ../configure --some-flag && make > > Then if you ever get the same problem again, just remove the build > directory and recreate it. No need to get the source again. This > schemes brings additional advantages as well, the most notable the > possibility to have more than one builddir. One for --with-kde and > one without, or perhaps --enable-debug, and so on.
I did this yesterday, but today I have moc problems: o -MD -MP -MF ".deps/adduserdlg.Tpo" -c -o adduserdlg.lo ../../src/adduserdlg.cpp; \ then mv -f ".deps/adduserdlg.Tpo" ".deps/adduserdlg.Plo"; else rm -f ".deps/adduserdlg.Tpo"; exit 1; fi ../../src/adduserdlg.cpp:121:26: adduserdlg.moc: No such file or directory make[2]: *** [adduserdlg.lo] Error 1 I got rid of the contents in the "build" directory for the plugin today and tried to compile again, but I get the error shown above.
