First uninstall amule
To migrate the files that i'm downloading, known clients etc etc
into the new aMule, can i simply copy all the old .dat .met and .conf files
and the Incoming and Temp folders, and then paste them into the new aMule folder?
Don't worry, those directories are configuration parameters and should be preserved, we are only modifying the binaries.
Don't forget to change the directory in --prefix!
What directory?
When you call configure, the --prefix parameter sets the install directory. That is to say, if you use --prefix=/usr/local/stow/amule-2 amule will be installed in that directory.
Using this parameter in combination with stow (a local package manager) you can install several versions of aMule (in /usr/local/stow/amule-stu, etc...) and change which one is used with stow. This is really useful in order quickly test different builds of aMule.
Here is the modified file I'd like you to try.
Sure, i will, but... how?
where does it come in in btkaos' instructions?
Just before configure replace the src/amule.cpp with the one provided by STU.
RRM, your bug will be very hard to track, but once you know how to compile aMule, STU will be able to test possible fixes in a quick way.
Just a note, once you have compiled aMule for the first time, you don't need to perform the whole process. Imagine STU sends you some changes, then you substitute the corresponding files and just execute:
$ make
$ sudo make install
And voilĂ , you have a new aMule. Of course if you want to change the install location you need to call configure again, only that.
Another trick is to upgrade current aMule. To do that go to the tmp directory and use
$ git pull