Version: 3.0.0b2 (using KDE KDE 3.1.94) Installed from: Compiled From Sources Compiler: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) OS: Linux When the project path contains one (or several space), KDevelop can't compile or launch the program because, the shell commands which are used, don't used quote. So a : cd /home/user/project path/ will failed !
thanks for the report, I think I fixed all unquoted paths from the autmake part. Unfortunately, it still doesn't build since the configure script doesn't like path names with spaces, but that's something that has to be fixed in the auto-tools and not in KDevelop. Summary: Just don't use spaces in filenames, it looks too MS-like anyways :) Underscores work well.
Frédéric, please can you open the bug ? I' using kdevelop 3.0.3, and this doesn't seems to be solved at all. It's exactly the same problem.. Summary: this is important, although someone which want to develop I'm sure he would notice which is the problem normally, but the new starters don't. And sorry, but MS didn't invent spaces :-).
Could someone please reopen this bug. I'm running Suse 9.2 with KDE 3.4 and kdevelop 3.2.0 and found this bug still there. I used a folder "KDE Training" in my home dir for my projects. bad idea! " Build Project (F8) stops compaining it can't CD to the project dir.
Like Harold said this is most probably an GNU-Autotools problem and not a KDevelop problem. What are your autoconf, automake, autoheader, libtool versions ?
No activity for 9 months
As spaces are not allowed in paths, maybe these spaces could be forbidden in the KDevelop dialog box (or to display a Warning message box).
*** Bug 141083 has been marked as a duplicate of this bug. ***
This bug is still an issue in KDevelop 3.4.0 on Ubuntu 7.04 using gcc 4.1.2, automake 1.9.6, and autoconf 2.13. The following error message is given on a build: configure: error: ls -t appears to fail. Make sure there is not a broken alias in your environment configure: error: newly created file is older than distributed files! Check your system clock When a path without spaces is used this error disappears. Using a program path without spaces is not necessarily always easy or desirable, for instance, when working on porting an application checked into CVS or Subversion by Windows-centric programmers who don't realize spaces are annoying.
KDevelop doesn't allow to create projects with spaces in the path. We can't fix configure, that is a generated script and the error is in autotools (which generate this). Autotools are not a part of KDevelop. If you want to use an autotools project and have spaces in their path please file a bugreport at the autotools project. Also Windows programs don't use autotools normally, so you could just use a different buildsystem on your non-windows platform.
*** Bug 164848 has been marked as a duplicate of this bug. ***
I'm closing this as fixed, KDevelop4 doesn't have any restrictions on paths. The autotools-problem needs to be handled upstream anyway.