aMule Forum

English => aMule News => Topic started by: Kry on February 18, 2004, 05:36:09 PM

Title: On CVS
Post by: Kry on February 18, 2004, 05:36:09 PM
CVS right now is kinnda unusable to non-developers, mainly 'cos it expects you to have installed libcrypto++

We'll get deb and RPM of libcrypto up ASAP. Meanwhile, feel free to play with the libcrypto tarball on their homepage
http://sourceforge.net/project/showfiles.php?group_id=6152&package_id=6210

You need 5.1 to compile amule.
Title: RE: On CVS
Post by: bootstrap on February 18, 2004, 06:48:20 PM
You can get working libcryptopp rpms for fedora and rh9 on amule.hirnriss.net by now.
The rh9 tarball has been tested successfully on mdk 9.2, so feel free to use it.
You can also grab the .spec for rpm building there - suse rpms would be a good thing to do.
Title: RE: On CVS
Post by: bootstrap on February 18, 2004, 10:15:14 PM
I updated the rpms to 5.1-2. Please get the new libs to be sure everything works.
Because of some errors with the old rpms you're strongly advised not to use update to get the new rpms installed.
Please use rpm -e to remove the old - then check for lost symlinks (like /usr/lib/libcrxpto++.a or /usr/include/crypto++) and remove them as well.
Then install the new rpms and everything should be fine - at least it's working here on rh9 and fc1.
The provided .spec file is also updated, so please build rpms for others distros as well.
Title: Re: On CVS
Post by: thepolish on February 19, 2004, 12:03:55 AM
Hi,

Im working on Mandrake rpm ... must be good for today

the polish
Title: Re: On CVS
Post by: BigBob on February 19, 2004, 02:28:09 PM
Hi,

You can install the required stuff without troubles, have a look at :

Installation of libcrypto manually for aMule ... (http://www.amule.org/amule/thread.php?threadid=1089)

A++
Title: Compiling on Gentoo
Post by: Xaignar on February 19, 2004, 04:56:30 PM
There's a problem compiling current cvs on Gentoo (checked out yesterday), since aMule looks for "cryptopp", but the include dir and lib is called "crypto++" in gentoo.
Changing all references of "cryptopp" to "crypto++" enabled me to compile aMule.
Title: Re: On CVS
Post by: thepolish on February 19, 2004, 05:07:02 PM
removed !

Pliz Delta add permission to delete own posts :)

the polish
Title: Re: On CVS
Post by: OldFrog on February 20, 2004, 07:36:50 PM
Just for info guys. I use Mandrake 9.1 and installed cryptopp rpm for RH9 with no trouble.
CVS as of yesterday was unstable (crashed after some minutes).
CVS of today seems to be stable. Anyway, there seems to be some mess with i18n in  PrefsUnified.cpp/.h : just tells it cannot find locales and reverts to english (Tested french, german, etc.)
(Hope bigbob finds it out as he is supposed to have finished his shower :P (See comments on CVS :D )
Title: Re: On CVS
Post by: Kry on February 20, 2004, 07:59:55 PM
ROFL, yeah
Title: RE: Compiling on Gentoo
Post by: raus81 on February 20, 2004, 11:22:58 PM
I was having the same problem compiling on my gentoo, I've solved changing the linking option in configure.in from -lcryptopp to -lcrypto++ and modifing the include statements in  ClientCredits.cpp/.h
bye
Title: Re: On CVS
Post by: BigBob on February 20, 2004, 11:54:35 PM
Quote
Originally posted by OldFrog
Just for info guys. I use Mandrake 9.1 and installed cryptopp rpm for RH9 with no trouble.
CVS as of yesterday was unstable (crashed after some minutes).
CVS of today seems to be stable. Anyway, there seems to be some mess with i18n in  PrefsUnified.cpp/.h : just tells it cannot find locales and reverts to english (Tested french, german, etc.)
(Hope bigbob finds it out as he is supposed to have finished his shower :P (See comments on CVS :D )

Don't panic, new prefs are under construction, however the language selector work on new prefs now  :D

A++
Title: Re: On CVS
Post by: AnonimoVeneziano on February 21, 2004, 08:31:51 PM
I've installed aMule CVS , and I've noticed that all the credits that I had with other peoples are all resetted .

For example, to User "Pippo" I've uploded "10MB" of data , and I've downloaded from him 20MB of data , in "Show Details" while selecting user "Pippo" I saw (until today installing CVS) "Downloaded" "10MB" Uploaded "20MB" , now I see "0MB" and "0MB" , this is because of the secure hash?

Bye
Title: Re: On CVS
Post by: Kry on February 21, 2004, 09:35:53 PM
Yes. eMule did the same when implementing securehash, there's no way to import them at all.
Title: Libcryptopp Mandrake rpms
Post by: thepolish on February 21, 2004, 09:44:11 PM
hi,

here are the Mandrake libcryptopp rpms splitted in shared, devel, static and progs (cryptest) packages. They should work on other rpm based distros too. There is now a shared library not provided in normal sources built.

They all works for me with amule and 'cyptest v' pass fine.

I ve added a package for cryptest to let anyome run tests to be sure the installation is correct.

Note:  verifications done by 'cryptest v' use data files in /usr/share/cryptopp, su u MUST cd in this directory before

Code: [Select]
cd /usr/share/cryptopp
cryptest v

should display
Code: [Select]
bla... bla ...

All tests passed!

the rpms:

http://starstones.free.fr/src/libcryptopp5-5.1-2mdk.i586.rpm
http://starstones.free.fr/src/libcryptopp5-devel-5.1-2mdk.i586.rpm
http://starstones.free.fr/src/libcryptopp5-static-devel-5.1-2mdk.i586.rpm
http://starstones.free.fr/src/libcryptopp-progs-5.1-2mdk.i586.rpm

and if u want to build it yourself:

http://starstones.free.fr/src/libcryptopp.spec
http://starstones.free.fr/src/libcryptopp-5.1-2mdk.src.rpm

the polish
Title: Re: On CVS
Post by: AnonimoVeneziano on February 22, 2004, 11:17:02 AM
Ok :)
Title: Re: On CVS
Post by: JRM on February 22, 2004, 12:02:38 PM
thepolish> can you try to submit your rpm packages to the mdk contrib repertory ? It'll be simpler for me to  install it on my friends' computers

I'm a little bit *lazy* as you can guess ^^

(and if you have the time making new amule rpm for plf... j'abuse mais bon  :] )
Title: Re: On CVS
Post by: thepolish on February 23, 2004, 02:44:24 AM
Jrm,

i ve already posted it in contrib and mailled to Lenny :)

For amule rpm, the problem is that mandrake is using wx linked with gtk2 and Kry advise to not use it, so i dont want to build an amule mdk wich will be linked on GTK2 in mdk and so, be unstable ...

thepolish
Title: Re: On CVS
Post by: OldFrog on February 26, 2004, 02:26:22 PM
Back to topic. Using CVS as of Feb, then 24th, 25th, it seems there's some trouble finalizing files. For the only one finalizing under CVS, for 15 times it kept telling me the last part was corrupt and downloaded it again. Back to 1.2.6, it finalized at once with no trouble.

Should it mean secure hash is different from the "old-styled" hash and there should be some incompatabilities ?
Title: Re: On CVS
Post by: deltaHF on February 26, 2004, 02:28:16 PM
no, its only a small bug

greets
Title: Re: On CVS
Post by: Kry on February 26, 2004, 02:48:10 PM
Small as in code, not as in consequences ;)
Title: Re: On CVS
Post by: OldFrog on February 26, 2004, 04:32:53 PM
Okay, thanks. You guys are a bit frustrating, you know :P :P


Anyway, CVS for the last two days seems to be very stable (Anyway, I didn't try that many features as categories, but fake check is a pretty nice-to-have ;) )
Title: Re: On CVS
Post by: deltaHF on February 26, 2004, 10:04:16 PM
just don't use cvs right now :)
Title: Re: On CVS
Post by: OldFrog on February 27, 2004, 12:33:08 AM
okee dokee
Title: Re: On CVS
Post by: thepolish on March 07, 2004, 05:40:52 PM
Hi,

just for information about crypto++ and mandrake, copy of Lenny (Mandrake 's contrib man) msg:

Quote
Hello,

I've just uploaded it in contribs (I just cut the description lines).

Thanks

 lenny

So no prob now with this distro :)

the polish
Title: Re: On CVS
Post by: JRM on March 07, 2004, 08:42:13 PM
Thx Thepolish  :)

Has anyone tried to run amule cvs with wxWidgets 2.5.1 ? Does it work ?
Title: Re: On CVS
Post by: deltaHF on March 07, 2004, 10:17:08 PM
wxWidgets 2.5.1 isn't stable .. still in testing mode

greets
Title: Re: On CVS
Post by: gentoo on March 08, 2004, 03:52:45 PM
hi!

wxwindows 2.5.1 does not works out of the box.

amule wont compile.

at least you have to adapt the eventhandlers from const to nonconst,
and some from wxEvent to wxCommandEvent etc..

but i did not finished my port to 2.5.1.
dunno whether it will finaly run or not.

g