Difference between revisions of "Compilation Installation"
From AMule Project FAQ
(links, new stuff, ./configure update and so on) |
|||
Line 8: | Line 8: | ||
'''NOTE:''' In [[wxWidgets]] 2.5.1 (and '''only''' in that version), [[wxBase]] is not distributed as a separate tarball. So if you are going to compile [[wxWidgets|wxGTK]] 2.5.1, skip the first step ([[wxBase]] compilation). | '''NOTE:''' In [[wxWidgets]] 2.5.1 (and '''only''' in that version), [[wxBase]] is not distributed as a separate tarball. So if you are going to compile [[wxWidgets|wxGTK]] 2.5.1, skip the first step ([[wxBase]] compilation). | ||
+ | |||
+ | '''NOTE 2:''' Allthough this HowTo is written to use [[wxWidgets]] 2.4.2 and [[libcrypto|Crypto++]] 2.5.1, [[aMule]] will compile and work fine on [[wxWidgets]] 2.5.1 or 2.5.2 and [[libcrypto|Crypto++]] 5.2. | ||
*Step 1. [[wxBase]] | *Step 1. [[wxBase]] |
Revision as of 14:48, 20 July 2004
Part "A" describes manual compilation from a tarball, part "B" rpm installation!
A) wxGTK - wxBase - libcrypto - aMule manual compilation
WARNING: Make sure you have no wx installation. If you already have wx installed, check How to uninstall wxWidgets before starting a new installation. If after all, you still have problems, check if wx is installed twice, since that's a common compilation and runtime problem too.
NOTE: In wxWidgets 2.5.1 (and only in that version), wxBase is not distributed as a separate tarball. So if you are going to compile wxGTK 2.5.1, skip the first step (wxBase compilation).
NOTE 2: Allthough this HowTo is written to use wxWidgets 2.4.2 and Crypto++ 2.5.1, aMule will compile and work fine on wxWidgets 2.5.1 or 2.5.2 and Crypto++ 5.2.
- compile wxBase ->
- tar -zxvf wxBase-2.4.2.tar.gz
- cd wxBase-2.4.2
- ./configure --prefix=/usr && make
- as root:
- 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
- ldconfig
- compile wxGTK ->
- tar -zxvf wxGTK-2.4.2.tar.gz
- cd wxGTK-2.4.2
- ./configure --prefix=/usr --disable-gtk2 --with-gtk && make
- tar -zxvf wxGTK-2.4.2.tar.gz
- as root:
- make install
- ldconfig
- compile libcrypto ->
- tar xvjf crypto-5.1.tar.bz2
- cd crypto-5.1
- make
- as root:
- make install && ldconfig
- Step 4. aMule
- download latest aMule version ->
- latest aMule
- (mirror) latest aMule
- download latest aMule version ->
- compile aMule ->
- tar -zxvf aMule-X.X.X.tar.gz (replace X with the right version number..)
- cd aMule-X.X.X
- ./configure --disable-debug --enable-optimize && make
- as root:
- make install
- run aMule as user from your console by typing -> amule
B) wxGTK - wxBase - libcrypto - aMule rpms</b>
- install wxBase ->
- as root:
- rpm -Uvh wxBase-2.4.2-1.i586.rpm
- ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
- ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
- ldconfig
- as root:
- install wxGTK ->
- as root:
- rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
- ldconfig
- as root:
- Step 4. aMule
- download latest aMule version ->
- latest aMule
- (mirror) latest aMule
- download latest aMule version ->
- install aMule ->
- as root:
- rpm -Uvh aMule-X.X.X-1.iX86-X.rpm (replace X with the right version number..)
- as root:
- run aMule as user from your console by typing -> amule