Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242086 - kdevelop 3.5.3 fails to install with KDE 4.1.2
Summary: kdevelop 3.5.3 fails to install with KDE 4.1.2
Status: RESOLVED DUPLICATE of bug 238095
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 18:16 UTC by Mladen Stefanov
Modified: 2008-10-15 10:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output from paludis -I (info.txt,4.83 KB, text/plain)
2008-10-14 18:17 UTC, Mladen Stefanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mladen Stefanov 2008-10-14 18:16:20 UTC
I have KDE 3.5.10 and 4.1.2 unslotted instalation from the official overlay. 
When I try to upgrade kdevelop from 3.5.2-r1 to 3.5.3, the configure script dies with error:

checking for KDE >= 3.4.0... configure: error: Installed KDE needs to be version 3.4.0 or later                     

If additional information is needed, just let me know.
Comment 1 Mladen Stefanov 2008-10-14 18:17:41 UTC
Created attachment 168458 [details]
output from paludis -I
Comment 2 Mladen Stefanov 2008-10-14 23:50:33 UTC
After some digging, I found the test used to determine the KDE version. It tries to compile this file:

#include <kdeversion.h>
int main ()
 {
 #if KDE_IS_VERSION(3,4,0)
 #else
 KDE_choke me
 #endif
 ;
 return 0;
}

Using the compile options from the script, I got this:

gcc -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/qt/3/include -I/usr/include -DQT_THREAD_SUPPORT  -D_REENTRANT  -o kde-test.o kde-test.cpp
In file included from /usr/include/kdecore_export.h:24,
                 from /usr/include/kdeversion.h:30,
                 from kde-test.cpp:4:
/usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory

QtCore/qglobal.h is part of Qt4, but kdevelop uses Qt3.

Is there an elegant way around this problem?
Comment 3 Mladen Stefanov 2008-10-15 10:16:20 UTC
I just saw that there is already filed bug for this problem.

*** This bug has been marked as a duplicate of bug 238095 ***