Forum Moderators: bakedjake

Message Too Old, No Replies

Compiling kde program = problem

         

Pongo

12:57 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



Hi,
I've a problem when trying to compile kxic on slackware 9.1.
The fatal error is:
"checking for KDE headers installed... configure: error: your system is not able to compile a small KDE application!"

I've installed all kde* packages I found on my slackware mirror ftp.

Please, what have i missed to install?
If it is a package, please send me the url.

Thanks in advance,

Magnus - Sweden

Duckula

2:09 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



1. Check for details in config.log; try and see the exact error message.

2. Even with all packages installed sometimes, depending on the configuration, it's needed to set $QTDIR and $KDEDIR and set $PATH to include them, and $LD_LIBRARY_PATH to include $QTDIR/lib. It depends on how was KDE installed.

Pongo

3:02 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



When i ran ./configure --with-qt-dir=/usr/lib/qt

The last rows in config.log is:

configure:4207: checking for KDE headers installed
configure:4240: g++ -c -O2 -Wall -I/opt/kde/include -I/usr/lib/qt-3.2.1/include
conftest.C
conftest.C: In function `int main()':
conftest.C:6: no method `KApplication::kde_htmldir'
conftest.C:7: no method `KApplication::kde_appsdir'
conftest.C:8: no method `KApplication::kde_icondir'
conftest.C:9: no method `KApplication::kde_sounddir'
conftest.C:10: no method `KApplication::kde_datadir'
conftest.C:11: no method `KApplication::kde_localedir'
conftest.C:12: no method `KApplication::kde_cgidir'
conftest.C:13: no method `KApplication::kde_configdir'
conftest.C:14: no method `KApplication::kde_mimedir'
conftest.C:15: no method `KApplication::kde_toolbardir'
conftest.C:17: no method `KApplication::kde_wallpaperdir'
conftest.C:18: no method `KApplication::kde_bindir'
conftest.C:19: no method `KApplication::kde_partsdir'

I not sure but, "Checking for KDE headers installed", are they looking for QT headers?

Thanks in advance.

Duckula

3:47 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



The KDE headers, from your example, should be at /opt/kde/include; if they're not there you have a problem, if they are you have a different problem :)

I checked my installation and these methods do not exist in my whole KDE 3.2beta2 source tree. Also, I couldn't find any hint of an application called kxic. apps.kde.com is AWOL and I can't check directly there either. I suspect the app is at fault, but can't prove it. Probably it's the wrong KDE version, probably the admin/ directory of the app is out of sync or something.

Pongo

5:01 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



The program is called kxicq:
[kxicq.org...]
I have also tried to compile kicq:
[kicq.sourceforge.net...]

But it resulted in error as well...

/Magnus

Duckula

5:46 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



I checked kxicq, and the poor chap who coded it took the hard path for the configuration script; no admin/ directory, badly hacked configure.in.

It failed to me too, with

checking for Qt... configure: error: Qt >= 1.42 (libraries) not found. Please check your installation!

and my Qt and KDE are perfectly well installed from source.

The application is wrong, complain to the developer. There's a reason to have a 700k ./configure automatically generated from the admin/ directory scripts; avoiding these silly errors.

<added>In a closer look, kicq has an admin/ directory, but it's very old. The test is for

#if! (QT_VERSION >= 142 && QT_VERSION < 200)

which is obviously way older than the current Qt 3.2.1

<added again>

Generic tar.gz (glibc2, Qt-1.40, KDE 1.0)

Yep, very old, probably unmaintained, KDE 1.0 code is not really known to be compatible with 3.x

Let me suggest kopete [kopete.kde.org] as a substitute.

Pongo

7:11 pm on Dec 12, 2003 (gmt 0)

10+ Year Member



Thanks alot!
I will try the one You suggest.

Kind regards,

Magnus