Difference between revisions of "CryptoppDebian"
From AMule Project FAQ
m (=How to get crypto++ working on sarge debian (from Debian sources):=) |
|||
Line 16: | Line 16: | ||
''apt-get source libcrypto++, cd libcrypto++-5.1, dpkg-buildpackage -b -B -uc'' | ''apt-get source libcrypto++, cd libcrypto++-5.1, dpkg-buildpackage -b -B -uc'' | ||
− | After | + | After installing (<i>dpkg -i libcrypto++5.1.deb</i>), 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'' | ''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 | + | <b>NOTE:</b> you have to link the files because of a bug in Debian libcrypto++ package |
== Self-compiling Crypto++ == | == Self-compiling Crypto++ == | ||
You could compile libcrypto yourself too. Take a look at [[Compilation_Installation|our compilation howto]]. | You could compile libcrypto yourself too. Take a look at [[Compilation_Installation|our compilation howto]]. |
Revision as of 02:28, 4 May 2004
How to get crypto++ working on sarge debian (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.