Version: 3.0.0a5 (using KDE 3.1.4) Installed from: Gentoo Compiler: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) OS: Linux (i686) release 2.4.22-openmosix When you "Install as root" it just goes root and run makes install, if a file had been change it, that will make the compilation of the project, but as root, that would make the objects file created with root as their owners which means, the user won't be able to just run make, he has to delete by hand those object files (as root user) to be able to just make, or run install as root always. A simple solution to this would be to run make, then go root and then make install. Thank you.
IMHO, "make install" should be removed. It opens up hard to solve issues like this one for very little benefit.
No. Please dont remove "make install"! It is extremely useful in my opinion. And the suggested solution does not sound too tricky to implement. If it really is however, then the 'install as root' option could possibly be removed, but not the general "make install".
I'd like to keep both options. Both are quite usefull. BTW, "Install as root" does exactly what it says. I see no problem with that.
I'll fix this one within next week.
Subject: kdevelop/buildtools/autotools CVS commit by aclu: Fix Bug 65721: when running make install as root, run make as user before CCMAIL: 65721-done@bugs.kde.org M +5 -0 autoprojectpart.cpp 1.121 --- kdevelop/buildtools/autotools/autoprojectpart.cpp #1.120:1.121 @@ -928,4 +928,9 @@ void AutoProjectPart::slotInstall() void AutoProjectPart::slotInstallWithKdesu() { + // First issue "make" to build the entire project with the current user + // This way we make sure all files are up to date before we do the "make install" + slotBuild(); + + // After that issue "make install" with the root user startMakeCommand(buildDirectory(), QString::fromLatin1("install"), true); }