View previous topic :: View next topic |
Author |
Message |
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Sun Apr 08, 2007 5:53 pm Post subject: Circular dependency sdl and directfb |
|
|
Hi
Directfb and sdl are having use flags for each other and enbling them creates a circular dependency.
So if someone wants directfb support in sdl and sdl support in directfb how to do this?
Thnx |
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Sun Apr 08, 2007 5:58 pm Post subject: |
|
|
dare to explain this with an output of emerge -pv <ebuild> |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Sun Apr 08, 2007 6:10 pm Post subject: |
|
|
Sry, should have put tat there in the first place here it is
Code: | Gentoo / # emerge -pv DirectFB libsdl
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge ] dev-libs/DirectFB-0.9.25.1 USE="gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fbcon -fusion -sysfs -v4l -v4l2"
[ebuild N ] media-libs/libsdl-1.2.11 USE="X alsa arts directfb opengl xv -aalib -dga -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -oss -svga -xinerama"
[ebuild N ] dev-libs/DirectFB-0.9.25.1 USE="gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fbcon -fusion -sysfs -v4l -v4l2"
!!! Error: circular dependencies:
('ebuild', '/', 'dev-libs/DirectFB-0.9.25.1', 'merge') depends on
('ebuild', '/', 'media-libs/libsdl-1.2.11', 'merge') (hard)
('ebuild', '/', 'media-libs/libsdl-1.2.11', 'merge') depends on
('ebuild', '/', 'dev-libs/DirectFB-0.9.25.1', 'merge') (hard)
!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.
|
|
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Sun Apr 08, 2007 6:20 pm Post subject: |
|
|
K, difficult to tell 4me, cause i already have emerged both since long.
what gives
Code: |
USE="-directfb" emerge -pv libsdl
|
would that work? emerge.
we will see what happens later on then. |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Sun Apr 08, 2007 6:27 pm Post subject: |
|
|
Yea if i disable either dirctfb use flag in sdl
sdl use flsg in directfb then its working.
but the whole point is if the use flags r given then tat means to have support for it it has to be enabled
So if someone wants sdl support in directfb and
directfb support in sdl
then wat to do?
May a bug has to be filed, i am not sure though about it!! |
|
Back to top |
|
|
SoylentGreen l33t
Joined: 19 Aug 2005 Posts: 904 Location: The Hostel
|
Posted: Sun Apr 08, 2007 6:39 pm Post subject: |
|
|
did you have directfb and sdl USEflag in your make.conf in the first place? and if not did you run "emerge -upDv --newuse world" ? |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1009 Location: Hong Kong
|
Posted: Sun Apr 08, 2007 7:18 pm Post subject: |
|
|
Not in make.conf i enbled the use flags by using package.use
and this a brand new install, still i checked out
emegr -pvuDN world
but nothing needs updating. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sun Jul 08, 2007 5:50 am Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads, the same problem is discussed in topic "Problem with emerge -avNDu". |
|
Back to top |
|
|
|