On Mon, 5 Mar 2007 18:45:23 +0800, Mark David Dumlao wrote:

> I did an emerge --update --newuse world and it keeps trying to build
> gcc-3.3.4 and ends in errors.  Upon further inspection, I found that I
> already have gcc-4.1.1-r3.  Everything was working prior to that, and I
> couldn't understand why it kept asking for gcc-3.3.  I went through a
> whole lot of equeries and headbanging to find the package that wanted
> gcc-3.3. libstdc++ itself didn't seem to want it, but im not that good
> at reading ebuilds just yet.

Add --tree to the above emerge command.

> I checked the ebuild of virtual/libstdc++ and it gives me an  rdepends
> of  = gcc-3.3.*

The full depend is

RDEPEND="|| ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* )"

This means either =sys-libs/libstdc++-v3-3.3* or =sys-devel/gcc-3.3*. If
neither is installed the first listed will be used. this indicates that
you already have gcc-3.3* installed. If you have nothing that needs it
(very few packages fail to compile on 4.1 now), you can unmerge gcc-3.3
and the next emerge world will install sys-libs/libstdc++ instead.

equery list gcc will show you exactly which gcc packages you have
installed.


-- 
Neil Bothwick

Top Oxymorons Number 18: Taped live

Attachment: signature.asc
Description: PGP signature

Reply via email to