Bug 35591

Summary: file not found when error at compile F4 key
Product: [Applications] kdevelop Reporter: fmarmond
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: CLOSED FIXED    
Severity: normal CC: esigra
Priority: NOR    
Version: 2.0.2   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description fmarmond 2001-11-30 12:57:46 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.0.2 (using KDE 2.2.1 )
Severity:          normal
Installed from:    Mandrake RPMs
Compiler:          gcc 2.96
OS:                Linux
OS/Compiler notes: Not Specified

I explain what I do to get the bug:

I create a basic project (Terminal C++).
It's all OK
I compile the template prog without problem the "Hello world" is printed.

When I put an error in the main.cpp (insert "foo" the line after the cout) the compiler generate an error.
It's ok BUT when I press the F4 key to make kdevelop point me the error kdevelop just don't find the main.cpp file!

The project was created in:
/home/fred/projetcs/
the project name is 'test'
The main.cpp is at
/home/fred/projetcs/test/test/main.cpp
and when I pressed the F4 key kdevelop searched it at
/home/fred/projetcs/test/main.cpp

This bug apear in the french version (I just try with this one). I had the same problem with the previous version the 2.0.1 with Mandrake 8.0 and Mandrake 8.1

I've a screenshot of the message where we see all the needed stuff if it can help you...

Grrr! I 'solved' it by making links between test/test/main.cpp and test/main.cpp but it's realy ugly.

I have this problem with all projects I'm working on exept those which where created with very old versions of Kdevelop (<1.3)

If you need more information please just contact me!
If you speak french it would help me a lot! ;-)

Good luck!

Fred
(if you could tell me news about this problem...)

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Comment 1 John Birch 2001-11-30 18:20:17 UTC
Hi Fred

This is because your make system is outputting text in French. Kdevelop has 
to parse the output to make to find the "Entering directory" line. If this is 
translated it cannot find it.

I think you need to delete your make.mo file so make outputs in english to 
make this work.

jbb

On Sat 01 Dec 2001 01:57 you wrote:
> Package: kdevelop
> Version: 2.0.2 (using KDE 2.2.1 )
> Severity: normal
> Installed from:    Mandrake RPMs
> Compiler:          gcc 2.96
> OS:                Linux
> OS/Compiler notes: Not Specified
>
> I explain what I do to get the bug:
>
> I create a basic project (Terminal C++).
> It's all OK
> I compile the template prog without problem the "Hello world" is printed.
>
> When I put an error in the main.cpp (insert "foo" the line after the cout)
> the compiler generate an error. It's ok BUT when I press the F4 key to
> make kdevelop point me the error kdevelop just don't find the main.cpp
> file!
>
> The project was created in:
> /home/fred/projetcs/
> the project name is 'test'
> The main.cpp is at
> /home/fred/projetcs/test/test/main.cpp
> and when I pressed the F4 key kdevelop searched it at
> /home/fred/projetcs/test/main.cpp
>
> This bug apear in the french version (I just try with this one). I had the
> same problem with the previous version the 2.0.1 with Mandrake 8.0 and
> Mandrake 8.1
>
> I've a screenshot of the message where we see all the needed stuff if it
> can help you...
>
> Grrr! I 'solved' it by making links between test/test/main.cpp and
> test/main.cpp but it's realy ugly.
>
> I have this problem with all projects I'm working on exept those which
> where created with very old versions of Kdevelop (<1.3)
>
> If you need more information please just contact me!
> If you speak french it would help me a lot! ;-)
>
> Good luck!
>
> Fred
> (if you could tell me news about this problem...)
>
> (Submitted via bugs.kde.org)
> (Called from KBugReport dialog. Fields Application KDE Version OS
> Compiler manually changed)
>
>
> _______________________________________________
> Kdevelop-devel mailing list
> Kdevelop-devel@barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel