Web-based Linux User Management

Home  

 


  Create an account

Search


[x]  
 
 [x]
Categories Menu
· All Categories
· Commands
· Distro News
· General
· Link of the Week
· Linux Jobs
· Security
· Software
· Tips

 
Navigation
 
User Info
Welcome, Anonymous

Username:
Password:

(Register)

Membership:
Latest: hiobgiou
New Today: 0
New Yesterday: 0
Overall: 225

People Online:
Visitors: 2
Members: 0
Total: 2

 
hacker Beware
You have been warned!
We have caught 1459 shameful hackers.

NukeSentinel(tm) 2.5.14

 
Hot Downloads
 
  
Maysville Linux Users Group (MLUG) - Linux Users Helping Linux Users: Forums

MLUG :: View topic - sabayon / gentoo kdelibs fails along with all kde packages
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


sabayon / gentoo kdelibs fails along with all kde packages

 
Post new topic   Reply to topic    MLUG Forum Index -> Help Requests
View previous topic :: View next topic  
Author Message
ewiget
Site Admin
Site Admin


Joined: Aug 13, 2004
Posts: 335
Location: Maysville, KY

PostPosted: Thu Dec 14, 2006 6:59 am    Post subject: sabayon / gentoo kdelibs fails along with all kde packages Reply with quote

I had a problem with kdelibs compiling on sabayon linux. kdelibs must be build using qt-3* and not qt-4* The normal method of fixing this is this command:

Code:

USE="qt3" emerge kdelibs
which specifies to use the qt3 and not qt4 when emerging kdelibs. But it would always fail. You might want to read how I got to this to begin with by reading this post: http://www.maysville-linux-users-group.org/ftopict-166.html#376

No matter what I did, I couldn't get kde packages to compile even after rebuilding kdelibs with the qt3 use flag. I finally had to take some major steps to get this working, which then failed, but I will show you what I did anyways cause it comes in handy.

Since kde was so messed up and so was gnome (see link above), and I had also messed up being able to do a ctrl+alt+F1 to get to a console once I was in a gui, the system was pretty close to a reinstall, except....It would drive me nuts to not find a resolution. So for a few days I was using xfce4 which was still working and trying different things to fix the problem. After 4 days and still little progress, I decided to take some drastic measures and simply remove kde and start over. These commands will pretty much do just that:

Code:

equery -C l | grep 'kdebase/' > packages.txt
equery -C l | grep 'kde-misc/' >> packages.txt
equery -C l | grep -i 'qt' >> packages.txt
emerge -avC 'cat packages.txt'




What the first one does is lists all of the packages installed in the kdebase/ directory of /usr/portage and add that list to packages.txt

The second does the same thing for kde-misc but appends the results (adds to) packages.txt

The third does the same thing for any package with 'qt' in its name, such as qt-3* or qt-4* or qtopia-desktop-bin and appends the results to packages.txt

The forth one takes packages.txt and feeds the results to emerge using the -avC option

'a' is ask if its o.k to do this



'v' is show verbose output



'C' is remove

So, basically what the above commands do is create a list of packages installed matching those equery commands and add them to a packages.txt file. While the last emerge command removes them all.

So, once that was done. I then manually emerge qt-3 using this command:



Code:

emerge -v =qt-3*





This emerged the latest version of qt-3

Then I manually emerged kdelibs using this command:



Code:

emerge -v kdelibs





And it seemed to complete successfully and it should be built using qt-3 since qt-4 is not even installed. However, I was still having problems with kde packages when running revdep-rebuild again.  I noticed also that some of the requirements were for libdbus-qt-1.1.a.

I also noticed during one of the other packages being emerged in the revdep command from the link posted near the top of this post, was a message saying something like "you have both qt3 and qt4 options enabled, you will also need qt3support enabled for qt4.

So, what I had to do to fix all of these errors was add qt3support to the /etc/make.conf USE flags section:

Code:

ufed




will open the USE manager, just simply press q to take you down to the q use flags, scroll down to qt3support and press the space bar.  Then press the enter key twice.  If you don't have ufed, emerge ufed



The other option would be to edit the /etc/make.conf with your favorite editor and manually add qt3support to the use flags section and save it.



and re-emerge qt4 when done.

Code:

emerge -uvND qt
Then do the revdep-rebuild again, and the libdbus-qt-1.1.a error is still there.  I found out this is included in the dbus-qt3-old package, so emerge it too:

Code:

emerge dbus-qt3-old












This then allowed kde packages to emerge without errors.


















_________________
Ed Wiget
RHP Studios
Keeping Your Data Safe!
606-759-1175
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.edwiget.name
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=162711

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ewiget
Site Admin
Site Admin


Joined: Aug 13, 2004
Posts: 335
Location: Maysville, KY

PostPosted: Sun Dec 17, 2006 4:53 am    Post subject: Reply with quote

the text editor integration into these forums isn't worth ten cents (post above and its formatting changes after I edit the post and resave it - tired of trying to fix it)

Anyways - when emerging kopete, if you get an error about libcricket - this is caused by the kdeenbablefinal USE flag being used in conjunction with the jingle USE flag with kopete. The fix is to edit the /etc/portage/package.use flag and add this line below (I added line breaks but this should all be on one line to work):



Code:

kde-base/kopete addbookmarks alias autoreplace connectionstatus
contactnotes gadu groupwise highlight history jingle netmeeting
nowlistening sametime texteffect translator webpresence winpopup
yahoo statistics irc -kdeenablefinal

There is also a Gentoo Bug concerning this


_________________
Ed Wiget
RHP Studios
Keeping Your Data Safe!
606-759-1175
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.edwiget.name
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=162711
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    MLUG Forum Index -> Help Requests All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Forums ©

 
All content Copyright 2000 - 2008, Maysville Linux Users Group unless otherwise credited.
All Rights Reserved!
The opinions expressed by visitors to this web site are their own and not necessarily the opinions of the MLUG!


Web site powered by PHP-Nuke Web site powered by PHP-Nuke-NIP-76.0

You can syndicate our news using the file backend.php or ultramode.txt