Difference between revisions of "Compilation Installation"
From AMule Project FAQ
(Updated wxWidgets installation to version 2.8.10. Minor restructuring of content.) |
(Changed numbering to proper value: 2. Minor restructuring of content.) |
||
Line 36: | Line 36: | ||
*To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui'' | *To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui'' | ||
− | === Step | + | === Step 2: [[aMule]] === |
− | *Download the latest [[aMule SVN|source tarball]] | + | *Download the latest [[aMule SVN|source tarball]]: [http://www.hirnriss.net/?area=cvs Download aMule] |
*Compile [[aMule]] (please check the [[configure|configure article]]) -> | *Compile [[aMule]] (please check the [[configure|configure article]]) -> | ||
**''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..) | **''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..) | ||
**''cd aMule-X.X.X'' | **''cd aMule-X.X.X'' | ||
− | **''./configure --disable-debug --enable-optimize | + | **''./configure --disable-debug --enable-optimize'' |
+ | **''make'' | ||
− | *As '''root''': | + | *As '''root''' (in some distributions simply use "sudo" before): |
**''make install'' | **''make install'' | ||
− | *Run [[aMule]] as a regular user from console by typing | + | *Run [[aMule]] as a regular user from console by typing ''amule'', or run [[aMule]] through a link from the proper application menu of your operating system |
Revision as of 16:11, 13 June 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
- Download wxWidgets: wxWidgets-2.8.10.tar.gz
- Compile wxGTK
- tar -jxvf wxWidgets-2.8.10.tar.gz
- cd wxWidgets-2.8.10
- Linked against GTK2: ./configure --enable-unicode --enable-optimise
- make
- As root (in some distributions simply use "sudo" before):
- make install
- ldconfig
Disable the GUI
- To compile wxWidgets without a graphical User Interface, use the option --disable-gui
Step 2: aMule
- Download the latest source tarball: Download 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 (in some distributions simply use "sudo" before):
- make install