compiling small KDE application
Hi, I've got Qt 3.1.2 and KDE 3.1.0 default installed on my Slackware 9.0 & I have problems with compiling small kde applications, for example 'caitoo', because there is an error when i run ./configure:
-------------------- 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. -------------------- I made some corrections in my env, after querying google: caitoo-0.6.6# echo $KDEDIR $QTDIR /usr/include/kde /usr/include/qt caitoo-0.6.6# ls -l /usr/include/kde /usr/include/qt lrwxrwxrwx 1 root root 17 Dec 21 21:14 /usr/include/kde -> /opt/kde/include/ lrwxrwxrwx 1 root root 19 Dec 21 21:33 /usr/include/qt -> /usr/lib/qt/include but there is still the same problem. caitoo-0.6.6# tail -15 config.log configure:4079: g++ -c -O2 -Wall -I/usr/include/kde -I/usr/include/qt 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:16: no method `KApplication::kde_wallpaperdir' conftest.C:17: no method `KApplication::kde_bindir' conftest.C:18: no method `KApplication::kde_partsdir' whad did I miss? |
Can you build anything?
I'd probably need to see the first errors in the config script but my first guess is you are missing 'probably' some c libraries. What do you see when you type gcc -v ? Just a guess... |
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux Thread model: posix gcc version 3.2.2 |
& first error in config.log
configure:2459: warning: implicit declaration of function `XtMalloc' /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot find -lX t collect2: ld returned 1 exit status configure: failed program was: #line 2456 "configure" #include "confdefs.h" |
Hmmm. so it is a size thing? memory allocation?
Sorry can't help you there. (But what about my question can you compile anything?) It could still be missing libs... |
if compiling anything means like this:
# cat >a.c #include <stdio.h> main() { printf("testing;)\n"); return 0; } # gcc a.c # ./a.out testing;) then, I say, YES, I can compile anything. I try to download newest KDE source.. maybe this helps me |
Sorry, no I meant as in build: configure.
configure, make, make install. Have you installed programs this way before? If you are on a new install of slackware maybe you aren't set up as a developer system yet? |
I have only problem with some kde progs like 'caitoo' as i sad and another app that I have is for example 'krabber'. Programs like newest samba, nmap:>, apache, etc compile succesfull. Only KDE progs fail.
|
I googled
and found: we show how caitoo's usage of the KDE libraries differs from other applications http://www.cs.washington.edu/researc...age/rules.html hope this helps, alar Maybe you should start another post about caitoo's usage of the KDE libraries? Prolly under software instead of Newbies :) |
I just tried to configure 'caitoo' remotely on my friend's machine;). He has just installed Slackware 9.1,
and there is the same problem. I'm just compiling the newest kde base&libs but It's the last thing I do for it.. If it won't work I'll just search for some another download manager for X;) |
All times are GMT -5. The time now is 02:15 PM. |