i think you have some trouble with old repos and/or packages. maybe old kxstudio repos.

first try this:

sudo apt-get -f install&&sudo apt-get update&&sudo apt-get dist-upgrade

next is, try to install the packages step by step:

1. libglib2.0-dev
2. libjack0
3. libmp3lame0
...
etc