LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble building kxdocker 0.20 (https://www.linuxquestions.org/questions/linux-software-2/trouble-building-kxdocker-0-20-a-313727/)

mauripop 04-15-2005 08:47 PM

Trouble building kxdocker 0.20
 
Hi, I'm kind of a newbie still, even though it has been a year since my main OS is Linux.
My distro is Mandrake 10.1, which runs KDE 3.2. I want to install kxdocker on my desktop, I noticed the version that still runs on KDE 3.2 is kxdocker 0.20, since the latest one requires KDE 3.4 and I am not ready to build that by myself, after all I have work to do too!

So I downloaded the source tarball. I installed the kxdocker resources with no problem, and also ran ./configure without any errors.

But the make command gives me many compiling errors. Since I did not modify the source code at all, why would it do that? This has happened to me before, which has prompted me to always look for RPMs , but I can't find any for version 0.20 of kxdocker.

This is the last part of the error I get:

In file included from kxdocker.cpp:26:
xeplugin_gapplet.h:64: error: extra semicolon
kxdocker.cpp: In constructor `KXDocker::KXDocker()':
kxdocker.cpp:80: warning: comparison between signed and unsigned integer expressions
kxdocker.cpp:83: warning: format not a string literal and no format arguments
make[2]: *** [kxdocker.o] Error 1
make[2]: Leaving directory `/home/mre/Downloads/kxdocker-0.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mre/Downloads/kxdocker-0.20'
make: *** [all] Error 2
[mre@localhost kxdocker-0.20]$

This is my first post, I appreciate any help I can get!

JustinHoMi 04-15-2005 10:29 PM

It sounds to me like there is an error in the source code, or that the compiler that you're using is too old (or new). You'll have to edit the code by hand to get it to work, most likely, but I can't really tell you what to change without seeing the code. You can try going to line 64 of xeplugin_gapplet.h and making sure there aren't any extra semicolons laying around, but that'll be hard to tell unless you're familiar with c.

Anyways, you're probably better off searching google for an rpm of the program you want to install!

mauripop 04-20-2005 01:59 PM

Hey Justin thanks much for taking the time to reply to my post.

I thought about editing the code, but I am not familiar with C indeed, and since it is the source code of an app used by many users I thought it had to be the complier instead of the code. I use the one supplied by my distro, gcc probably.

I did look for an RPM but I did not find one for this version of kxdocker, only version 0.30 which requires KDE 3.4 and my Mandrake distro has 3.2 only.

Looking at my configuration, I see I have gcc version 3.4.1 installed, plus the 2.96 preprocessor. Using URPMI I could install version gcc version 4.0. Do you think this would help?


All times are GMT -5. The time now is 01:29 AM.