LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE 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,994

Rep: Reputation: 76
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: Pennsylvania USA
Distribution: SuSE
Posts: 430

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,994

Rep: Reputation: 76
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration