This should allow you to install the package you need. Just tried it myself, I'm not sure that you will need all the packages in the second line, try and see :)
apt-get update apt-get install libxslt-dev libxml2-dev libpam-dev libedit-dev aptitude install -t squeeze-backports postgresql-server-dev-9.1
mackwerk
source share