Bug 49047

Summary: project created with Wizard fails to build
Product: [Applications] kdevelop Reporter: scratchy <scratchy.kde.021012>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description scratchy 2002-10-12 07:50:25 UTC
Version:           2.1 (using KDE KDE 3.0)
Installed from:    RedHat RPMs
Compiler:          gcc version 2.96 20000731 
OS:          Linux

Create a C++ console program with the Wizard:
1) Project->New
2) Terminal/C++, Next
3) Project Name: Z, Next
4) VCS Support: None, Next
5) Next, Next, Create
6) The lower pane shows the following (errors, are they?):

shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory

7) Exit
8) Build->Make yeilds:

gmake all-recursive 
gmake[1]: Entering directory `/home/scratchy/z' 
cd . && automake --foreign ./Makefile 
cd . && perl admin/am_edit Makefile.in 
cd . \ 
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status 
fast creating Makefile 
gmake[1]: Leaving directory `/home/scratchy/z' 
gmake[1]: Entering directory `/home/scratchy/z' 
Making all in z 
gmake[2]: Entering directory `/home/scratchy/z/z' 
cd .. && automake --gnu z/Makefile 
cd .. && perl admin/am_edit z/Makefile.in 
cd .. \ 
&& CONFIG_FILES=z/Makefile CONFIG_HEADERS= /bin/sh ./config.status 
fast creating z/Makefile 
gmake[2]: Leaving directory `/home/scratchy/z/z' 
gmake[2]: Entering directory `/home/scratchy/z/z' 
Making all in docs 
gmake[3]: Entering directory `/home/scratchy/z/z/docs' 
gmake[3]: *** No rule to make target `../configure.in', needed by `Makefile.in'. Stop. 
gmake[3]: Leaving directory `/home/scratchy/z/z/docs' 
gmake[2]: *** [all-recursive] Error 1 
gmake[2]: Leaving directory `/home/scratchy/z/z' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/home/scratchy/z' 
gmake: *** [all-recursive-am] Error 2 
*** failed *** 

This happens to other one-letter project names too. Of course, not
many people will name their projects with one letter, but it does 
seem fishy. This could lead to a more serious problem.

Thanks.
Comment 1 Caleb Tennis 2002-10-14 18:10:14 UTC
I've experienced that exact same problem as well.  I haven't been able to 
reproduce it in Gideon (3.0), so I have to assume it's been fixed.