Difference between revisions of "CryptoppDebian"

From AMule Project FAQ
Jump to: navigation, search
Line 1: Line 1:
 
 
== How to get crypto++ working on sarge debian: ==
 
== How to get crypto++ working on sarge debian: ==
  
Get libcrypto++ sources from sid
+
Get libcrypto++ sources from '''sid'''
  
deb-src http://ftp.AT.debian.org/debian/ sid main non-free contrib
+
''deb-src http://ftp.'''YOURCOUNTRYTLD'''.debian.org/debian/ sid main non-free contrib
apt-get update
+
apt-get update''
  
apt-get source -b libcrypto++
+
''apt-get source -b libcrypto++''
 
or  
 
or  
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 install (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.
 
After install (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
+
''ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h''
  
 
NOTE: you have to link the files cos of a bug in debian libcrypto package
 
NOTE: you have to link the files cos of a bug in debian libcrypto package
  
 
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 10:16, 29 April 2004

How to get crypto++ working on sarge debian:

Get libcrypto++ sources from sid

deb-src http://ftp.YOURCOUNTRYTLD.debian.org/debian/ sid main non-free contrib apt-get update

apt-get source -b libcrypto++ or apt-get source libcrypto++, cd libcrypto++-5.1, dpkg-buildpackage -b -B -uc

After install (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 cos of a bug in debian libcrypto package

You could compile libcrypto yourself too. Take a look at our compilation howto.