Difference between revisions of "Compilation Installation"

From AMule Project FAQ
Jump to: navigation, search
m (Corrected Spelling of Français in language selection)
(Step 1: wxWidgets)
Line 22: Line 22:
 
=== Step 1: [[wxWidgets]] ===
 
=== Step 1: [[wxWidgets]] ===
 
*Download [[wxWidgets|wxGTK]] ->
 
*Download [[wxWidgets|wxGTK]] ->
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.7.tar.bz2 wxGTK-2.8.7.tar.bz2]
+
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.9.tar.bz2 wxGTK-2.8.9.tar.bz2]
  
 
*Compile [[wxWidgets|wxGTK]]
 
*Compile [[wxWidgets|wxGTK]]
**''tar -jxvf wxGTK-2.8.7.tar.bz2''
+
**''tar -jxvf wxGTK-2.8.9.tar.bz2''
**''cd wxGTK-2.8.7''
+
**''cd wxGTK-2.8.9''
 
**''Linked against [http://www.gtk.org GTK]2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
 
**''Linked against [http://www.gtk.org GTK]2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
  

Revision as of 20:16, 28 January 2009

English | Deutsch | Español | Français | Italiano | Nederlands | Polish | Português | Russian

Compiling from Sources

WARNING: Make sure you have no copies of wxWidgets installed. If you already have wxWidgets installed, check How to uninstall wxWidgets before starting a new installation. If you continue have problems, then check if wx is installed twice, since that's a common compilation and runtime problem.

There are different versions of the wxWidgets for different platforms. wxGTK is used for Linux, Solaris and BSD, wxMSW for Windows and wxMac for Mac OS X. Here we'll explain the compilation using wxGTK, but it differs only slightly for other toolkits.

Please see the specific articles for more detailed instructions.

Step 1: wxWidgets

  • Compile wxGTK
    • tar -jxvf wxGTK-2.8.9.tar.bz2
    • cd wxGTK-2.8.9
    • Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
  • As root (in some distributions simply use the sudo before):
    • make install
    • ldconfig

wxBase

  • To compile wxWidgets without a graphical User Interface, use the option --disable-gui

Step 3: aMule

  • Compile aMule (please check the configure article) ->
    • 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 a regular user from console by typing -> amule