Unsolved dependencies for build-dep pidgin

Asked by Sindhu S on 2009-09-24

Hi!

Am trying to code a plugin for Pidgin and am following instructions from the pidgin website : http://developer.pidgin.im/wiki/CHowTo/BasicPluginHowto which told me to do a "apt-get build-dep pidgin" but I can't seem to get all dependencies on further look up I found this:

sindhu@sindhu-eee:~$ sudo apt-get build-dep pidgin -o Debug::pkgProblemResolver=true
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting
Starting 2
Investigating libstartup-notification0-dev
Package libstartup-notification0-dev has broken dep on libstartup-notification0
  Considering libstartup-notification0 135 as a solution to libstartup-notification0-dev 9999
Investigating libsoup2.4-dev
Package libsoup2.4-dev has broken dep on libsoup2.4-1
  Considering libsoup2.4-1 89 as a solution to libsoup2.4-dev 2
  Holding Back libsoup2.4-dev rather than change libsoup2.4-1
Investigating libstartup-notification0-dev
Package libstartup-notification0-dev has broken dep on libstartup-notification0
  Considering libstartup-notification0 135 as a solution to libstartup-notification0-dev 9999
Investigating libedataserver1.2-dev
Package libedataserver1.2-dev has broken dep on libsoup2.4-dev
  Considering libsoup2.4-dev 2 as a solution to libedataserver1.2-dev 4
  Holding Back libedataserver1.2-dev rather than change libsoup2.4-dev
Investigating libebook1.2-dev
Package libebook1.2-dev has broken dep on libedataserver1.2-dev
  Considering libedataserver1.2-dev 4 as a solution to libebook1.2-dev 10001
    Reinst Failed early because of libsoup2.4-1
    Reinst Failed because of libsoup2.4-dev
  Considering libedataserver1.2-dev 4 as a solution to libebook1.2-dev 10001
Investigating libcamel1.2-dev
Package libcamel1.2-dev has broken dep on libedataserver1.2-dev
  Considering libedataserver1.2-dev 4 as a solution to libcamel1.2-dev 9999
  Considering libedataserver1.2-dev 4 as a solution to libcamel1.2-dev 9999
Investigating libstartup-notification0-dev
Package libstartup-notification0-dev has broken dep on libstartup-notification0
  Considering libstartup-notification0 135 as a solution to libstartup-notification0-dev 9999
Investigating libedata-book1.2-dev
Package libedata-book1.2-dev has broken dep on libedataserver1.2-dev
  Considering libedataserver1.2-dev 4 as a solution to libedata-book1.2-dev 9999
  Considering libedataserver1.2-dev 4 as a solution to libedata-book1.2-dev 9999
Done
E: Build-dependencies for pidgin could not be satisfied.
sindhu@sindhu-eee:~$

What do I do? Is it a must for me to do a apt-get build dep in order to continue/do plugin development for pidgin? I have already installed pidgin-dev, just that building from source (./configure) it's asking me to disable a lot of things and after

./configure --disable-screensaver --disable-startup-notification --disable-gtkspell --disable-gstreamer --disable-vv

I can't do anything cause it says I need libidn

What do i do?

Question information

Language:
English Edit question
Status:
Solved
For:
Pidgin Edit question
Assignee:
No assignee Edit question
Solved by:
Sindhu S
Solved:
2009-09-25
Last query:
2009-09-25
Last reply:
2009-09-25

I have the pidgin developers PPA (both binary and source) repos enabled in my sources.list

Fabián Rodríguez (magicfab) said : #2

You will haver better luck (and exposure) for your questions if you join the Pidgin developers mailing list:
http://pidgin.im/cgi-bin/mailman/listinfo/devel

Never mind, I manually downgraded all packages, it was a bit of a PITA but the issues's resolved. My suggestion to anyone facing this same problem would be:

1. stay away from PPAs! if you are going to development, stick to your release provided packages
2. use apt-show-versions | grep "newer" to check packages that are newer than those found in the archive (in the case that you learnt lesson 1 ^ and removed PPAs to revert back stuff) this will help you find packages you can downgrade
3. apt-get build-dep pidgin -o Debug::pkgProblemResolver=true
this command is a true live saver, what synaptic doesn't tell you, this command does. read carefully the output from this in case you land into dependency hell doing apt-get build-dep and you should able to figure out what packages you must downgrade.

from personal experience its messy cause you have to remove a bunch (a whole lot!) of them and then reinstall stuff...i cant put it more better than this.

So yeah, good luck! :)