Question

I've got a project in KDevelop, but attempting to install if from within the IDE simply gives the following output:

/home/<myusername>/Projects/rect/build/release> kdesu -t -- make -j8 install
*** Failed ***

However, when I run the exact same command from the exact same location in terminal (outside KDevelop), it asks for the root password as it should and installs just fine. All possible solutions for the problem I could find are either for missing kdesu or kdesu installed in a location not on PATH by default; however, I most certainly have kdesu on my system and I have exported its location, and like I said, the exact command that KDevelop appears to be trying to run works beautifully outside the IDE.

So, how would I get the install option working in KDevelop itself?

I'm using Debian Wheezy if this matters.

Was it helpful?

Solution 2

Of course the problem with my PATH was that I was only setting it in the console but the PATH is different for GUI applications (thanks D.J.Duff for pointing that out, can't believe I didn't know this) - I fixed it by adding PATH="$PATH:/usr/lib/kde4/libexec" (the location of these binaries) to my .profile file as suggested here.

OTHER TIPS

I got around this by creating a symlink to the kdesu binary in /usr/local/bin, which seems to be working just fine. I'm still curious as to why it didn't work before since the directory containing kdesu was on the PATH, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top