[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KDE2 headers



I want to compile a KDE program and I'm having problems I don't
understand. It's keasycd, a cd burning program.

Here is the output:

----
devel ~/src/keasycd/keasycd % ./configure --prefix=/usr/local --with-qt-includes=/usr/local/include/X11/qt2 --with-qt-libraries=/usr/local/lib/qt2
[...]
checking for KDE... libraries /usr/local/lib, headers /usr/local/include
checking for extra includes... no
checking for extra libs... no
checking for kde headers installed... configure: error: your system is not able to compile a small KDE application!
Check, if you installed the KDE header files correctly.
----

Configure tries to compile this program:

----
#include <stdio.h>
#include "confdefs.h"
#include "config.h.bot"
#include <kapp.h>

int main() {
printf("kde_htmldir=\"%s\"\n", KApplication::kde_htmldir().data());
printf("kde_appsdir=\"%s\"\n", KApplication::kde_appsdir().data());
printf("kde_icondir=\"%s\"\n", KApplication::kde_icondir().data());
printf("kde_sounddir=\"%s\"\n", KApplication::kde_sounddir().data());
printf("kde_datadir=\"%s\"\n", KApplication::kde_datadir().data());
printf("kde_locale=\"%s\"\n", KApplication::kde_localedir().data());
printf("kde_cgidir=\"%s\"\n", KApplication::kde_cgidir().data());
printf("kde_confdir=\"%s\"\n", KApplication::kde_configdir().data());
printf("kde_mimedir=\"%s\"\n", KApplication::kde_mimedir().data());
printf("kde_toolbardir=\"%s\"\n", KApplication::kde_toolbardir().data());
printf("kde_wallpaperdir=\"%s\"\n", KApplication::kde_wallpaperdir().data());
printf("kde_bindir=\"%s\"\n", KApplication::kde_bindir().data());
printf("kde_partsdir=\"%s\"\n", KApplication::kde_partsdir().data());
return 0;
}
----

and gives theses errors:

----
[...]
configure:3243: checking for KDE
configure:3379: checking for extra includes
configure:3407: checking for extra libs
configure:3534: checking for kde headers installed
configure:3581: g++ -c -O2 -Wall -I/usr/local/include -I/usr/local/include/X11/qt2  -I/usr/X11R6/include  conftest.C
conftest.C: In function `int main()':
conftest.C:7: no method `KApplication::kde_htmldir'
conftest.C:8: no method `KApplication::kde_appsdir'
conftest.C:9: no method `KApplication::kde_icondir'
conftest.C:10: no method `KApplication::kde_sounddir'
conftest.C:11: no method `KApplication::kde_datadir'
conftest.C:12: no method `KApplication::kde_localedir'
conftest.C:13: no method `KApplication::kde_cgidir'
conftest.C:14: no method `KApplication::kde_configdir'
conftest.C:15: no method `KApplication::kde_mimedir'
conftest.C:16: 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'
----

Well, I looked and kapp.h is in place. My guess: these are OpenBSD
specific problems I can't see through because I'm clueless. Someone
please give me a hint where to look further through this stuff...


-- 
A079 88E9 3617 838D ED65  A7D1 277D D529 DC80 5C44
--seb_(_at_)_gosh_(_dot_)_todesplanet_(_dot_)_de------------cran@ircnet--



Visit your host, monkey.org