Bug 61276 - AM should warn "kde instalation directory" is not on the includedir
Summary: AM should warn "kde instalation directory" is not on the includedir
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.0a4
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 14:23 UTC by Ian Wadham
Modified: 2008-06-29 15:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.