Kodi Community Forum

Full Version: error with apt-get build-dep xbmc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
with maverick live cd v.2, after new install

it worked always with:

add-apt-repository ppa:team-xbmc-svn/ppa
apt-get update
apt-get build-dep xbmc

what's wrong?


Code:
root@XBMCLive:~# apt-get build-dep xbmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libglew1.5-dev' instead of 'libglew-dev'
Note, selecting 'libjpeg62-dev' instead of 'libjpeg-dev'
Note, selecting 'libsamplerate0-dev' instead of 'libsamplerate-dev'
Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
Note, selecting 'libasound2-dev' instead of 'libasound-dev'
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
The following packages have unmet dependencies:
libfreetype6-dev : Depends: libfreetype6 (= 2.4.2-2ubuntu0.1) but 2.4.4-1~maverick2 is to be installed
libgl1-mesa-dev : Depends: mesa-common-dev (= 7.9~git20100924-0ubuntu2) but it is not going to be installed
                   Depends: libgl1-mesa-glx (= 7.9~git20100924-0ubuntu2) but 7.10.1-0ubuntu3~maverick1 is to be installed
libglu1-mesa-dev : Depends: libglu1-mesa (= 7.9~git20100924-0ubuntu2) but 7.10.1-0ubuntu3~maverick1 is to be installed
libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.2-1ubuntu0.1) but 3.7.4-2~maverick1 is to be installed
E: Build-dependencies for xbmc could not be satisfied.
you need to run apt-get upgrade aswell before build-dep cmd.

-gob
Code:
root@XBMCLive:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code:
root@XBMCLive:~# apt-get update
.......
........
Hit http://archive.ubuntu.com maverick-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse i386 Packages
Reading package lists... Done
root@XBMCLive:~#

Code:
root@XBMCLive:~# apt-get build-dep xbmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libglew1.5-dev' instead of 'libglew-dev'
Note, selecting 'libjpeg62-dev' instead of 'libjpeg-dev'
Note, selecting 'libsamplerate0-dev' instead of 'libsamplerate-dev'
Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
Note, selecting 'libasound2-dev' instead of 'libasound-dev'
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
The following packages have unmet dependencies:
libfreetype6-dev : Depends: libfreetype6 (= 2.4.2-2ubuntu0.1) but 2.4.4-1~maverick2 is to be installed
libgl1-mesa-dev : Depends: mesa-common-dev (= 7.9~git20100924-0ubuntu2) but it is not going to be installed
                   Depends: libgl1-mesa-glx (= 7.9~git20100924-0ubuntu2) but 7.10.1-0ubuntu3~maverick1 is to be installed
libglu1-mesa-dev : Depends: libglu1-mesa (= 7.9~git20100924-0ubuntu2) but 7.10.1-0ubuntu3~maverick1 is to be installed
libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.2-1ubuntu0.1) but 3.7.4-2~maverick1 is to be installed
E: Build-dependencies for xbmc could not be satisfied.
root@XBMCLive:~#


same errors...
Ah now i see whats wrong. The dependencies that is needed is out of date, probobly lucid versions. And they are updated in maveric so they are to new. But dont think thats the problem.

Lets try something else! Its abit experimental thou and just an idea!

open /etc/apt/sources.list.d/(xbmc-file) dont remember the name of the xbmc ppa file.

open it and change where it says maveric to lucid

then apt-get update && apt-get upgrade

and then try build-dep

Just a sidenote, apt-get update should be run before upgrade. As update fetches the new package lists and upgrade upgrades any packages with new versions. =)

Try this and see if it works!

-rog
Otherwise just use svn to get xbmc code for compilation and install the dependecies manually. =) always works

-gob
there is no lucid in any sources.list.d files

content of xbmc.list.list:
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ maverick main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ maverick main
ok, "maverick" with lucid replaced, same result
After doing apt-get update and upgrade?

then im out of ideas need to sit in front of a system to try myself, but at work atm =)

Then SVN for the sourcecode and manually install dependencies with apt-get install.

-gob
ok thx Wink
I had this issue as well. I found that if you use the svn ppa, build-dep doesn't work, but it does with the stable ppa. Try that.

You can also just read README.ubuntu and it gives you the command to install the packages you need to compile.
Please read how-to compile xbmc on linux.

h.udo