Difference between revisions of "Compilation Installation"

From AMule Project FAQ
Jump to: navigation, search
Line 70: Line 70:
  
  
*Step 1. wxGTK
+
*Step 1. wxBase
**download wxGTK and wxGTK-devel ->
+
***[http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm wxGTK-2.4.2-1.i386.rpm]   [http://download.berlios.de/amule/wxGTK-devel-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm]
+
***(mirror) [http://download.gna.org/amule/wxGTK-wxBase/wxGTK-2.4.2-1.i386.rpm wxGTK-2.4.2-1.i386.rpm]   [http://download.gna.org/amule/wxGTK-wxBase/wxGTK-devel-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm]
+
 
+
* install wxGTK ->
+
**as root:
+
***rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
+
***ldconfig
+
 
+
*Step 2. wxBase
+
 
**download wxBase ->
 
**download wxBase ->
 
***[http://download.berlios.de/amule/wxBase-2.4.2-1.i586.rpm wxBase-2.4.2-1.i586.rpm]
 
***[http://download.berlios.de/amule/wxBase-2.4.2-1.i586.rpm wxBase-2.4.2-1.i586.rpm]
Line 90: Line 80:
 
***<font color="blue">ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
 
***<font color="blue">ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
 
***ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config</font>
 
***ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config</font>
 +
***ldconfig
 +
 +
 +
*Step 2. wxGTK
 +
**download wxGTK and wxGTK-devel ->
 +
***[http://download.berlios.de/amule/wxGTK-2.4.2-1.i386.rpm wxGTK-2.4.2-1.i386.rpm]&nbsp;&nbsp; [http://download.berlios.de/amule/wxGTK-devel-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm]
 +
***(mirror) [http://download.gna.org/amule/wxGTK-wxBase/wxGTK-2.4.2-1.i386.rpm wxGTK-2.4.2-1.i386.rpm]&nbsp;&nbsp; [http://download.gna.org/amule/wxGTK-wxBase/wxGTK-devel-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm]
 +
 +
* install wxGTK ->
 +
**as root:
 +
***rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
 
***ldconfig
 
***ldconfig
  

Revision as of 07:35, 14 May 2004

Part "A" describes manual compilation from a tarball, part "B" rpm installation!

A) wxGTK - wxBase - libcrypto - aMule manual compilation

  • compile wxGTK ->
    • tar -zxvf wxGTK-2.4.2.tar.gz
      • cd wxGTK-2.4.2
      • ./configure --prefix=/usr --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile && make
  • as root:
    • make install
    • ldconfig


  • 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 libcrypto ->
    • tar xvjf crypto-5.1.tar.bz2
    • cd crypto-5.1
    • make
  • as root:
    • make install && ldconfig


  • 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


  • 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


  • install wxGTK ->
    • as root:
      • rpm -Uvh wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
      • ldconfig


  • install aMule ->
    • as root:
      • rpm -Uvh aMule-X.X.X-1.iX86-X.rpm (replace X with the right version nr..)
  • run aMule as user from your console by typing -> amule