Originally Posted by StefanP
sorry for my ignorance but would you be so kind to give an example for one library the exact commands?
command to add the source repository to the source list
command to port/compile the sources to lib
As jmc1987 suggested, is less problematic to upgrade to Wheezy (on one hand Wheezy is stable enough for ordinary usage and on the other hand, it's due to become the next stable version soon).
Anyway, if you really need to stay on Squeeze for some reason, and port the needed libraries, keep in mind that this is not a trivial task. You would have to edit your /etc/apt/sources.list file, locate the main server line and duplicate it changing the occurrence to 'stable' (or 'squeeze') to 'wheezy' and changing the 'deb' part for 'deb-src'. So, for example, if you see a line like this:
deb http://ftp.us.debian.org/debian stable main contrib non-free
You should duplicate it --leaving the original line as it is-- and changing the new line for this:
deb-src http://ftp.us.debian.org/debian wheezy main contrib non-free
Then execute apt-get update
, and then execute
apt-get -b source libqtwebkit4
And so on for every needed library.
But keep in mind that it's probably easier upgrading to Wheezy (there's no need to reinstall Debian, just pointing your sources.list to the proper place and upgrading should work).