[LINUX] Cannot build-dep
#1
I use Ubuntu 10.04 (Lucid). I try to compile xbmc from source code but I cannot get all build dependencies.I following the instruction on README.ubuntu, error occur on command "sudo apt-get build-dep xbmc".

Quote: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.
libcurl4-gnutls-dev: Depends: libldap2-dev but it is not going to be installed
libsmbclient-dev: Depends: libsmbclient (= 2:3.4.7~dfsg-1ubuntu3) but 2:3.4.7~dfsg-1ubuntu3.1 is to be installed
E: Build-dependencies for xbmc could not be satisfied.

After I try to install libldap2-dev, some error occur
Quote:Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
libldap2-dev: Depends: libldap-2.4-2 (= 2.4.21-0ubuntu5) but 2.4.21-0ubuntu5.3 is to be installed
E: Broken packages

Help me to fix its, please.
Reply
#2
it seems your repositories are not up2date.
Try 'sudo apt-get update' before.
Reply
#3
I run command 'sudo apt-get update' before I do it. Thanks for the warning.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Cannot build-dep0