aMule Forum

English => Compilation problems => Topic started by: hopelessone on February 20, 2008, 03:12:57 AM

Title: checking for crypto++ version >= 5.1... configure: error:
Post by: hopelessone on February 20, 2008, 03:12:57 AM
Hi,

And compile aMule like this:
./configure --enable-ccache --with-denoise-level=3 --enable-debug --disable-optimize --enable-verbose --enable-geoip --enable-cas --enable-wxcas --enable-amule-gui --enable-webserver --enable-amulecmd --enable-amule-daemon --with-wx-config=/home/firebox/usr/local/wxWidgets-2.8.7/bin/wx-config --prefix=/home/firebox/usr/local/amule && LD_LIBRARY_PATH=/home/firebox/usr/local/wxWidgets-2.8.7/lib/ make && LD_LIBRARY_PATH=/home/firebox/usr/local/wxWidgets-2.8.7/lib/ make instal

checking for crypto++ version >= 5.1... configure: error:
Could not find cryptopp header file "cryptlib.h".
Please check if the path "/usr" is valid.
firebox@firebox-desktop:~/amule-cvs$

what do i install to get this going?

thanks...!!
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: hopelessone on February 20, 2008, 03:20:49 AM
Durrrr.....

What developement packages do I need for compiling?

For compiling aMule-CVS and aMule 2.2.0 you need the following packages installed:

    * libglib2.0-dev
    * libgtk2.0-dev
    * zlib1g-dev
    * libwxgtk2.8-dev (if you compile wx by hand, this isn't needed. This package is atm only available for debian from Vollstreckers repository)
    * libgd2-xpm-dev
    * bison
    * flex
    * libreadline5-dev
    * libgeoip-dev
    * libupnp-dev

If you want to use the external crypto-library you need in addition:

    * libcrypto++-dev
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: GonoszTopi on February 20, 2008, 07:28:35 AM
Since some time ago, there's no more built-in crypto++, so you MUST use the external crypto-library.
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: phoenix on February 21, 2008, 02:05:14 PM
Also, some distros like OpenSuse (mine) do not provide cryptopp, so you must install it yourself. Check amule_build_install.sh script on the tarball to see how to do it.
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: Xaignar on February 21, 2008, 05:15:40 PM
And bug your distro-maintainers!
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: Nodsu on February 21, 2008, 07:54:52 PM
CryptoPP RPM for SuSE can be obtained from the PackMan repository. It's called libcrypto++0
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: Ezeltje on March 08, 2008, 09:28:05 AM
AFAICT, crypto++ is not available in the Fedora repos, but it is easy enough to download the source from http://www.cryptopp.com/ (http://www.cryptopp.com/) and compile it:
Code: [Select]
$ make -f GNUmakefile
$ sudo make install
Just in case anyone else is interested...
Title: Re: checking for crypto++ version >= 5.1... configure: error:
Post by: Nodsu on March 08, 2008, 10:33:36 PM
For RedHat, CentOS and Fedora, you can get crypto++ from Dag Wieers repository - the package is called cryptopp