0

After getting vlc-2.0.3tar.gz I extracted it and then tried the ./install, but it gave me an error. Then i did ./configure and got this..

configure: error: No package 'dbus-1' found.

Then tried this:

apt-get install dbus-1

But I got this:

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

What do I do next?

SirCharlo
  • 40,096
mohit
  • 21

3 Answers3

1

The two problems are separate.

The second problem means that there is an instance of another package related software running -- for example an update. Try ps -eaf | grep apt or ps -eaf | grep dpkg. If you really get stuck, try restarting the computer (yeah, this is not the canonical way of solving things, but might be the easiest one).

As for the first problem, why are you trying to compile and install it from the tar.gz archive? Look here, it is possible to install it using a Ubuntu package.

January
  • 37,208
0

To install dbus development libraries, try this:

sudo apt-get install libdbus-1-dev

That said, I also think that you should simply install the Ubuntu-provided VLC (2.0.1 for Ubuntu 12.04):

sudo apt-get install vlc

However if you prefer to install from the tar.gz, please see this related answer:

How do I install a .tar.gz (or .tar.bz2) file?

roadmr
  • 34,802
0

ctrl+alt+t

sudo apt-get build-dep vlc

Tachyons
  • 17,455