When icecc is looking for gcc in $PATH it doesn't check if it actually found a file and not a directory. This causes compiling to fail if a directory like /usr/libexec is added to the PATH because it contains a directory called gcc. I'm adding a patch to fix this.
Created attachment 137119 [details, diff] Make sure we don't choose directories as the compiler binary
This patch have been accepted upstream and added to svn. http://websvn.kde.org/?view=rev&revision=742218
I just added 0.9.0 to the tree, it includes the patch, thanks!