Difference between revisions of "Compilation Installation"
From AMule Project FAQ
(Added note about DOS newlines in crypto causing trouble with older gcc versions.) |
|||
Line 3: | Line 3: | ||
<u><b><font color="red">A)</font> [[wxWidgets|wxGTK]] - [[wxBase]] - [[libcrypto]] - [[aMule]] manual compilation</b></u> | <u><b><font color="red">A)</font> [[wxWidgets|wxGTK]] - [[wxBase]] - [[libcrypto]] - [[aMule]] manual compilation</b></u> | ||
+ | |||
+ | |||
+ | '''WARNING:''' Make sure you have NO wx installation. If you already have wx instaled, check [[How to uninstall wxWidgets]] before starting a new installation. | ||
Revision as of 09:01, 14 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 instaled, check How to uninstall wxWidgets before starting a new installation.
- Step 1. wxBase
- download wxBase ->
- 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
- Step 2. wxGTK
- download wxGTK ->
- 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
- Step 3. libcrypto
- download libcrypto ->
- compile libcrypto ->
- tar xvjf crypto-5.1.tar.bz2
- cd crypto-5.1
- make
- If you have problems compiling with older gcc versions, it can be due to stray DOS newlines in some files. Invoke
- file * | grep CRLF | while read file rest; do dos2unix ${file%:}; done
- to convert them to UNIX newlines (bash syntax).
- If you have problems compiling with older gcc versions, it can be due to stray DOS newlines in some files. Invoke
- 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 nr..)
- cd aMule-X.X.X
- ./configure --disable-debug --enable-optimise && make
- as root:
- make install
- run aMule as user from your console by typing -> amule
B) wxGTK - wxBase - libcrypto - aMule rpms
- Step 1. wxBase
- download wxBase ->
- 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:
- Step 2. wxGTK
- download wxGTK and wxGTK-devel ->
- 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 3. libcrypto
- download libcrypto ->
- as root:
- rpm -Uvh the-above-downloaded-package.rpm
- 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 nr..)
- as root:
- run aMule as user from your console by typing -> amule