Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg dependencies (FIXED)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 8:51 pm    Post subject: xorg dependencies (FIXED) Reply with quote

Well, I unmerged xfree and did an emerge -p xorg-x11 and I noticed a couple of disturbing things. First of all, xft is determined as a blocker (I have truetype in my use flags). Even worse, xfree was identified as a dependency, as well as xterm. What's going on here? How should I continue?

Last edited by Plastic on Sat Apr 10, 2004 10:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 9:00 pm    Post subject: Reply with quote

You can always try to inject xfree to reduce dependencies problems, but that won't solve any blocks that xfree might cause.

And why do you have xft installed in the first place? xfree/xorg should handle that by itself.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:02 pm    Post subject: Reply with quote

really? I thought xft was neccesary for ttf fonts.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:06 pm    Post subject: Reply with quote

Unmerging xft solved problem #1, but injecting xfree makes it show up as a blocker.
Back to top
View user's profile Send private message
Skotlex
Guru
Guru


Joined: 13 Mar 2004
Posts: 300

PostPosted: Sat Apr 10, 2004 9:08 pm    Post subject: Reply with quote

Have a look at the ebuild (/usr/portage/x11-base/xorg-x11/xorg-x11-6.7.0.ebuild, unless there's something more recent) and you'll notice this is still VERY new. So it should come as no surprise it does not works perfectly yet.
Anyway, there is some mismatching here.. because the ebuild lists in their dependency section:
Code:

DEPEND=">=sys-apps/baselayout-1.8.3
        >=sys-libs/ncurses-5.1
        >=sys-libs/zlib-1.1.3-r2
        >=sys-devel/flex-2.5.4a-r5
        >=dev-libs/expat-1.95.3
        >=media-libs/freetype-2.1.4
        >=media-libs/fontconfig-2.1-r1
        >=x11-base/opengl-update-1.4
        >=x11-misc/ttmkfdir-3.0.4
        >=sys-apps/sed-4
        sys-apps/util-linux
        dev-lang/perl
        media-libs/libpng
        >=sys-apps/portage-2.0.50_pre9
        !virtual/xft
        !virtual/x11"
# x11-libs/xft -- blocked because of interference with xorg's

As you can see, xft is provided already.
You shouldn't have problems installing the dependencies of xorg-x11... I mean.. what dependency of the x-server could have the x-server as dependancy? That's a circular dependency issue O.o
I think you'll have to take a closer look at what's going on... no dependency of an x server should ask for an x-server itself...
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 9:10 pm    Post subject: Reply with quote

emerge -C xfree again, and post the output of emerge -p xorg-x11

It might be something in your virtuals file that is blocking.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:13 pm    Post subject: Reply with quote

But that's the problem xfree is listed I'm looking at it right now! (x11-base/xfree-4.3.0-r5)
Should I compile all of the deps individually and compile xorg with --nodeps?
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 9:18 pm    Post subject: Reply with quote

Replace xfree with xorg then :P

EDIT: In the virtuals file that is
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:23 pm    Post subject: Reply with quote

sorry, the computer's a bit isolated right now. The deps are
xorg-6.7.0
xfree-4.3.0-r5
utempter-0.5.3.2-r1
xterm-184
sorry I couldn't get a copy and paste.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:24 pm    Post subject: Reply with quote

virtuals file...? you mean the ebuild?
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 9:33 pm    Post subject: Reply with quote

If xfree is listed in the virtuals file (/var/cache/edb/virtuals), then you need to replace the lines where it's listed with xorg-x11 instead. emerging xorg should to that itself, but since xfree seems to block the install of xorg you have to edit it manually.

Last edited by 30726 on Sat Apr 10, 2004 10:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:35 pm    Post subject: Reply with quote

Well, the virtuals file doesn't mention xfree at all, but I'll try to add a xorg line...
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:39 pm    Post subject: Reply with quote

nope, didn't help at all. I'm surprised that I'm the only person whose had this problem...
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 9:59 pm    Post subject: Reply with quote

FIXED! merging right now.
I added these two lines to the virtuals file
Code:
virtuals/x11 x11-base/xorg-x11
virtuals/xft x11-base/xorg-x11

Thanks for pointing me to this file!
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 10:12 pm    Post subject: Reply with quote

Oh great. But you'll probably need to inject xfree later on anyways until other dependencies problems have been fixed. I've been reading on the forums about some ebuilds that ignore the virtuals file and tries to install xfree anyway.
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 10:14 pm    Post subject: Reply with quote

*gasps* in portage?
Yes, the first thing I did was inject xfree (that's what made the blockers). Thanks for your help anyway.
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 10:21 pm    Post subject: Reply with quote

Np :)

Check out https://forums.gentoo.org/viewtopic.php?t=158876&postdays=0&postorder=asc&start=0, (the post at the bottom) for an example of weird depencides problems.
Back to top
View user's profile Send private message
Blue Fox
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 216

PostPosted: Sat Apr 10, 2004 10:26 pm    Post subject: Reply with quote

Do we have ati drivers for it? Or any alternative..
_________________
"Never argue with and idiot cuz he bring you down to his level and beat you with experience"
Back to top
View user's profile Send private message
Plastic
l33t
l33t


Joined: 24 Mar 2004
Posts: 649

PostPosted: Sat Apr 10, 2004 10:34 pm    Post subject: Reply with quote

As said before, xorg forked off XFree86 4.4-RC2, so both ATI and nVidia drivers work with it.
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Sat Apr 10, 2004 11:14 pm    Post subject: Reply with quote

I'm running xorg right now. All I did was:

1) emerge --unmerge xfree
2) ACCEPT_KEYWORDS="~x86" emerge xorg-x11
3) etc-update
4) mv /etc/X11/XF86Config /etc/X11/xorg.conf

Everything works perfectly.

I checked my virtuals file and the lines listed above are already present (the xorg ebuild must have inserted them). However, some packages still want to install xfree so I had to manually inject it:

emerge -i x11-base/xfree-4.3.0-r5

I'm about to do an emerge --update world so I'll see how that goes.
Back to top
View user's profile Send private message
Blue Fox
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 216

PostPosted: Sat Apr 10, 2004 11:24 pm    Post subject: Reply with quote

But does portage recognizes that we don't need xfree as a dependency?
_________________
"Never argue with and idiot cuz he bring you down to his level and beat you with experience"
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Sat Apr 10, 2004 11:32 pm    Post subject: Reply with quote

Most of the time. Read what I wrote in a post above. The portage tree will surely be free of those kinds of errors as xorg gets more and more used.

I you're running a stable system, adding this line to /etc/portage/package.keywords *might* solve some of the dependencies problems (maybe portage sees xorg as masked and tries to downgrade somehow to xfree).

x11-base/xorg-x11 ~x86
Back to top
View user's profile Send private message
addi
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 112
Location: waterloo, on, canada

PostPosted: Sat Apr 10, 2004 11:34 pm    Post subject: Reply with quote

I'm glad that so many people are having luck building and installing xorg-x11, but a little confused as to why I'm having so much trouble, as listed in this thread.

Thoughts?
_________________
James Addison
http://www.pjsoft.ca
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Sun Apr 11, 2004 1:56 pm    Post subject: Reply with quote

I solved the same issue doing this simple step:

Code:
#emerge -O xft


This way you don't need to inject xfree.

Inject xfree isn't a real solution for me, because when you try emerge xft it show xorg-x11 as blocker and xfree as dependancy.

I guess it's just a matter of time to developers adjust the ebuilds dependencies now that everybody is migrating to xorg.

This solution isn't mine, i just found this in another thread.

cheers
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Sun Apr 11, 2004 2:06 pm    Post subject: Reply with quote

there is no need to inject xfree, nor is there a need to edit
your virtuals
after emerging xorg-x11, just do
Code:

emerge -uD world

and portage will take care of the rest for you
hth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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