Summary: | when running make install as root, run make as user before. | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Pupeno <pupeno> |
Component: | Build tools: Automake | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.0a5 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Pupeno
2003-10-08 23:52:50 UTC
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); } |