apt-get build-dep mplayer, without removing DRI
Hi Christian, hi All
On a Powerbook5,8:
Please note that with the official Debian repositories in the
sources.list a build-dep for mplayer does not work at all:
------------------
# apt-get build-dep mplayer
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Build-dependencies for mplayer could not be satisfied
-----------------
So I wrote http://debian.netcologne.de/debian-multimedia.org to apt
sources.list to make the following work (I attach
/etc/apt/sources.list, just in case i messed that up ..)
So all the following is valid for having
http://debian.netcologne.de/debian-multimedia.org in the sources.list
Now:
When trying to install the necessary packages to be able to
compile mplayer (apt-get build-dep mplayer), apt-get wants
libgl1-mesa-swx11 and libgl1-mesa-swx11-dev getting installed and
libgl1-mesa-dri and libgl1-mesa-glx to be removed.
The removal of the latter 2 packages seems a bad idea, as it will
remove direct rendering on my machine, thus making the system slow -
provided I understood things correctly.
The most usable hints I got, about what is wrong, was when i tried to
install libgl1-mesa-swx11 directly (the following output slightly
edited for better readability):
----------------
# dpkg -i libgl1-mesa-swx11_7.0.3-6_powerpc.deb
dpkg: regarding libgl1-mesa-swx11_7.0.3-6_powerpc.deb containing
libgl1-mesa-swx11:
libgl1-mesa-swx11 conflicts with libgl1
libgl1-mesa-glx provides libgl1 and is present and installed.
----------------
Problem seems to be the link /usr/lib/libGL.so.1, which is installed
by both libgl1-mesa-swx11 and libgl1-mesa-glx.
I found a trick how to keep libgl1-mesa-dri and libgl1-mesa-glx while
installing the dependencies for mplayer. It seems a little weird and
unsafe to me, so I refrained from actually using it so far:
--------------------
# dpkg -i libgl1-mesa-swx11-dev_7.0.3-6_powerpc.deb
Selecting previously deselected package libgl1-mesa-swx11-dev.
(Reading database ... 113067 files and directories currently installed.)
Unpacking libgl1-mesa-swx11-dev (from libgl1-mesa-swx11-dev_7.0.3-6_powerpc.deb) ...
dpkg: dependency problems prevent configuration of libgl1-mesa-swx11-dev:
libgl1-mesa-swx11-dev depends on libgl1-mesa-swx11 (= 7.0.3-6); however:
Package libgl1-mesa-swx11 is not installed.
libgl1-mesa-swx11-dev depends on libx11-dev; however:
Package libx11-dev is not installed.
libgl1-mesa-swx11-dev depends on mesa-common-dev (= 7.0.3-6); however:
Package mesa-common-dev is not installed.
dpkg: error processing libgl1-mesa-swx11-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgl1-mesa-swx11-dev
---------------------
After that the system reports libgl1-mesa-swx11-dev being installed:
----------------
$ apt-cache policy libgl1-mesa-swx11-dev
libgl1-mesa-swx11-dev:
Installed: 7.0.3-6
Candidate: 7.0.3-6
[ ... ]
----------------
And now - when trying to build-dep mplayer - the install system does
not try to remove libgl1-mesa-dri and libgl1-mesa-glx, but
libgl1-mesa-swx11-dev instead:
--------------------------
# apt-get build-dep mplayer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libdv4-dev instead of libdv-dev
The following packages will be REMOVED:
libgl1-mesa-swx11-dev
The following NEW packages will be installed:
ccache cpp-4.2 diffstat em8300-headers g++-4.2 gcc-4.2 ladspa-sdk libaa1-dev
libamrnb-dev libamrwb-dev libartsc0-dev libasound2-dev libatk1.0-dev
libaudio-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev
libcaca-dev libcairo2-dev libcdparanoia0-dev libdbus-1-dev libdirectfb-dev
libdts-dev libdv4-dev libdvdnav-dev libdvdread-dev libesd0-dev libexpat1-dev
libfaac-dev libfaad-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev
libggi-target-x libggi2 libggi2-dev libggimisc2 libggimisc2-dev libgif-dev
libgii1 libgii1-dev libgii1-target-x libgl1-mesa-dev libglib2.0-dev
libglu1-mesa-dev libgtk2.0-dev libice-dev libjack-dev libjpeg62-dev
liblircclient-dev liblircclient0 liblivemedia-dev liblzo2-dev libmad0-dev
libmp3lame-dev libmpcdec-dev libmpeg3-dev libncurses5-dev libogg-dev
libopenal-dev libopenal1 libpango1.0-dev libpixman-1-dev libpng12-dev
libpopt-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-browse0
libpulse-dev libpulse-mainloop-glib0 libsdl1.2-dev libslang2-dev libsm-dev
libsmbclient-dev libspeex-dev libstdc++6-4.2-dev libsysfs-dev libtheora-dev
libtwolame-dev libtwolame0 libungif4-dev libvorbis-dev libx11-dev
libx264-dev libxau-dev libxcb-render-util0-dev libxcb-render0-dev
libxcb-xlib0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxml2-utils libxrandr-dev libxrender-dev libxt-dev libxv-dev
libxvidcore4-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev mesa-common-dev
pkg-config quilt vstream-client-dev x11proto-composite-dev x11proto-core-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
x11proto-randr-dev x11proto-render-dev x11proto-video-dev x11proto-xext-dev
x11proto-xf86dga-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev
xtrans-dev zlib1g-dev
The following packages will be upgraded:
fontconfig-config libfontconfig1 libncurses5
3 upgraded, 126 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
Need to get 36.1MB of archives.
After this operation, 122MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
-------------------------------
Clearly: I don't get the above.
So how do I safely install the dependencies for mplayer without
removing DRI on my system?
Thanks in anticipation.
Best Regards
Wolfgang
--
heelsbroke.blogspot.com
# deb file:/root debs/
# deb-src file:/root debs/
# deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/
# deb-src http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/
deb http://debian.netcologne.de/debian-multimedia.org unstable main
deb-src http://debian.netcologne.de/debian-multimedia.org unstable main
#deb http://debian.usefulinc.com/gnome/ ./
#deb-src http://debian.usefulinc.com/gnome ./
#deb http://people.debian.org/~filippo/packages/ ./
#deb-src http://people.debian.org/~filippo/packages/ ./
#deb http://bluez.sourceforge.net/download/debian/ ./
#deb-src http://bluez.sourceforge.net/download/debian/ ./
#deb http://debian.fastweb.it/debian unstable main contrib non-free
#deb-src http://debian.fastweb.it/debian unstable main contrib non-free
#deb http://ftp-stud.fht-esslingen.de/debian/ unstable main contrib non-free
#deb-src http://ftp-stud.fht-esslingen.de/debian/ unstable main contrib non-free
deb http://mirror.switch.ch/ftp/mirror/debian/ unstable main contrib non-free
deb-src http://mirror.switch.ch/ftp/mirror/debian/ unstable main contrib non-free
#deb http://www.lxtec.de/debarchiv binary-powerpc/
#deb-src http://www.lxtec.de/debarchiv sources/
# already has entered Debian:
#deb http://www.lxtec.de/debarchiv unstable main non-free
#deb-src http://www.lxtec.de/debarchiv unstable main non-free
###################
#deb http://snapshot.debian.net/archive pool qt-copy
#deb-src http://snapshot.debian.net/archive pool qt-copy
#deb http://snapshot.debian.net/archive pool qt-x11-free
#deb-src http://snapshot.debian.net/archive pool qt-x11-free
#####################
deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main
################################################
## Opera:
deb http://deb.opera.com/opera unstable non-free
################################################
Reply to: