Difference between revisions of "Compilation Installation"

From AMule Project FAQ
Jump to: navigation, search
m (Step 1: wxWidgets: Update wxWidgets version to 2.8.12)
 
(23 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
<center>
 
<center>
'''English''' | [[Compilation_Installation-fr|Français]] | [[Compilation_Installation-nl|Nederlands]] | [[Compilation_Installation-br|Português]] | [[Compilation_Installation-de|Deutsch]] | [[Compilation_Installation-ru|Russian]] |
+
[[Compilation_Installation|English]] |  
 +
[[Compilation_Installation-de|Deutsch]] |  
 +
[[Compilation_Installation-es|Espa&ntilde;ol]] |  
 +
[[Compilation_Installation-fr|Fran&ccedil;ais]] |  
 
[[Compilation_Installation-it|Italiano]] |  
 
[[Compilation_Installation-it|Italiano]] |  
[[Compilation_Installation-es|Español]]
+
[[Compilation_Installation-nl|Nederlands]] |
 
+
[[Compilation_Installation-pl|Polish]] |
 +
[[Compilation_Installation-br|Português]] |
 +
[[Compilation_Installation-ru|Russian]]
 
</center>
 
</center>
  
== Manual de instalación ==
+
== 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|check if wx is installed twice]], since that's a common compilation and runtime problem.
  
Para instalar aMule puedes instalarlo desde scracth, tal como está indicado en Compilando desde el código, o usar RPMs, tal como está indicado en la sección Instalación usando RPMs. Si usas RPMs irá a más velocidad pero no está disponible por defecto en todas las distribuciones de linux.
+
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.
 
+
 
+
== Compilando desde el código ==
+
 
+
ATENCIÓN: Asegúrate de que no tienes copias instaladas de wxWidgets. Si ya tienes instalado, ve a Como desinstalar wxWidgets antes de empezar una nueva instalación wxWidgets. Si continuas teniendo problemas, revisa si tienes instalado wx dos veces.
+
Existen diferentes versiones de wxWidgets para las diferentes plataformas. Linux, Solarias y BSD usan wxGTK, wxMSW para Windows y wxMac para Mac OS X. Aquí te explicaremos la compilación mediante el uso de wxGTK, pero se asemeja a otras herramientas de software.
+
 
+
 
+
Por favor mira estos artículos para una información más detallada.
+
  
 +
Please see the specific articles for more detailed instructions.
 
*[[HowTo_compile_on_Mac|Compile aMule on Mac]]
 
*[[HowTo_compile_on_Mac|Compile aMule on Mac]]
 
*[[HowTo compile on Win32|Compile aMule on Windows]]
 
*[[HowTo compile on Win32|Compile aMule on Windows]]
  
==== Paso1: [[wxWidgets]] ====
+
=== Step 1: [[wxWidgets]] ===
*Descarga [[wxWidgets|wxGTK]] ->
+
*Download [[wxWidgets]]: [http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz wxWidgets-2.8.12.tar.gz]
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2 wxGTK-2.8.4.tar.bz2]
+
  
*Compila [[wxWidgets|wxGTK]]
+
*Compile [[wxWidgets]]
**''tar -jxvf wxGTK-2.8.4.tar.bz2''
+
**''tar -zxvf wxWidgets-2.8.12.tar.gz''
**''cd wxGTK-2.8.4''
+
**''cd wxWidgets-2.8.12''
**''Enlázalo con GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
+
**''Linked against [http://www.gtk.org GTK]2: ./configure --enable-unicode --enable-optimise
*Logeate como '''root''' y inserta:
+
**''make''
 +
 
 +
*As '''root''' (in some distributions simply use "sudo" before):
 
**''make install''
 
**''make install''
 
**''ldconfig''
 
**''ldconfig''
  
 +
==== Disable the GUI ====
 +
*To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui''
  
===== [[wxBase]] =====
+
=== Step 2: [[aMule]] ===
 +
*Download the latest [[aMule SVN|source tarball]]: [http://amule.sourceforge.net/tarballs/tarballs.xml Download aMule]
  
*Desde [[wxGTK]] 2.5.x, no necesitas [[wxBase]] a no ser que quieras compilar [[aMuled|aMule daemon]] sin X.
+
*Compile [[aMule]] (please check the [[configure|configure article]]) ->
*Para compilar wxWidgets sin una interfaz de u, utiliza la opción --disable-gui
+
**''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..)
 
+
==== Paso3: [[aMule]] ====
+
 
+
*Descarga la última versión de [[aMule]] ->
+
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Última versión de aMule]
+
 
+
*Compila [[aMule]] (por favor, revisa el [[configure|artículo de configuración de aMule]]) ->
+
**''tar -zxvf aMule-X.X.X.tar.gz'' (sustituye la X por la versión que poseas..)
+
 
**''cd aMule-X.X.X''
 
**''cd aMule-X.X.X''
**''./configure --disable-debug --enable-optimize && make''
+
**''./configure --disable-debug --enable-optimize''
 +
**''make''
  
*Como'''root''':
+
*As '''root''' (in some distributions simply use "sudo" before):
 
**''make install''
 
**''make install''
  
*Inicia [[aMule]] como usuario normal escribiendo en consola -> ''amule''
+
*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
 
+
====='''aMule 2.1.3 y wxWidgets 2.8.4'''=====
+
*Para compilar y enlazar aMule 2.1.3 con wxWidgets 2.8.4, necesitas [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 aMule-wx.patch]
+
*Aplica el parche usando ''patch -p1 < aMule-wx.patch'' antes de ejecutar ''make''.
+
 
+
== Instalación usando RMPs ==
+
 
+
==== Paso1: [[wxWidgets|wxGTK]] ====
+
 
+
*Descarga[[wxWidgets|wxGTK]] para tu distro de [http://www.kernel.org Linux] ->
+
**[http://www.amule.org/files/files.php?cat=12 wxGTK-2.6.3]
+
 
+
*Instala [[wxWidgets|wxGTK]] ->
+
**Como '''root''':
+
***''rpm -Uvh wxGTK-2.6.3-X.rpm'' (Cambia la X por el nombre correcto..)
+
***''ldconfig''
+
 
+
==== Paso2: [[aMule]] ====
+
 
+
*Descarga la última version de [[aMule]] ->
+
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Última versión de aMule]
+
 
+
*Instala [[aMule]] ->
+
**Como'''root''':
+
***''rpm -Uvh aMule-X.rpm'' (sustituye la X por la versión correcta..)
+
 
+
* Inicia [[aMule]] como un usuario normal desde tu consola escribiendo -> ''amule''
+

Latest revision as of 10:34, 10 July 2020

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 wxWidgets
    • tar -zxvf wxWidgets-2.8.12.tar.gz
    • cd wxWidgets-2.8.12
    • 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

  • 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
  • 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