I am getting a multitude of error messages during the compilation of Celestia. I have tried both the stable version of 1.4.1 and the ~x86 marked version of 1.5.1. I have upgraded to the latest version of qt and installed kde 4.1.2 Follows is a small selection of the errors. eclipsefinderdlg.cpp:25: error: 'class KIntSpinBox' has no member named 'setValue' /usr/include/ksharedptr.h:80: error: 'class KSharedConfig' has no member named 'ref' Is this being caused by the kdelibs-4.1.2 or by qt-4.4.2 Note before I installed kde 4.1.2 I had celestia installed. Reproducible: Always Steps to Reproduce: 1. Install celestia (I believe the problem is related to either kdelibs or qt.) 2. 3. Actual Results: program fails to compile Expected Results: program should compile and install.
Hi, Do you have kde-base/kdelibs:3.5 (version 3.5.x) installed on your system? If not could you please resync your portage-tree and try to emerge celestia again? Before bug #241392 was fixed, celestia could exhibit exactly that problem you describe here... Cheers Poly-C
Yes i still have kde 3.5 installed. I am not using it at the moment, because for some reason 4.1.2 seems to be stepping on my setttings for 3.5. I will though try a rsync and emerge celestia again. Also I am using paludis instead of portage to handle my installs.
As Lars correctly pointed out, Celestia needs kde-3*. It shouldn't matter if you have kde-4* installed on top of that. If you are still having trouble after a resync, could you please post your full emerge --info as well as the emerge log so I can have a closer look. Thanks, Markus
Created attachment 170757 [details] output of paludis -i celestia and paludis --info celestia Included is the output of paludis -i celestia and paludis --info celestia. Yes I am using paludis instead of portage to install my programs.
Created attachment 170806 [details, diff] proposed fix for kde-3.5 compilation failure Could you please try the above patch and see if it works. Just apply it in the ebuild right after the other ones *before* the eautoreconf line. Best, Markus
Patch applied. Still getting the following warning. cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++. Maybe this warning should be forwarded upstream to the celestia maintainers. The patch by the way did work. 1.5.1 compiled with only the above warnings. And the program did run.
Thank you very much for testing and I am glad the patch works. I've added it to portage and will let upstream know about the warnings. cheers, Markus