1. add repository
~#cat >>/etc/apt/sources.list << EOF
deb http://mirror.yandex.ru/debian/ sid contrib non-free
EOF
2. update repository
~#apt-get update
3. install packages
~#apt-get install lxde
Показаны сообщения с ярлыком tip. Показать все сообщения
Показаны сообщения с ярлыком tip. Показать все сообщения
среда, 6 июня 2012 г.
четверг, 3 мая 2012 г.
вторник, 24 апреля 2012 г.
CryptoPP hang on linux
After porting some code that use cryptopp from windows to slackware linux it hangs.
The hang code:
AutoSeededRandomPool rng(true);
The reason was that AutoSeededRandomPool use /dev/random which blocks until the data become available.
The problem was resolved using default constructor, which use /dev/urandom:
AutoSeededRandomPool rng;
The hang code:
AutoSeededRandomPool rng(true);
The reason was that AutoSeededRandomPool use /dev/random which blocks until the data become available.
The problem was resolved using default constructor, which use /dev/urandom:
AutoSeededRandomPool rng;
Подписаться на:
Сообщения (Atom)