Talk:Compilation Installation

From AMule Project FAQ
Revision as of 14:33, 16 December 2006 by Kruiser (Talk | contribs | merge | delete)

Jump to: navigation, search

hi, I made the Italian version of this page, I linked from all languages, someone could link it from the English Version (and do it in the Main Page too would be thanked)

thank you - Kruiser

---

hi, think, someone authorized should please change the dead link wxGTK-2.6.2.tar.gz to wxGTK-2.6.2.tar.gz (in the section #Step_1:_wxGTK_2) ;)

cu

Hey, thanks :)

---

Can't run amule in Konsole

Someone wrote:
hi, i've tryied to install amule by compiling source, and it did'nt work : when i tape 'amule' in Konsole, it return 'command not found', and after i've tryied to install by rpm installation and it made the seem problem again. i work on Mandrake 10.0. please help me

Please post in forums (that is http://www.amule.org/amule) or join #amule IRC channel in irc.freenode.net

Wiki is not the place to ask for such help ;-)


Karsten wrote: Hi, shouldn't be the second symbolic link creation be mentioned in the wxGTK section (step 2)?

ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config

???>>> ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config <<<???

Fixed. The compilation HowTo had a structure rearrangement to fix this and some more issues.

Also: What if gtk-config cannot be found (e.g. it's not available in SuSE 9.1 as they seem to use version 2.0)? I think, the installation of gtk (and - before that - glib) should at least be mentioned as a precondition.

Well, if you compiled/installed wxGTK, you should have GTK perfectly compiled/installed, otherwise, wxWindows should have not been able to be installed. aMule only checks for the upper dependencies, not the dependencies of it's dependencies. All applications do the same. Otherwise, every app should check even if a valid kernel is installed ;-)


btyvù - I had the same problem on a Mandrake 10.0, the build/install of wxGTK works only if gtk-1.2.x is installed (Don't work with gtk-2.x.x)

We develop aMule, not wxGTK ;-) Post your suggestoin to wxWidgets developers, so they are concerned about your problem.


B.t.w. - I had serious problems compiling 2 RC5 with wx 2.4, finally I moved to 2.5, compiling was fine (but only 2.00 rc5 - strange), but aMule hung during the startup. Got an error message that libqtpixmap.could not be found. Maybe qtpixmap is a precondition as well?

No, it's not. At least not a direct dependency (see the answer above). Check your system since something is wrong there :-/

Finally - There's a typo in the src cryptolib installion. Instead of

cp *.h /usr/include/cyrptopp/

it should be

cp *.h /usr/include/cryptopp/

Thanks for fixing that! :-)



Hey - aMule hung because of something in the .aMule-directory I formerly used with 1.27. So whoever might have this problem and reads this:

mv ~/.aMule ~/aMule.bak

and start, this should work.

Check if that something in the ~/.aMule directory was ~/.aMule/clients.met ;-))


Hi, Is there a bug in the amule rpm? When i try to install the rpm with:
rpm -i aMule-2.0.0rc5-1.i586-MDK_9.2-10.rpm
it complains about one missing library:
error: Failed dependencies:

       libwx_gtk-2.4.so.0 is needed by aMule-2.0.0rc5-1mdk

I have allready installed the package that is supposed to contain this package.the library installed in usr/lib is:
libwx_gtk2-2.4.so.0

it seems that in what amule needs there is a missing "2". And that is the reason why it doesn't find it. true?

i tried making a hard link in usr/lib:

[root@localhost lib]#  ln libwx_gtk2-2.4.so.0.1.1 libwx_gtk-2.4.so.0.1.1
[root@localhost lib]#  ln libwx_gtk2-2.4.so.0 libwx_gtk-2.4.so.0
[root@localhost lib]#  ln libwx_gtk2-2.4.so libwx_gtk-2.4.so

in order to amule finds the file "libwx_gtk-2.4.so.0" but this idea doesn't change the problem. I give up... i don't know what else can i do. Somebody can help me???

greetings

Adrian

Please install the rpms on the aMule download page. Check http://dl.amule.org

Greetngs!


The link to the Dutch translation points to the Dutch translation of the "Ed2k-kademlia FAQ". As this page is protected I can't change that. The link on the Spanish translation of "Compilation Installation" also points to the wrong page.


Fixed, thanks. - Kry


Do you link wxGTK to GTK 1.X for system compatibility's sake, for some kind of stability reason for it, or is there some other reason? (I know most systems will have GTK 1.X but I'm not sure if that's the specific reason for sure.)

Oh, I just looked at the Readme-GTK for wxGTK 2.5.5 and they say that 1.2.X will be phased out of wxGTK over time. It's not time critical to change yet since the 2.5X is the devel branch still. Just something to think about as time progresses I suppose.

Third edit: Oops, I guess it is for stability. I just looked at the INSTALL file and saw that. Guess I missed that the first time. Harley

No. As you suspected, there IS another reason. The reason is that wxGTK eats lots of memory when linked against GTK2. wxGTK 2.6 should fix this, but, afaik, it only fixes it partially. It still eats quite a lot of memory.


I'm kind of a Linux newbie, and so here's my question: In the compile section:

   * cd wxGTK-2.6.0
   * Linked against GTK1: ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
   * Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make 

Does this mean I have to choose between GTK1 and GTK2, or do I have to follow both steps?

This means you have to chose one of those depening on which you have installed on your system.

You are right, it could be confusing. I'll be fixing this right now. Thanks :)

Thanks for your quick answer. I compiled wxGTK-2.6.0 and aMule-2.0.1 according to the instructions, but aMule always crashes when it connects to a server, a few seconds after starting up. When running it from a console, i don't always get the same backtrace. You can see the backtraces of two attempts to run aMule here: http://pwp.netcabo.pt/migasf/amule.txt Any help would be much appreciated. Btw, is this the right place to post this?

No, you should post at http://forum.amule.org ;-)

Anyway, I suggest youto delete or move away ~/.aMule dirsince maybe somefile got corrupted and mightbe breaking aMule atr startup...

Also check that you have correctly installed and make sure you only have wx installed ONCE (some people, trying to compile wx, have installed it more than just once).

Greets.

"Anyway, I suggest you to delete or move away ~/.aMule dir since maybe somefile got corrupted and might be breaking aMule atr startup..." --> And it just... worked ! Thank you so much for your help! ;)

You're wellcome ;)

=Can't run amule in Konsole=

hi, I made the Italian version of this page, I linked from all languages, someone could link it from the English Version (and do it in the Main Page too would be thanked)

thank you - Kruiser

---

hi, think, someone authorized should please change the dead link wxGTK-2.6.2.tar.gz to wxGTK-2.6.2.tar.gz (in the section #Step_1:_wxGTK_2) ;)

cu

Hey, thanks :)

---

Can't run amule in Konsole

Someone wrote:
hi, i've tryied to install amule by compiling source, and it did'nt work : when i tape 'amule' in Konsole, it return 'command not found', and after i've tryied to install by rpm installation and it made the seem problem again. i work on Mandrake 10.0. please help me

Please post in forums (that is http://www.amule.org/amule) or join #amule IRC channel in irc.freenode.net

Wiki is not the place to ask for such help ;-)


Karsten wrote: Hi, shouldn't be the second symbolic link creation be mentioned in the wxGTK section (step 2)?

ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config

???>>> ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config <<<???

Fixed. The compilation HowTo had a structure rearrangement to fix this and some more issues.

Also: What if gtk-config cannot be found (e.g. it's not available in SuSE 9.1 as they seem to use version 2.0)? I think, the installation of gtk (and - before that - glib) should at least be mentioned as a precondition.

Well, if you compiled/installed wxGTK, you should have GTK perfectly compiled/installed, otherwise, wxWindows should have not been able to be installed. aMule only checks for the upper dependencies, not the dependencies of it's dependencies. All applications do the same. Otherwise, every app should check even if a valid kernel is installed ;-)


btyvù - I had the same problem on a Mandrake 10.0, the build/install of wxGTK works only if gtk-1.2.x is installed (Don't work with gtk-2.x.x)

We develop aMule, not wxGTK ;-) Post your suggestoin to wxWidgets developers, so they are concerned about your problem.


B.t.w. - I had serious problems compiling 2 RC5 with wx 2.4, finally I moved to 2.5, compiling was fine (but only 2.00 rc5 - strange), but aMule hung during the startup. Got an error message that libqtpixmap.could not be found. Maybe qtpixmap is a precondition as well?

No, it's not. At least not a direct dependency (see the answer above). Check your system since something is wrong there :-/

Finally - There's a typo in the src cryptolib installion. Instead of

cp *.h /usr/include/cyrptopp/

it should be

cp *.h /usr/include/cryptopp/

Thanks for fixing that! :-)



Hey - aMule hung because of something in the .aMule-directory I formerly used with 1.27. So whoever might have this problem and reads this:

mv ~/.aMule ~/aMule.bak

and start, this should work.

Check if that something in the ~/.aMule directory was ~/.aMule/clients.met ;-))


Hi, Is there a bug in the amule rpm? When i try to install the rpm with:
rpm -i aMule-2.0.0rc5-1.i586-MDK_9.2-10.rpm
it complains about one missing library:
error: Failed dependencies:

       libwx_gtk-2.4.so.0 is needed by aMule-2.0.0rc5-1mdk

I have allready installed the package that is supposed to contain this package.the library installed in usr/lib is:
libwx_gtk2-2.4.so.0

it seems that in what amule needs there is a missing "2". And that is the reason why it doesn't find it. true?

i tried making a hard link in usr/lib:

[root@localhost lib]#  ln libwx_gtk2-2.4.so.0.1.1 libwx_gtk-2.4.so.0.1.1
[root@localhost lib]#  ln libwx_gtk2-2.4.so.0 libwx_gtk-2.4.so.0
[root@localhost lib]#  ln libwx_gtk2-2.4.so libwx_gtk-2.4.so

in order to amule finds the file "libwx_gtk-2.4.so.0" but this idea doesn't change the problem. I give up... i don't know what else can i do. Somebody can help me???

greetings

Adrian

Please install the rpms on the aMule download page. Check http://dl.amule.org

Greetngs!


The link to the Dutch translation points to the Dutch translation of the "Ed2k-kademlia FAQ". As this page is protected I can't change that. The link on the Spanish translation of "Compilation Installation" also points to the wrong page.


Fixed, thanks. - Kry


Do you link wxGTK to GTK 1.X for system compatibility's sake, for some kind of stability reason for it, or is there some other reason? (I know most systems will have GTK 1.X but I'm not sure if that's the specific reason for sure.)

Oh, I just looked at the Readme-GTK for wxGTK 2.5.5 and they say that 1.2.X will be phased out of wxGTK over time. It's not time critical to change yet since the 2.5X is the devel branch still. Just something to think about as time progresses I suppose.

Third edit: Oops, I guess it is for stability. I just looked at the INSTALL file and saw that. Guess I missed that the first time. Harley

No. As you suspected, there IS another reason. The reason is that wxGTK eats lots of memory when linked against GTK2. wxGTK 2.6 should fix this, but, afaik, it only fixes it partially. It still eats quite a lot of memory.


I'm kind of a Linux newbie, and so here's my question: In the compile section:

   * cd wxGTK-2.6.0
   * Linked against GTK1: ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
   * Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make 

Does this mean I have to choose between GTK1 and GTK2, or do I have to follow both steps?

This means you have to chose one of those depening on which you have installed on your system.

You are right, it could be confusing. I'll be fixing this right now. Thanks :)

Thanks for your quick answer. I compiled wxGTK-2.6.0 and aMule-2.0.1 according to the instructions, but aMule always crashes when it connects to a server, a few seconds after starting up. When running it from a console, i don't always get the same backtrace. You can see the backtraces of two attempts to run aMule here: http://pwp.netcabo.pt/migasf/amule.txt Any help would be much appreciated. Btw, is this the right place to post this?

No, you should post at http://forum.amule.org ;-)

Anyway, I suggest youto delete or move away ~/.aMule dirsince maybe somefile got corrupted and mightbe breaking aMule atr startup...

Also check that you have correctly installed and make sure you only have wx installed ONCE (some people, trying to compile wx, have installed it more than just once).

Greets.

"Anyway, I suggest you to delete or move away ~/.aMule dir since maybe somefile got corrupted and might be breaking aMule atr startup..." --> And it just... worked ! Thank you so much for your help! ;)

You're wellcome ;)