Difference between revisions of "CryptoppDebian"
m (=How to get crypto++ working on sarge debian (from Debian sources):=) |
|||
Line 2: | Line 2: | ||
<br> | <br> | ||
<b>IMPORTANT:</b> <i>Please be aware that you need to have super-user (root) priviledges to follow this document</i> | <b>IMPORTANT:</b> <i>Please be aware that you need to have super-user (root) priviledges to follow this document</i> | ||
+ | |||
+ | == How to get [[libcrypto|crypto++]] working on Debian Sid (from deb package): == | ||
+ | |||
+ | Simply run this two commands | ||
+ | |||
+ | <i>apt-get update</i> | ||
+ | <i>apt-get install libcrypto++-dev</i> | ||
+ | |||
+ | and then run | ||
+ | |||
+ | ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h | ||
+ | |||
+ | <b>NOTE:</b> You have to link the files because of a bug in Debian libcrypto++ package<br> | ||
== How to get [[libcrypto|crypto++]] working on Debian Sarge and Woody (from deb package): == | == How to get [[libcrypto|crypto++]] working on Debian Sarge and Woody (from deb package): == |
Revision as of 01:15, 31 May 2004
IMPORTANT: Please be aware that you need to have super-user (root) priviledges to follow this document
Contents
How to get crypto++ working on Debian Sid (from deb package):
Simply run this two commands
apt-get update apt-get install libcrypto++-dev
and then run
ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h
NOTE: You have to link the files because of a bug in Debian libcrypto++ package
How to get crypto++ working on Debian Sarge and Woody (from deb package):
Get libcrypto++ backport package to Sarge and Woody (thanks, thermoman) by adding this line to /etc/apt/sources.list:
deb http://debian.thermoman.de/ woody libcrypto++
Then run
apt-get update apt-get install libcrypto++
After installing, make a symbolic link in /usr/include/crypto++ from cryptopp_config.h to config.h in the same directory:
ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h
NOTE: You have to link the files because of a bug in Debian libcrypto++ package
How to get crypto++ working on Debian Sarge (from Debian sources):
Get libcrypto++ sources from sid
Add this line to /etc/apt/sources.list:
deb-src http://ftp.yourcountrytld.debian.org/debian/ sid main non-free contrib
and run
apt-get update
apt-get source -b libcrypto++
or
apt-get source libcrypto++, cd libcrypto++-5.1, dpkg-buildpackage -b -B -uc
After installing (dpkg -i libcrypto++5.1.deb), make a symbolic link in /usr/include/crypto++ from cryptopp_config.h to config.h in the same directory:
ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h
NOTE: you have to link the files because of a bug in Debian libcrypto++ package
Self-compiling Crypto++
You could compile libcrypto yourself too. Take a look at our compilation howto.