If you want to have the latest libraries and compiler on Debian then do the following:
First is configure ssh to go directly.
Code:
chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash
Code:
apt-get install sudo
adduser <your-user>
(skip phone, home etc) just press enter, enter & confirm password
Code:
adduser <your-user> sudo
change port 22 in file /etc/ssh/sshd_config to 2222 (for example)
Code:
/etc/init.d/ssh start
Don't forget to add this line to your script runapps.sh
Go directly to Debian by ssh!
add this line to file /etc/apt/sources.list:
Code:
deb http://mirror.yandex.ru/debian/ testing main contrib non-free
Add the following to the end of the file /etc/apt/preferences:
Code:
Package: *
Pin: release a=testing
Pin-Priority: 5
now update
Code:
sudo apt-get autoremove build-essential gcc
sudo apt-get update
sudo apt-get install -t testing build-essential
You get GCC 4.8.2
with eglibc 2.17.
Now you can build anything. Congratulations!
Tvheadend compiled with this set works perfectly.