aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problems with crypto  (Read 2804 times)

angelusbra

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Problems with crypto
« on: February 04, 2008, 12:41:56 AM »

hello,
im tryin to compile the amule-cvs to work with my leopard, i got several problems, but i did some research and was going well to the last part of amule compilation and got a problem when i do the following command:
./configure --disable-systray --disable-gtk --enable-embedded_crypto    \
           --with-wx-config=../wxMac-2.8.7/build/wx-config    \
           --enable-cas --enable-webserver --enable-amulecmd    \
           --enable-debug --disable-optimize
when i enter the command it starts to work it on, but when it tries to check this crypto library i get this error and the config stops.

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

i did some research and found the library to dowload on http://www.cryptopp.com/, i got the 5.1 wich is the version the config looks for, but i can't make the bloody library to install, i already tried to "make" or "make install" but get nothing, im ranning out of ideas here to install the library, anyone knows how to intsall this damm thing?  ???
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Problems with crypto
« Reply #1 on: February 04, 2008, 01:15:04 AM »

Hi angelusbra,

Please take a look at the file amule_build_install.sh that comes with recent aMule tarballs. It is an example of how the libraries can be compiled.

Notice that this script was build with the idea that nothing would be installed in the system path, everything would go into the user's home directory, so there is no need to be root at any time. Of course you can simplify things by installing on default system paths, but as this is a tarball install, I would not recomend it.

Also, get the most recent cryptopp version, not 5.1. You don't need to compile libupnp if it comes or is installed with your distro. Some distros have cryptopp (OpenSUSE, which is my case, doesn't).

Your impressions are welcome.
Logged

angelusbra

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Problems with crypto
« Reply #2 on: February 04, 2008, 04:11:47 AM »

Hey phoenix,
   Thanks for your tip, ill look into it. I forgot to say i use Mac OS X (10.5 Leopard).
Logged

angelusbra

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Problems with crypto
« Reply #3 on: February 04, 2008, 05:12:00 AM »

Hey Phoenix,
   I looked into to the file just like you said, and found that i just have to do this 2 simple lines to install:

make -f GNUmakefile -j4
make install

After that, all the library is installed and rdy to go. Now im having other compiling issues, but ill post it later this day, when i spend some time on it.
thnx
« Last Edit: February 04, 2008, 05:14:07 AM by angelusbra »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Problems with crypto
« Reply #4 on: February 04, 2008, 10:08:09 AM »

Hi angelusbra,

Please, do it and post your findings here. I will update the script with your Mac OS X clues.

Thanks for your help!
Logged