Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trying to install kde
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Sun Feb 02, 2003 3:04 pm    Post subject: trying to install kde Reply with quote

So everything is happily up and running now in run level 3. I'm ready to build my window manager environment, but when I "emerge -p kde" it fails with the following message:

Code:
kaynine root # emerge -p kdebase

These are the packages that I would merge, in order:

Calculating dependencies \
!!! all ebuilds that could satisfy "~kde-base/kdelibs-3.1" have been masked.
!!!    (dependency required by "kde-base/kdebase-3.1" [ebuild])

!!! Error calculating dependancies. Please correct.


Any ideas whats going on? I get something similar with gnome as well:

Code:
kaynine root # emerge -p gnome

These are the packages that I would merge, in order:

Calculating dependencies /
!!! all ebuilds that could satisfy "~media-sound/alsa-driver-0.9.0_rc5" have been masked.
!!!    (dependency required by "media-libs/alsa-lib-0.9.0_rc5" [ebuild])

!!! Error calculating dependancies. Please correct.


I don't quite understand the emerge system yet (read the help section on it a little bit so far)
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Sun Feb 02, 2003 4:01 pm    Post subject: Reply with quote

Did you add the ~sparc keyword to your make.conf? Gnome and KDE are still considered experimental packages, so you have to add the keyword to unmask them.
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Sun Feb 02, 2003 5:56 pm    Post subject: Reply with quote

Yes I did....

Is there anyway to see what the depenancies are that are failing?
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Sun Feb 02, 2003 8:43 pm    Post subject: Reply with quote

You might need to remove the mask lines for kdebase-3.1-r1 and kde-libs-3.1-r1, as well as arts-1.1.0 from /usr/portage/profiles/package.mask in order to use the newer KDE 3.1 as well.


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Sun Feb 02, 2003 9:42 pm    Post subject: Reply with quote

You might need to do an emerge rsync since the KDE 3.1 ebuild files were updated very recently with the ~sparc keyword. It's odd that gnome is masked for you though because I emerged gnome without any problems as long as I had ~sparc added to the ACCEPT_KEYWORDS variable in make.conf.
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Sun Feb 02, 2003 11:39 pm    Post subject: Reply with quote

Okay,
I manged to figure out that an "emerge qt" worked, so I'm waiting for that to compile. Seems to be taking most of the day so far (and still going) So when thats done, I'll do an rsync and see whats going on as far as denpancies.

It looks as if I can do a emerge arts as well as the --pretend options shows it will install these:
Calculating dependencies ...done!
[ebuild N ] x11-libs/xft-2.0.1-r1
[ebuild N ] x11-libs/qt-3.1.0-r3
[ebuild N ] kde-base/kde-env-3-r2
[ebuild N ] kde-base/arts-1.1.0
:-/
What else the rest of kde is dependant on I haven't the slightest clue...
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Feb 03, 2003 2:35 am    Post subject: Reply with quote

I'm stumped. Does anyone have any ideas what might be going on?

Code:

kaynine profiles # head package.mask
#####################################################################
#When you add an entry to this file, add your name, the date, and an
#explanation of why something is getting masked
#
# NOTE: Please add your entry at the top!
#

##
##  This is an example
##
kaynine profiles # head package.mask > package.mask.new
kaynine profiles # mv package.mask.new package.mask
kaynine profiles # emerge -p kde

These are the packages that I would merge, in order:

Calculating dependencies -
!!! all ebuilds that could satisfy "~kde-base/kdelibs-3.1" have been masked.
!!!    (dependency required by "kde-base/kdebase-3.1" [ebuild])

!!! Error calculating dependancies. Please correct.


I have ~sparc in the ACCEPT_KEYWORDS too.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Mon Feb 03, 2003 9:21 am    Post subject: Reply with quote

First, instead of trying to merge the entire KDE suite, try only the minimal install by issuing "emerge -p kdebase".

At minimum, that needs kdebase-3.1-r1 and kdelibs-3.1-r1. arts-1.1.0 plus any other dependencies it looks like already merge.

The kdebase is by far the most minimalistic you can get with KDE, and on my sun blade, it still took close to 18-24 hours to build, although this did have factored in the Qt-3.1.1 package (You'll probably get Qt-3.1.0, I had to tweak 3.1.1 a bit to compile it).


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Feb 03, 2003 1:41 pm    Post subject: Reply with quote

Even an "emerge kdebase" yields the same exact errors. Trying to "emerge kdelibs" shows that it can't satisfy the depenancies for alsa-driver, and trying to emerge alsa-driver just says it can't satsify the dependacies for itself. I looked at the ebuild for it and it doesn't look as if there is anything there that I don't already have....
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Feb 03, 2003 1:49 pm    Post subject: Reply with quote

Ahhh, well, I removed alsa from my USE variable in make.conf. emerge kdebase still failed complaining about dependancies failing for kdelibs, but doing an "emerge kdelibs" seems to have worked now. So I have begun the installation process for those now. I fear now that I may not have sound. Do you need Alsa for kde sounds to work?
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Mon Feb 03, 2003 5:00 pm    Post subject: Reply with quote

If you built the modules for sparc audio, you should be able to get sound. I'm not sure if it works with arts in KDE, but the audio driver built with the kernel plays mp3s with XMMS and it works with ESD in gnome.
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Feb 03, 2003 6:17 pm    Post subject: Reply with quote

okay. yeah, I know the kernel sound modules work... they load happy and stuff on kernel boot. I was able to emerge arts as well, so maybe I'll be alright. Not exactly sure what alsa does. I kinda thought it was some sound deamon thing for kde.
Back to top
View user's profile Send private message
calmtom
n00b
n00b


Joined: 03 Jan 2003
Posts: 19

PostPosted: Mon Feb 03, 2003 6:49 pm    Post subject: Reply with quote

Alsa is just an alternate set of soundcard drivers. Most x86 machines running linux migrated to alsa because OSS development had stopped. If you can get sound out of your sparc, you don't need to compile alsa.
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Mon Feb 03, 2003 6:55 pm    Post subject: Reply with quote

very cool. Thank you for your help. ;)
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Tue Feb 04, 2003 1:52 pm    Post subject: Reply with quote

Okay, this is getting crazy. So after waiting all night, I find that my system finally finished compiling the kdelibs source, and all its dependancies. So now, at the prompt I type:

# emerge kdebase

Only to get that darn message "all ebuild that could satisfy ~kde-base/kdelibs-3.1" have been masked (dependancy required by ~kde-base/kdebase-3.1 [ebuild])"

I already have kdelibs installed. I can't figure out for the life of me why its saying that. I've done an emerge sync, and I still have the same problem. doing an emerge -p kdelibs after the sync only shows it as already installed and up to date. Does anyone have any idea how I can tell what dependancy its failing on?
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Wed Feb 05, 2003 12:14 am    Post subject: Reply with quote

Try merging arts, or Qt.

Basically, to hunt down dependencies, look at the kdebase ebuild, look at the DEPEND= section. For every package you see there, find the ebuild of the latest version of that package and look at it. Does it have "~sparc" or "sparc" in it's keywords? Is it masked in the package.mask file?

Do this for each package, eventually, you should have determined which packages are blocking you. I'm sure there is an easier way, perhaps by using qpkg, and maybe a future addition to portage wouldn't die when it encounters a masked package, but rather still shows the list and shows what is masked.

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Wed Feb 05, 2003 2:49 am    Post subject: Reply with quote

I did this.

I figured out what was happening.

If I did an emerge -s kdebase, it would show that it could install kdebase-3.1

If I did an emerge -s kdelibs, it showed that it would only install kdelibs-3.1_rc6. I checked in the kdelibs ebuild directory and verfied that the kdelibs-3.1.ebuild existed, and it had the ~sparc keyword. I just couldn't get it to install. 3.1 for the life of me. I ended up doing the following to reslove it.

# ACCEPT_KEYWORDS='x86' emerge -p kde

which showed all the dependancies. I then made sure each of those had a ~sparc entry in it (which it did) and then ran the command without the pretend option to start the build. Its still going. I have no idea why the lib version problem was happening.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Wed Feb 05, 2003 6:44 am    Post subject: Reply with quote

Actually, kdebase-3.1-r1 and kdelibs-3.1-r1 are out, I would merge those instead of the original 3.1's. Not sure what the bugfix is that required -r1 packages, but they appeared about a day after the originals, so they musta fixed something.

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Wed Feb 05, 2003 3:40 pm    Post subject: Reply with quote

Hrmmm, interesting, nowhere in /usr/portage/kde-base/* can I find any ebuild that mention an -r1 tag. :? Oh well.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Wed Feb 05, 2003 6:46 pm    Post subject: Reply with quote

Well.....

Code:
> ls -l /usr/portage/kde-base/kdebase/
total 96K
-rw-r--r--    1 root     root          10K Feb  1 15:52 ChangeLog
drwxr-xr-x   17 root     root         4.0K Feb  4 19:53 files/
-rw-r--r--    1 root     root         2.7K Jan 30 14:55 kdebase-2.2.2-r3.ebuild
-rw-r--r--    1 root     root         2.9K Feb  1 14:22 kdebase-2.2.2-r4.ebuild
-rw-r--r--    1 root     root         3.3K Dec  8 23:25 kdebase-3.0.2.ebuild
-rw-r--r--    1 root     root         3.3K Nov 29 20:46 kdebase-3.0.3-r1.ebuild
-rw-r--r--    1 root     root         3.2K Nov 29 20:43 kdebase-3.0.3.ebuild
-rw-r--r--    1 root     root         4.8K Jan 30 14:55 kdebase-3.0.4-r2.ebuild
-rw-r--r--    1 root     root         4.6K Jan 30 14:55 kdebase-3.0.4-r3.ebuild
-rw-r--r--    1 root     root         4.0K Jan 30 14:55 kdebase-3.0.4.ebuild
-rw-r--r--    1 root     root         7.6K Jan 30 14:55 kdebase-3.0.5a-r1.ebuild
-rw-r--r--    1 root     root         8.3K Jan 31 15:22 kdebase-3.0.5a-r2.ebuild
-rw-r--r--    1 root     root         4.2K Feb  1 14:22 kdebase-3.0.5a.ebuild
--> -rw-r--r--    1 root     root         3.7K Jan 31 15:22 kdebase-3.1-r1.ebuild <--
-rw-r--r--    1 root     root         3.3K Feb  1 14:22 kdebase-3.1.ebuild
-rw-r--r--    1 root     root         3.3K Jan  8 16:53 kdebase-3.1_rc6.ebuild


And....

Code:
> ls -l /usr/portage/kde-base/kdelibs/
total 76K
-rw-r--r--    1 root     root         8.6K Feb  4 14:51 ChangeLog
drwxr-xr-x    2 root     root         4.0K Feb  4 14:51 files/
-rw-r--r--    1 root     root         2.1K Jan 30 14:55 kdelibs-2.2.2-r4.ebuild
-rw-r--r--    1 root     root         2.3K Feb  1 15:22 kdelibs-2.2.2a-r1.ebuild
-rw-r--r--    1 root     root         2.3K Jan 30 14:55 kdelibs-2.2.2a.ebuild
-rw-r--r--    1 root     root         2.3K Jan 30 14:55 kdelibs-3.0.2-r1.ebuild
-rw-r--r--    1 root     root         2.3K Jan 30 14:55 kdelibs-3.0.3-r1.ebuild
-rw-r--r--    1 root     root         2.1K Jan 30 14:55 kdelibs-3.0.3.ebuild
-rw-r--r--    1 root     root         2.3K Jan 30 14:55 kdelibs-3.0.3a.ebuild
-rw-r--r--    1 root     root         2.3K Jan  7 03:53 kdelibs-3.0.4-r1.ebuild
-rw-r--r--    1 root     root         2.2K Jan 30 14:55 kdelibs-3.0.4.ebuild
-rw-r--r--    1 root     root         2.2K Jan 31 15:22 kdelibs-3.0.5a-r1.ebuild
-rw-r--r--    1 root     root         2.2K Feb  1 15:22 kdelibs-3.0.5a.ebuild
--> -rw-r--r--    1 root     root         2.2K Jan 31 15:22 kdelibs-3.1-r1.ebuild <--
-rw-r--r--    1 root     root         2.2K Feb  4 14:26 kdelibs-3.1-r2.ebuild
-rw-r--r--    1 root     root         2.2K Feb  1 15:22 kdelibs-3.1.ebuild
-rw-r--r--    1 root     root         2.2K Jan 30 14:55 kdelibs-3.1_rc6.ebuild



So I'd say they exist....Might want to rsync your tree just to double check. Although, with there being a kdelibs-3.1-r2 now, I'd expect a kdebase-3.1-r2 as well, so it looks like I'll be recompiling everything shortly as well.

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Wed Feb 05, 2003 7:11 pm    Post subject: Reply with quote

hrmm, yes, you are deffinately correct, now for more fun, and the more I play with this, the more I'm convinced I found a bug.

The r1 files are there (as well as the r2 for libs)....but...

Code:

kaynine root # emerge -p /usr/portage/kde-base/kdebase/kdebase-3.1-r1.ebuild

These are the packages that I would merge, in order:

Calculating dependencies \
!!! all ebuilds that could satisfy "=kde-base/kdelibs-3.1-r1" have been masked.
!!!    (dependency required by "kde-base/kdebase-3.1-r1" [ebuild])

!!! Error calculating dependancies. Please correct.


However,

Code:

emerge -p /usr/portage/kde-base/kdelibs/kdelibs-3.1-r1.ebuild

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] kde-base/kdelibs-3.1-r1


Code:

emerge -s kdelibs
Searching...
[ Results for search key : kdelibs ]
  kde-base/kdelibs
      Latest version available: 3.1_rc6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 10,124 kB
      Homepage:    http//www.kde.org/
      Description: KDE libraries needed by all kde programs


Its only finding the kdelibs package for 3.1_rc6 or lower, and I can't figure out why, it doesn't even show the newer ones being masked (all the permissions are good)

I'm not sure why its doing that. Any ideas?
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Thu Feb 06, 2003 4:49 am    Post subject: Reply with quote

It's not a bug, it's just KDE has a long list of dependencies. If even one of these dependencies are masked, the whole thing dies and tells you as such, this is why I'd like --pretend (-p) to still output the ebuilds in the colored format, but create a new letter field for masked ebuilds, something like this:

Quote:
[ebuild  MU ] kde-base/kdelibs-3.1-r1 [3.1-r0] [Masked]


I think that would be more viable output regarding masked packages. You'll just have to trace the dependency tree, much I will have to do when I decide to rebuild kdelibs, and kdebase again.

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Thu Feb 06, 2003 1:43 pm    Post subject: Reply with quote

That is a good idea.... about that masking thing.

The thing that is wierd about the whole dependancy though is that ebuild says it can't resolve the dependancies for kdelibs-3.1 when I try to install kdebase. So when I do a --pretend on the actual kdelibs-3.1.ebuild file (or r1 for that matter) it says it will install fine, and can resolve all dependancies. Thats whats confusing me.
Back to top
View user's profile Send private message
mrgalihad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 91

PostPosted: Thu Feb 06, 2003 4:30 pm    Post subject: Reply with quote

Well, good news sort of....

I ran an emerge -u system and world last night. That ended up upgrading my version of X. After a reboot this morning, I can no longer get into X, as my config is broken, and I ran XFree86 -configure and the initial file works fine, but I can't get it to go to any resultion highter than 640-480 :( But that's off topic of this thread... Anway

In an attempt to see if another version of X was out, I noticed that a new version of portage was released, upgrading portage seemed to have fixed my kde emerge problems, as doing an emerge -p kde finally show all the proper packings that it would install.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Thu Feb 06, 2003 11:28 pm    Post subject: Reply with quote

I assume you're refering to Xfree-4.2.99.4? I had problems with that as well. It was sending wrong "hsync" values to my monitor. Try going back to 4.2.1-rX and see if that helps.

No idea what causes this, thankfully my monitor protects itself from bad hsync ranges. Maybe another release of 4.2.99.4 or higher will fix this in the future.

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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