aMule Forum
		English => Compilation problems => Topic started by: Global HKM on July 15, 2008, 06:18:55 AM
		
			
			- 
				:O Now I know I have been gone from ED2K scene for sometimes now and haven't kept up with all the changes with aMule in general. As I am still using old CVS version Jan 1 2008 so I try to download the new CVN package off hirnriss and found that aMule now it requires crypto. Since I didn't find any help on wiki.aMule I decided to write my own for forum if anyone is looking for howto.
 
 "checking for crypto++ version >= 5.1... configure: error:
 Could not find cryptopp header file "cryptlib.h".
 Please check if the path "/usr" is valid."
 Download the latest crypto package from "http://www.cryptopp.com/#download" in this case package "Crypto++ 5.5.2". Now open your console terminal and do the following commands to install the crypto package.
 
 A) mkdir crypto
 B) mv cryptopp552.zip ./crypto
 C) cd crypto
 D) unzip cryptopp552.zip
 E) make
 F) cp libcryptopp.a /usr/lib/
 G) mkdir /usr/include/cryptopp
 H) cp *.h /usr/include/cryptopp/
 I) ldconfig
- 
				try to use "make -f" while build, and specify the path of libcryptopp manually.
 see compillation guide in wiki.
- 
				I may be in too much of a good mood, but let's keep everything civil and hope it'll stay like this.
 
 That goes specially for you HKM.
 
 BTW: Why are you installing things manually? Just use --prefix=/usr/ in the configure and do a make install.
- 
				There is a script in the tarball that teaches everything you need to know about compiling the external libraries. It is called amule_build_install.sh. There you will find instructions on how to build cryptopp properly.
 
 Cheers!
- 
				I just wanted to point two differences I see between this procedure and the one I followed to install on my fedora:
 
 1. I had to use unzip -a cryptopp552.zip (the -a converts the text files from DOS EOL to UNIX EOLS characters)
 2. I did make install, and installed successfully.
 
 Regards.
- 
				1. I had to use unzip -a cryptopp552.zip (the -a converts the text files from DOS EOL to UNIX EOLS characters)
 
 Ok, I added your suggestion.
 
 2. I did make install, and installed successfully.
 
 That does work indeed, but requires supervisor access. The procedure suggested in amule_build_install.sh does not.
 
 Cheers!