Difference between revisions of "Compilation Installation"

From AMule Project FAQ
Jump to: navigation, search
Line 4: Line 4:
 
</center>
 
</center>
  
== Manual Installation ==
+
== Manual de instalación ==
  
To install [[aMule]] you can either install it from scratch, as described in [[Compilation_Installation#Compiling From Sources|Compiling From Sources]], or use [http://www.rpm.org RPM]s, as described in the [[Compilation_Installation#Installing using RPMs|Installing using RPMs]] section. Using [http://www.rpm.org RPM]s will speed things up a lot but is not available by default with all [http://www.kernel.org linux] distributions.
+
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.
  
== 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.
+
== Compilando desde el código ==
  
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.
+
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]]
  
==== Step 1: [[wxWidgets]] ====
+
==== Paso1: [[wxWidgets]] ====
 
+
*Descarga [[wxWidgets|wxGTK]] ->
*Download [[wxWidgets|wxGTK]] ->
+
 
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2 wxGTK-2.8.4.tar.bz2]
 
**[http://downloads.sourceforge.net/wxwindows/wxGTK-2.8.4.tar.bz2 wxGTK-2.8.4.tar.bz2]
  
*Compile [[wxWidgets|wxGTK]]
+
*Compila [[wxWidgets|wxGTK]]
 
**''tar -jxvf wxGTK-2.8.4.tar.bz2''
 
**''tar -jxvf wxGTK-2.8.4.tar.bz2''
 
**''cd wxGTK-2.8.4''
 
**''cd wxGTK-2.8.4''
**''Linked against [http://www.gtk.org GTK]2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
+
**''Enlázalo con GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
*As '''root''':
+
*Logeate como '''root''' y inserta:
 
**''make install''
 
**''make install''
 
**''ldconfig''
 
**''ldconfig''
 +
  
 
===== [[wxBase]] =====
 
===== [[wxBase]] =====
  
*Since [[wxGTK]] 2.5.x, you don't need [[wxBase]] anymore unless you want to compile [[aMuled|aMule daemon]] without X.
+
*Desde [[wxGTK]] 2.5.x, no necesitas [[wxBase]] a no ser que quieras compilar [[aMuled|aMule daemon]] sin X.
*To compile wxWidgets without a graphical User Interface, ''use the option --disable-gui''
+
*Para compilar wxWidgets sin una interfaz de u, utiliza la opción --disable-gui
  
==== Step 3: [[aMule]] ====
+
==== Paso3: [[aMule]] ====
  
*Download the latest [[aMule]] version ->
+
*Descarga la última versión de [[aMule]] ->
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule]
+
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Última versión de aMule]
  
*Compile [[aMule]] (please check the [[configure|configure article]]) ->
+
*Compila [[aMule]] (por favor, revisa el [[configure|artículo de configuración de aMule]]) ->
**''tar -zxvf aMule-X.X.X.tar.gz'' (replace X with the right version number..)
+
**''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''
  
*As '''root''':
+
*Como'''root''':
 
**''make install''
 
**''make install''
  
*Run [[aMule]] as a regular user from console by typing -> ''amule''
+
*Inicia [[aMule]] como usuario normal escribiendo en consola -> ''amule''
  
====='''aMule 2.1.3 and wxWidgets 2.8.4'''=====
+
====='''aMule 2.1.3 y wxWidgets 2.8.4'''=====
*In order to compile aMule 2.1.3 against wxWidgets 2.8.4, you need the [http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/aMule-wx.patch?rev=1.2 aMule-wx.patch]
+
*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]
*Apply the patch using ''patch -p1 < aMule-wx.patch'' before executing ''make''.
+
*Aplica el parche usando ''patch -p1 < aMule-wx.patch'' antes de ejecutar ''make''.
  
== Installing using RPMs ==
+
== Instalación usando RMPs ==
  
==== Step 1: [[wxWidgets|wxGTK]] ====
+
==== Paso1: [[wxWidgets|wxGTK]] ====
  
*Download [[wxWidgets|wxGTK]] for your [http://www.kernel.org Linux] distribution ->
+
*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]
 
**[http://www.amule.org/files/files.php?cat=12 wxGTK-2.6.3]
  
*Install [[wxWidgets|wxGTK]] ->
+
*Instala [[wxWidgets|wxGTK]] ->
**As '''root''':
+
**Como '''root''':
***''rpm -Uvh wxGTK-2.6.3-X.rpm'' (replace X with the right name..)
+
***''rpm -Uvh wxGTK-2.6.3-X.rpm'' (Cambia la X por el nombre correcto..)
 
***''ldconfig''
 
***''ldconfig''
  
==== Step 2: [[aMule]] ====
+
==== Paso2: [[aMule]] ====
  
*Download latest [[aMule]] version ->
+
*Descarga la última version de [[aMule]] ->
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Latest aMule]
+
**[http://developer.berlios.de/project/showfiles.php?group_id=1296 Última versión de aMule]
  
*Install [[aMule]] ->
+
*Instala [[aMule]] ->
**As '''root''':
+
**Como'''root''':
***''rpm -Uvh aMule-X.rpm'' (replace X with the right name and version number..)
+
***''rpm -Uvh aMule-X.rpm'' (sustituye la X por la versión correcta..)
  
* Run [[aMule]] as a regular user from your console by typing -> ''amule''
+
* Inicia [[aMule]] como un usuario normal desde tu consola escribiendo -> ''amule''

Revision as of 21:21, 19 December 2007

English | Français | Nederlands | Português | Deutsch | Russian | Italiano

Manual de instalación

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.


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.

Paso1: wxWidgets

  • Compila wxGTK
    • tar -jxvf wxGTK-2.8.4.tar.bz2
    • cd wxGTK-2.8.4
    • Enlázalo con GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --enable-optimise && make
  • Logeate como root y inserta:
    • make install
    • ldconfig


wxBase
  • Desde wxGTK 2.5.x, no necesitas wxBase a no ser que quieras compilar aMule daemon sin X.
  • Para compilar wxWidgets sin una interfaz de u, utiliza la opción --disable-gui

Paso3: aMule

  • Compila aMule (por favor, revisa el 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
    • ./configure --disable-debug --enable-optimize && make
  • Comoroot:
    • make install
  • Inicia aMule como usuario normal escribiendo en consola -> amule
aMule 2.1.3 y wxWidgets 2.8.4
  • Para compilar y enlazar aMule 2.1.3 con wxWidgets 2.8.4, necesitas aMule-wx.patch
  • Aplica el parche usando patch -p1 < aMule-wx.patch antes de ejecutar make.

Instalación usando RMPs

Paso1: wxGTK

  • Instala wxGTK ->
    • Como root:
      • rpm -Uvh wxGTK-2.6.3-X.rpm (Cambia la X por el nombre correcto..)
      • ldconfig

Paso2: aMule

  • Instala aMule ->
    • Comoroot:
      • rpm -Uvh aMule-X.rpm (sustituye la X por la versión correcta..)
  • Inicia aMule como un usuario normal desde tu consola escribiendo -> amule