Skocz do zawartości

Problem Z Instalacją Amule


Jarek.S

Rekomendowane odpowiedzi

Witam! Postępowałem zgodnie z poniższym opisem który znalazłem w internecie.Poniżejsz przedstawiam opis tego:

 

This HowTo explains compiling aMule and wxGTK from source under Fedora Core 3 and 4

First of all, you need a sane toolchain for GCC - This means you need to have the GCC package and its dependencies installed. Then, you need several development packages. The one I found most surprising was gettext-devel, because in FC2 and FC1 there was one single package for gettext. So be sure to have gettext-devel installed, as well as gtk+-devel, curl-devel and gd-devel. The easiest way to achieve this is usually using yum, the Fedora package manager.

yum install gettext-devel gtk+-devel curl-devel gd-devel

This should install all necessary devel packages, as well as the libraries/packages itself if they are not installed.

Now, we're ready to go for the compilation of wxGTK

wxGTK-2.4.2 & wxBase-2.4.2: You need to compile two libraries to compile all programs that are included within the aMule source package, but 2.4.2 is the stable release of the wxWidgets library at the moment.

wxGTK-2.5.4 : This package includes wxGTK and wxBase and it is generally much less cpu hungry, but it is marked unstable and you might probably get troubles due to that. (I didn't encounter any trouble, btw)

So, decide for one of the two options and let's go!

First of all, download all necessary packages:

If you decided for wxGTK-2.4.2:

wxGTK-2.4.2.tar.bz2

wxBase-2.4.2.tar.bz2

If you decided for wxGTK-2.5.4:

wxGTK-2.5.4.tar.bz2

And finally

aMule-2.0.0rc8.tar.bz2

For wxGTK-2.4.2 & wxBase-2.4.2

Untar the wxGTK

tar xfj wxGTK-2.4.2.tar.bz2

cd into the new directory

cd wxGTK-2.4.2/

and run the configure script

./configure --prefix=/usr --disable-gtk2

Once that is finished without errors, you can go and build the package! Simply type

 

make

 

After that has finished, become super-user (generally root) with

 

su (Type in super-user's password)

 

run

 

make install

 

and exit super-user mode

 

exit

 

Next, let's install the wxBase package

 

tar xfj wxBase-2.4.2.tar.bz2

 

cd into it

 

cd wxBase-2.4.2/

 

run configure

 

./configure --prefix=/usr

 

run make

 

make

 

and install as super-user again:

 

su (Type in super-user's password)

 

make install

 

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

 

ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

 

Now exit super-user mode:

 

exit

 

 

For wxGTK-2.5.4

NOTE: There is support in aMule for a wxWidgets that is linked against GTK2 - But be warned, wxWidgets will leak HELL of a lot memory (about 100MB of RAM per day!) and so I really do not recommend this!

 

Untar wxGTK-2.5.4

 

tar xfj wxGTK-2.5.4.tar.bz2

 

cd into the new directory

 

cd wxGTK-2.5.4/

 

configure wxWidgets

 

./configure --prefix=/usr --disable-gtk2

 

run make

 

make

 

and install as super-user

 

su (Type in super-user's password)

 

make install

 

Now exit super-user mode

 

exit

 

Good, you have wxWidgets now.

 

 

Compilation of aMule

 

Untar aMule's source

 

tar xfj aMule-2.0.0rc7.tar.bz2

 

cd into the new directory

 

cd aMule-2.0.0rc8/

 

Configure aMule (please take a look at this article)

 

./configure --prefix=/usr --enable-optimize --disable-debug --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-amule-daemon --enable-amulecmd --enable-webserver

 

(This command tells the configure system to build every single program included in the aMule source package)

 

make it:

 

make

 

and as super-user, install:

 

su (Type in super-user's password)

 

make install

 

That's it! You're done!

 

 

Comments and problems

Comments / corrections are welcome, you can find me usually on IRC in #amule at irc://irc.freenode.net or reach me by mail: citroklar at amule dot org

 

Citroklar

 

2005-03-11: Updated by Citroklar to version numbers wxGTK-2.5.4 and aMule-2.0.0rc8 after I got a tip to do so from bannerman in #amule. Thanks!

 

2005-10-07: it works also with wxWidgets CVS (2.7.0); I tried to build aMule on FC4 against wx compiled in ANSI+release mode.

 

 

Postępując według powyższego opisu instalacja przebiegała dobrze bez błędów. Jednak efekt końcowy nie był zadowalający. Pisząc w konsoli amule lub klikając na skrót nie uruchamiał się. Proszę o odpowiedz w tej sprawie

Odnośnik do komentarza
Udostępnij na innych stronach

OMG wedlug mnie to strasznie duzo zachodu dla zainstalowania. Rozumiem ze niektorzy wola wszystko ze zrodel... no ale przeciez jest takie cos jak Gentoo.

Proponuje Ci zebys zainstalowal sobie poprzez yuma dodaj sobie tylko repozytorium livna. Jeszcze jedna rzecz to taka jesli zalezy Ci aby miec dostep do sieci Kad z amule bedzie potrzebna wersja 2.1 .Ja mozesz sobie sciagnac z oficjalnej strony amule.

Odnośnik do komentarza
Udostępnij na innych stronach

 

Postępując według powyższego opisu instalacja przebiegała dobrze bez błędów. Jednak efekt końcowy nie był zadowalający. Pisząc w konsoli amule lub klikając na skrót nie uruchamiał się. Proszę o odpowiedz w tej sprawie

a uruchamiał się w inny sposób?

Odnośnik do komentarza
Udostępnij na innych stronach

Jarek.S

make install

O zgrozo blink.gif

 

Używaj checkinstall, masz na forum o tym.

 

Postępując według powyższego opisu instalacja przebiegała dobrze bez błędów. Jednak efekt końcowy nie był zadowalający. Pisząc w konsoli amule lub klikając na skrót nie uruchamiał się. Proszę o odpowiedz w tej sprawie

 

Z tego co widze zainstalowałeś go w /usr. Poszukaj jakiś jego katalogów w /usr i jego podkatalogach.

Może pomoże:

whereis amule

 

Gdy chcesz odpalić amule to coś wypisuje Ci na ekran ,czy po prostu nie może znaleźć pliku binarnego?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 year later...

amule z repo livna instaluje sie bez najmniejszych problemow, ale za to ma pewien bug... otoz po jakims czasie dzialania sam sie wylacza... natomiast po skompilowaniu ze zrodel nie ma tego problemu... amule moze chodzic caly tydzien i sie nie wylaczy... niestety, ostatnio bylem zmuszony zainstalowac wersje z repo, gdyz podczac kompilacji zrodel wyskakiwala masa zaleznosci, a gdy doszlo do wxWidgets to po ich "dograniu" (ich kompilacja zajela mi ponad 20min :blink: ) kompilator amula wywalil mi info ze wxWidgets jest zainstalowane ale jeden z jego parametrow (o ktorym wczesniej w zaden sposob mnie nie poinformowal) jest nieodpowiedni wzgledem amule'a i ze powinienem je przeinstalowac :angry:

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...