LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-15-2005, 10:21 AM   #1
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Rep: Reputation: 30
Question Compiling KDE


Since SuSE's 9.2 KDE 3.3 is at i586, it there any real advantage to recompiling to i686, or would I be wasting my time?

Thanks
 
Old 04-15-2005, 01:54 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
With KDE, I wouldn't bother too much. Recompiling the kernel will make much more of a difference, because much of that is optimised for the processor at a very low level.

If you find a program is running too slowly, first make sure that dcopserver is running. If not, you might consider recompiling that program.

Also, you can get 80% of the benefit for 20% of the work by recompiling kdelibs. But I still doubt if you'll see much difference just from changing the processor type.

Playing with other compiler options, like -funroll-loops, -O3 and so on, will have more of an effect, although it could possibly effect stability as well (in some rare cases).
 
Old 04-15-2005, 04:18 PM   #3
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Thank-you very much rjlee. Greatly appreciated.

I will have to look into the kernel issue, however what are some of the compiling options that can improve performance, or better yet, where would I read about such options?

Since I was waiting for a reply on this matter I started compiling my own KDE 3.3.2 at 686, because SuSE 9.2 comes with 3.3.0(patched). The kdelibs and kdenetwork managed well, but I have run into this error on kdeaddons and kdebase:
Code:
ERROR: suse_update_desktop_file: unable to read
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.33485 (%install)

RPM build errors:
    Unknown option ? in verify_permissions(:-:)
    Unknown option ? in verify_permissions(:-:)
    Unknown option ? in verify_permissions(:-:)
    Bad exit status from /var/tmp/rpm-tmp.33485 (%install)
I am unsure what this indicates because after reading the changelog in kdeaddons it indicates that the suse_update_desktop_file problem was corrected. Any ideas?
 
Old 04-15-2005, 11:49 PM   #4
piscikeeper
Member
 
Registered: Jul 2003
Location: indiana,usa
Distribution: SuSE 11,Slack,Mint
Posts: 425

Rep: Reputation: 30
if you compile it you can avoid little issues like having to fix the system notifications......
 
Old 04-16-2005, 02:28 AM   #5
SpEcIeS
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu 9.04 AMD64
Posts: 229

Original Poster
Rep: Reputation: 30
Well rjlee, I took into consideration what you indicated about compiling my kernel, and applied it. At first I lost my system, but it was recovered with my linux rescue disk. I recompiled the kernel a second time, but not making the modules and it seems to run really well now. However a couple of modules did not compile properly, and require some attention later.

Thanks for you input on this, it really helped me look at my kernel. It was running at 586 when my processor is an AMD Duron 950Mhz.

Thanks again.
 
Old 04-16-2005, 05:37 AM   #6
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
You can see the full list of compiler options in the gcc manpage
Code:
man gcc
.

It's not unusual for some experimental options to generate code that won't run, but the compile will usually succeed.

When a kernel module fails to compile, the first thing to try is re-issuing the make command. If that works, then you probably have a fault in your RAM or cache memory (which caused the original build to fail). This is because gcc uses lots of pointers internally, and so is very prone to fail if even one bit gets flipped.

If you still have problems compiling a module, then make sure that you ran make mrproper before compiling, otherwise please post specific details of the problem in a new thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kde 3.4.1 with gcc 4.0.0 blood_omen Slackware 3 06-25-2005 11:51 AM
Compiling KDE 3.3 dyermaker_yamar Linux - Software 3 11-05-2004 01:08 PM
Compiling KDE 3.2.1 galvedro Linux - Software 0 04-01-2004 04:29 AM
compiling kde. tiger7007 Linux - General 3 03-29-2004 03:20 AM
Compiling KDE 3.1 cmckay Linux - General 0 02-18-2003 01:54 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration