MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am downloading kde 3.4 using konstruct, during ''Running make in work/kdelibs-3.4.0'', while compiling kextsock.cpp, I get the following messages:
Code:
In file included from libkdecore_la.all_cpp.cpp:64:
kextsock.cpp: In member function `bool KExtendedSocket::setAddressReusable(bool)':
kextsock.cpp:504: warning: `setAddressReusable' is deprecated (declared at kextsock.h:1005)
kextsock.cpp: In member function `const KSocketAddress* KExtendedSocket::localAddress()':
kextsock.cpp:719: warning: `localAddress' is deprecated (declared at kextsock.h:977)
kextsock.cpp: In member function `const KSocketAddress* KExtendedSocket::peerAddress()':
kextsock.cpp:734: warning: `peerAddress' is deprecated (declared at kextsock.h:986)
kextsock.cpp: In member function `virtual int KExtendedSocket::listen(int)':
kextsock.cpp:860: warning: `setAddressReusable' is deprecated (declared at kextsock.cpp:513)
kextsock.cpp: In member function `virtual int KExtendedSocket::connect()':
kextsock.cpp:1039: warning: `setAddressReusable' is deprecated (declared at kextsock.cpp:513)
kextsock.cpp:1061: warning: `setAddressReusable' is deprecated (declared at kextsock.cpp:513)
kextsock.cpp: In member function `void KExtendedSocket::connectionEvent()':
kextsock.cpp:1850: warning: `setAddressReusable' is deprecated (declared at kextsock.cpp:513)
kextsock.cpp:1874: warning: `setAddressReusable' is deprecated (declared at kextsock.cpp:513)
kextsock.cpp: In static member function `static int KExtendedSocket::resolve(KSocketAddress*, QString&, QString&, int)':
kextsock.cpp:1982: warning: `resolve' is deprecated (declared at kextsock.cpp:1964)
After this nothing happens for a very very long time. I know konstruct takes a long time, but everything before this went smoothly. I have tried restarting make and have even deleted and restarted the entire process but it hangs at this point. Any help is appreciated. Thanks.
P.s.:Sorry for the long post; I use mandrake 10.1
Sorry, forgot to mention, during one of the many times I ran make, after the above mentioned messages(and a really long time!) i got this
Code:
kconfigbackend.cpp: In member function `void KConfigINIBackEnd:: parseSingleConfigFile(QFile&, KEntryMap*, bool, bool)':
kconfigbackend.cpp:430: warning: variable 's' might be clobbered by `longjmp' or `vfork'
kconfigbackend.cpp:431: warning: variable 'eof' might be clobbered by `longjmp' or `vfork'
I dont know if the problem is in kextsock.cpp or kconfigbackend.cpp. Is the eof not being detected and hence is the program running over some file over and over again??
Do you know which version of gcc you are using to compile this with? Also, is there no way you can download the rpm's from Thac's site for KDE3.4? I'm not trying to put you off compiling the applicaition, but unless you *have* to compile from scratch I'd use the rpm's for compatability reasons.
But anyway, if you want to compile from scratch then try using a different version of gcc and take off any compiler optimisations that you may have set. Also, the output you have provided are just warnings, so unless you've set the compiler to not ignore warnings the application should continue compiling until it reaches an 'error' and not a 'warning'.
I have gcc 3.4.1. I have no problems downloading from thac's site, but almost everybody says the rpms have some kind of issue or the other with them. I almost always have problems while compiling, so always prefer rpms, but nobody except thac have the rpms. Even kde site has rpms for SuSe, Red Hat, but not for mandrake.
No, i dont have any compiler optimizations, the reason i posted this is not because compilation stops, but it does not stop!!! I think it is caught in an endless loop, a recursive function or an eof of a file is not being detected.
When you first posted that you said nothing happened for a very long time, how long did you wait and did you check the CPU usage to see if anything was running? I'm just wondering if there was something going on but that it needed to take a long time to compile. I'm guessing you don't receive any output though which leads you to think that nothing happening?
I'd try it again and run 'top' from a command line to see what processes are running. If gcc is running then I'd imagine that the compilation is still happening, it's just taking a long time.
I know it's basic stuff, but I thought I'd check it anyway.
I have waited at that point for upto 14hrs. The processes before this take about 2hrs 30mins. totally. CPU usage was 100% continuously(during the above mentioned point). I know gcc is running, as i have said before it could be some error where gcc is in an endless loop or something.
I'm going to download from thac's but his site is so slow!!
Thanks. if you have any ideas as to why i face this problem, please post it here. I'd prefer to compile than download rpms from thac's going by what other users have got to say..
I use Fedora Core 3. Before kde 3.4 stable release came out, I compiled it from source, and it took hours even though it went well. After 3.4 was released, I followed these instructions from the SourceForge site:
I used the YUM tool and I had kde 3.4 installed in maybe 10 minutes and it is working great. A huge advantage to using the tools available. So, I recommend using yum, apt, or whatever packaging tool comes with your distro, install the 3.4 rpms, and have fun faster. Good luck.
As far as i know my urpmi source does not have kde 3.4. And isnt the link you posted hosting kde compiled for red hat. Fedora is almost red hat so i dont think you might have a problem, but i am sure i will.
Thanks for your reply though.
My understanding is the Thac's Mandrake RPM's are rock solid. I did a bit of homework for you and if you follow link #1, you will be able to add this repo to URPMI. Thac's list of Mandrake KDE 3.4 packages is listed in link #2. Good luck!
You may want to edit your profile in this site to add your distribution "Mandrake 10.x". People will be able to help you better and faster because your distro will post with your name. Right now yours is blank. Good Luck.
mkoljack, thanks a lot for your help, i upgraded but now i'm unable to login, after logging in, it comes back to login screen(irritating). I'm reinstalling 10.1 or might go for 10.2 rc1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.