GNOME Bugzilla – Bug 645695
install broken since deec63dfe4c2527d5adfed049eeac423307229d1
Last modified: 2011-04-16 20:11:44 UTC
Executing install from anjuta gives you the error: /home/c-a/Programmering/anjuta/plugins/glade/(anjuta:11903): libanjuta-WARNING **: Cannot execute command: "make install" execvp failed: No such file or directory
Created attachment 184286 [details] [review] Fix Thank you very much for reporting this bug, I have missed it. Here is a patch fixing it, but it's quite late for anjuta 3.0.0. So I'm afraid it will be fixed only in anjuta 3.0.1.
Created attachment 184288 [details] [review] Fix I have thought that the error was only when not using any prefix (sudo nor "su -c") but in fact, the quote are needed only for "su -c".
Created attachment 184342 [details] [review] Another fix Here is an improved patch, checking if the prefix command ends with " -c" instead of "-c".
The previous committed patch is only a quick fix for version 3.0, so I don't close the bug. A better fix has been requested by the release team. I think we need to use a format string with by example %c replaced by the command without quotes and %q replaced by the command with quote. We need to replace "" => "%c" "sudo" => "sudo %c" "su -c" => "su -c %q" And add a comment in the corresponding gconf key.
Now that the freeze period has ended, I have implemented and committed a more robust fix.