Bug 61276

Summary: AM should warn "kde instalation directory" is not on the includedir
Product: [Applications] kdevelop Reporter: Ian Wadham <iandw.au>
Component: Build tools: AutomakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: 3.0.0a4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ian Wadham 2003-07-15 14:23:34 UTC
Version:           3.0.0a4 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

When I ran "Build, Make Messages & Merge", the Messages window reported
"Success", but no .pot or .po file was generated (BUG 1).  In fact there was an
error message form command "xgettext", in script "admin/cvs.sh", saying:

    xgettext: error while opening "/include/kde.pot" for reading: No such file ...

On examining the script "admin/cvs.sh", I noticed that the file required a prefix
"${includedir:-KDEDIR}".  It appears that Gideon does not define either
$includedir or $KDEDIR (BUG 2).  When I ran "KDEDIR=/opt/kde3 gideon ...",
"Make Messages & Merge" worked fine.  BTW (BUG 3?), isn't the symbol
$KDEDIR long ago obsolete in KDE?
Comment 1 Amilcar do Carmo Lucas 2003-12-02 22:18:36 UTC
No $KDEDIR is not obsolete and should be set all the time to the correct directory.

It is your responsability to set it.

Going to demote to wish.
Comment 2 Stephan Kulow 2003-12-03 10:46:25 UTC
KDEDIR _is_ obsolete for about everything and the right fix is setting includedir to the correct directory. KDEDIR is just a lame fallback in
many places.
Comment 3 Amilcar do Carmo Lucas 2003-12-03 11:36:14 UTC
Thanks for correcting me coolo!
Comment 4 Andreas Pakulat 2008-06-29 15:55:39 UTC
I don't see how this is a kdevelop problem, if anything its a problem with the admin dir and that now uses KDE's global one. closing as invalid.