<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=83.41.82.130</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=83.41.82.130"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/83.41.82.130"/>
		<updated>2026-04-05T18:04:38Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian-es</id>
		<title>HowTo Compile In Debian-es</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian-es"/>
				<updated>2006-05-05T13:41:13Z</updated>
		
		<summary type="html">&lt;p&gt;83.41.82.130: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;[[HowTo_Compile_In_Debian|English]] | '''Español'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
COMO compilar [[aMule]] en [[Debian]] o [http://www.ubuntulinux.org Ubuntu] por ''[[User:Jacobo221|Jacobo221]]'' y los ayudantes [http://www.gnu.org GNU] [http://www.kernel.org Linux]&lt;br /&gt;
&lt;br /&gt;
Traducción por ''[[User:seath|T. Bernaschina]]''&lt;br /&gt;
&lt;br /&gt;
¡Gracias muy especiales a ''darknox'', ''Arathornz'', ''guest234'', ''parasito'', ''maya'' y ''klando'' por sus pruebas!!&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Este COMO estará enfocado también en [http://www.ubuntulinux.com Ubuntu Linux].&lt;br /&gt;
&lt;br /&gt;
== ¿Está seguro de que quiere compilar? ==&lt;br /&gt;
&lt;br /&gt;
Si no, (que es bastante común) decida si quiere la versión estable de&lt;br /&gt;
[[aMule]] o la última versión del [[aMule CVS]].&lt;br /&gt;
&lt;br /&gt;
=== Versión estable de [[aMule]] ===&lt;br /&gt;
&lt;br /&gt;
Puede instalar la última versión estable de [[aMule]] a través de los [http://packages.debian.org deb]s, para esto tiene que añadir la siguiente línea en su archivo ''/etc/apt/sources.list'':&lt;br /&gt;
&lt;br /&gt;
 deb http://amule-debian.dyndns.org/ debian/&lt;br /&gt;
&lt;br /&gt;
Ahora ejecute &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Si al intentar instalar [[aMule]] aparece un mensaje de error quejandose por &amp;lt;code&amp;gt;libbfd-2.xx.so&amp;lt;/code&amp;gt;, solamente cambie a superusuario ''root'' y vaya a ''/usr/lib'' y haga &amp;lt;code&amp;gt;ln -s libbfd.so libbfd-2.xx.so&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Esto de arriba no funcionó para mí, pero esto si: &amp;lt;code&amp;gt;ln -s libbfd-2.16.1.so libbfd-2.15.so&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Versión de [[aMule CVS]] ===&lt;br /&gt;
&lt;br /&gt;
Puede conseguir la última versión de [[aMule CVS]] a través de los debs, tiene que añadir la siguiente línea en su archivo ''/etc/apt/sources.list'':&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
Ahora ejecute ''apt-get update &amp;amp;&amp;amp; apt-get install amule''&lt;br /&gt;
&lt;br /&gt;
Puede que desee ver las otras utilidades disponibles para [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule CVS]]'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-utils&lt;br /&gt;
*amule-utils-gui&lt;br /&gt;
*amule-ed2k&lt;br /&gt;
*amule-cas&lt;br /&gt;
*amule-wxcas&lt;br /&gt;
*amule-xas&lt;br /&gt;
*amule-common&lt;br /&gt;
*amule-theme-default&lt;br /&gt;
*amule-theme-php-default&lt;br /&gt;
*amule-theme-chicane&lt;br /&gt;
*amuleweb&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-alc&lt;br /&gt;
*amule-alcc&lt;br /&gt;
*amule-cmd&lt;br /&gt;
*amule-i18n-ar&lt;br /&gt;
*amule-i18n-bg&lt;br /&gt;
*amule-i18n-ca&lt;br /&gt;
*amule-i18n-da&lt;br /&gt;
*amule-i18n-de&lt;br /&gt;
*amule-i18n-en-gb&lt;br /&gt;
*amule-i18n-en-us&lt;br /&gt;
*amule-i18n-es&lt;br /&gt;
*amule-i18n-es-mx&lt;br /&gt;
*amule-i18n-et-ee&lt;br /&gt;
*amule-i18n-eu&lt;br /&gt;
*amule-i18n-fi&lt;br /&gt;
*amule-i18n-fr&lt;br /&gt;
*amule-i18n-gl&lt;br /&gt;
*amule-i18n-hr&lt;br /&gt;
*amule-i18n-hu&lt;br /&gt;
*amule-i18n-it-ch&lt;br /&gt;
*amule-i18n-it&lt;br /&gt;
*amule-i18n-ko-kr&lt;br /&gt;
*amule-i18n-nl&lt;br /&gt;
*amule-i18n-pl&lt;br /&gt;
*amule-i18n-pt-br&lt;br /&gt;
*amule-i18n-pt-pt&lt;br /&gt;
*amule-i18n-ru&lt;br /&gt;
*amule-i18n-sl&lt;br /&gt;
*amule-i18n-zh-cn&lt;br /&gt;
*amule-i18n-zh-tw&lt;br /&gt;
&lt;br /&gt;
'''[[aMule]] estable'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-gui-utils (alc, wxcas)&lt;br /&gt;
*amule-console-utils (amuleweb, alcc, cas)&lt;br /&gt;
*amule-utils (amule-console-utils &amp;amp; amule-gui-utils)&lt;br /&gt;
&lt;br /&gt;
Por ejemplo, si cree que la [[Webserver|interfaz de Web]] del [[aMule]] es buena y desea tenerla también, ejecute la siguiente linea después de la de arriba:&lt;br /&gt;
&lt;br /&gt;
Para [[aMule CVS]]: ''apt-get install amuleweb''&lt;br /&gt;
&lt;br /&gt;
Para [[aMule]] estable: ''apt-get install amule-console-utils''&lt;br /&gt;
&lt;br /&gt;
Si todavía desea compilar [[aMule]] en vez de instalar un binario, siga leyendo...&lt;br /&gt;
&lt;br /&gt;
==  Notas antes de comenzar ==&lt;br /&gt;
&lt;br /&gt;
'''Importante:''' Tenga en mente que este COMO fue hecho para aMule 2.0.0 o superior en [[Debian]] 3.0 (Woody/Sarge/Sid).&lt;br /&gt;
&lt;br /&gt;
Este COMO está basado en la utilización de apt-get la herramienta de instalación de paquetes, lo que significa que tendrá que ser capaz de tener acceso de superusuario (root). También, apt-get requiere que las dependencias de paquetes esten perfectamente instaladas en el sistema. Si por lo general usa apt-get para para instalar cualquier aplicación, saltese esto y vaya a la siguiente sección. Si raras veces usa apt-get, pero en cambio, usa dpkg, puede;&lt;br /&gt;
&lt;br /&gt;
A) (Recomendado) Soluciona todos los problemas de dependencias en su sistema.&lt;br /&gt;
Esto puede ser hecho viendo la salida de &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; e instalando/quitando/actualizando los paquetes que esto menciona según se requieren. Esta opción es la recomendada ya que no sólo asegurará que su compilación de aMule será la más correcta, sino que también hará su sistema lo más estable posible y desde ahora será capaz de usar apt-get no sólo para hacer las instalaciones más fáciles, sino que también mejorarara su sistema.&lt;br /&gt;
&lt;br /&gt;
B) Forzar a apt-get para ignorar los problemas de dependencias usando -f o --fix-broken switches (solamente uno de estos, ya que son exactamente lo mismo, entonces podría ser, por ejemplo &amp;lt;code&amp;gt;&amp;quot;apt-get install -f ...&amp;quot;&amp;lt;/code&amp;gt;). Esta opción puede causar una instalación corrupta de algunos paquetes que pueden hacer que la aplicación no funcione. También tenga en mente que utilizar esto pone en marcha un sistema con problemas de dependencias y puede hacer que el sistema se rompa completamente si el paquete instalado es un paquete base (aunque no es el caso).&lt;br /&gt;
&lt;br /&gt;
C) Seguir estas instrucciones, pero, en vez de usar &amp;lt;code&amp;gt;&amp;quot;apt-get install foo&amp;quot;&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;&amp;quot;dpkg -i foo&amp;quot;&amp;lt;/code&amp;gt; donde foo es el paquete para instalar. Recuerde que los paquetes deben ya estar en el sistema cuando instale paquetes con dpkg. Acuérdese también de descargar cualquier paquete de &amp;quot;Depends (dependencias)&amp;quot; ya que seguramente será necesario para compilar [[aMule]] satisfactoriamente. Evite usar cualquiera de las siguientes opciones de dpkg: --force-all --force-depends-version --force-depends --force-conflicts&lt;br /&gt;
&lt;br /&gt;
Si por lo general instala aplicaciones desde los archivos fuente, lea deltaHF's [[Compilation_Installation|&amp;quot;Compilación de aMule / Como instalación&amp;quot;]]  ya que su sistema no podría conformar las dependencias del paquete del aMule de Debian aunque con &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; no muestre ningún error.&lt;br /&gt;
&lt;br /&gt;
== Lo más fácil: Preparación del sistema   ==&lt;br /&gt;
&lt;br /&gt;
Una vez que decidió usar apt-get, debe asegurarse que descargará las últimas versiones de los paquetes (el equipo de aMule ha descubierto fallas en algunos paquetes de deb que harían a aMule imposible de compilar sobre Debian sin compilar algunas otras bibliotecas también. Estas fallas han sido fijadas en paquetes de debian, entonces es muy importante estar seguro de tener los paquetes actualizados). Esto se logra haciendo:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
'''''Nota 1:''' Debe ser superusuario para hacer esto. Ingrese como superusuario o como &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o use &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;. NB: &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; debe ser especificado en ambos comandos del apt-get, de esta forma:''&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; no es un comando base, puede que no esté instalado en su sistema, aunque lo más probable es que si. Esté enterado que siguiendo este Como enteramente como root puede traer algunos problemas más adelante, por ejemplo no poder suprimir ciertos archivos como usuario normal, entonces por favor use los privilegios de root cuando sea necesario.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 2:''' Usuarios Woody (es decir, la gente pegada en el rama estable de Debian 3.0) no podrá instalar el wxGTK, wxbase y bibliotecas de Crypto++ puesto que no estaban disponibles en las versiones compatibles mínimas actuales (2.4.2 y 2.5.1 respectivamente) cuando Woody fue liberado.''&lt;br /&gt;
&lt;br /&gt;
''Lo mejor para los usuarios de Woody es cambiar al rama de Sarge o de Sid. Eso se puede hacer con el siguiente comando (otra vez, usted debe ser root)''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/testing/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''o''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/sarge/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''para cambiar a la rama de Sarge/testing, o con''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/unstable/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
''o''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/sid/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''para cambiar a la rama de Sid/unstable.''&lt;br /&gt;
&lt;br /&gt;
''Si los usuarios de Woody no estan interesados en cambiar a Sarge necesitarán descargar los paquetes debian Woody-backported agregando la siguiente línea a /etc/apt/sources.list (recuerde hacer un &amp;lt;code&amp;gt;&amp;quot;apt-get update&amp;quot;&amp;lt;/code&amp;gt; después de agregar esta línea):''&lt;br /&gt;
&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://debian.thermoman.de/&amp;lt;/nowiki&amp;gt; woody wxwindows2.4 libcrypto++&lt;br /&gt;
&lt;br /&gt;
''Que más, detener el trabajo de [http://www.thermoman.de thermoman] en el backports del [[aMule]] para [http://www.debian.org Woody] en la versión [[aMule]] 2.0.0-rc5, los lanzaminetos más nuevos de backports de [[aMule]] son inasequibles. Disculpen.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 3:''' Los usuarios de Sarge no tendrán ningún problemas de dependencia, ya que tanto crypto++ y wxWidgets ahora han sidos colocados en Sarge. Por lo tanto ya no hay necesidad de actualizar el archivo 'sources.list'' en las distribuciones de Debian Sarge.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 4:''' Los usuarios de Sid (es decir, la gente que lleva a cabo la rama inestable de Debian 3.0) podría sufrir problemas de paquetes no completamente puestos en práctica o con dependencias rotas (ambas cosas son normales en la rama inestable). Es muy importante tener esto presente puesto que un compilador (g++) será instalado y que podría estar con fallas y arrastrar las fallas a la mayoría de los paquetes que se compilaron con él (hasta que sea actualizado, desde luego). Si un paquete estuviera con fallas, para retroceder puede usar la opción --force-downgrade con dpkg.''&lt;br /&gt;
&lt;br /&gt;
Si por alguna razón piensa que todo esto es muy complicado, puede esperar un par de días hasta que aparezca una versión binaria de aMule para su arquitectura (como un archivo .deb)&lt;br /&gt;
&lt;br /&gt;
== Lo más rápido: Instalación de los paquetes necesarios ==&lt;br /&gt;
&lt;br /&gt;
Recuerde que necesita ser superusuario (root) para instalar sus aplicaciones usando apt-get, ya que apt-get instala las aplicaciones con sus dependencias. Sino ingresa como superusuario (root), use &amp;quot;su&amp;quot; o añada &amp;quot;sudo&amp;quot; antes de cada comando mostrado aqui.&lt;br /&gt;
&lt;br /&gt;
Los siguientes son los paquetes que deben ser instalados:&lt;br /&gt;
&lt;br /&gt;
1) Instale el último compilador estable de g++ y la Libreria Standar de C++&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++&lt;br /&gt;
&lt;br /&gt;
las librerias requeridas para compilar [[aMule]] (wxbase realmente no es una libreria requerida para compilar aMule, pero a menos que sepa lo que está haciendo, asegurese de instalarlo. No demostraré en esta esta guía cómo forzar la compilación de aMule sin wxbase):&lt;br /&gt;
&lt;br /&gt;
 apt-get install libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
Alternativamente puede utilizar &amp;lt;code&amp;gt;apt-get build-dep amule&amp;lt;/code&amp;gt; para conseguir todas las dependencias requeridas para la compilación. De todas formas, este último método no es seguro que funcione, puesto que dependerá de la última versión en el depósito de Debian o las versiones de CVS que puden tener diferentes dependencias.&lt;br /&gt;
Y una utilidad requerida para compilar [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 5:''' Todo esto se puede hacer en un sólo comando, lo que puede ser más comodo para los usuarios usando &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; para obtener privilegios de superusuario (root):''&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++ libwxbase2.4-dev libcurl3-dev libgtk1.2-dev gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 6:''' Del aMule 2.0.0-rc1 al aMule 2.0.0-rc5 (inclusive) el paquete ''libcrypto++-dev'' es necesario para compilar aMule, sólo si está compilando alguna de estas versiones, también debería hacer un apt-get libcrypto++-dev.&lt;br /&gt;
&lt;br /&gt;
También, podría estar interesado en la instalación de libgd2-noxpm-dev, si planea compilar CAS (Habilitación de columna de direcciones). Esta no es una biblioteca requerida para compilar CAS (Habilitación de columna de direcciones), esta biblioteca sólo es usada por CAS (Habilitación de columna de direcciones) para crear imágenes (desde v2.0.0-rc3) sobre el estado actual de aMule (ejecutando &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt;). Si usted planea usar esta caracteristica de CAS, usted tiene que instalar LibGD2. De todos modos, CAS compilará perfectamente incluso si LibGD2 no es instalada, ya que es detectada, en tiempo de compilación, si dicha biblioteca está instalada.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 7:''' Los usuarios de Woody probablemente no podrán conseguir libgd2-xpm-dev y libcurl3-dev ya que esos paquetes no están disponibles para Woody. Para libcurl3-dev sólo puede instalar libcurl2-dev i continuar, todo estará bien para libgd2-xpm, en este momento no hay backport disponible pero, ya que esta biblioteca es utilizada solamente por CAS (y sugerido, incluso no requerido), no dará ningún problema en tiempo de compilación. Solamente esté consciente que &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt; no funcionará.''&lt;br /&gt;
&lt;br /&gt;
2) Descargue la última versión del codigo fuente de [[aMule]] desde [http://www.amule.org/files/files.php?cat=6 aquí] (o vea [[AMule_CVS|aquí]] para actualizar el enlace).&lt;br /&gt;
&lt;br /&gt;
'''''Nota 8:''' Desde ahora, Supondré que estamos instalando  aMule 2.0.0-rc3''&lt;br /&gt;
&lt;br /&gt;
3) Arreglo de la Libreria Crypto++ 5.1 if si es que la usa.&lt;br /&gt;
&lt;br /&gt;
Desde [[aMule]] 2.0.0-rc1 hasta aMule 2.0.0-rc5 (inclusive) esta libreria es requerida porque [[aMule]] ahora está soportando SecureIdent (recuerde, desde aMule 2.0.0-rc6, libcrypto++ es opcional y no se necesita por defecto), pero el paquete de [[Libcrypto|Crypto++]] [[Debian]] ha tenido fallas de compilación y todavía tiene una (aunque el resto se han descubierto después de los informes del equipo del aMule). Recuerde que debe hacer un update y un dist-upgraded con apt-get antes de instalar cualquier paquete de [[Debian]] en este Como, si no, usted podría instalar (o haber instalado ya) un paquete Crypto++ con fallas y este problema no satisfacerá sus necesidades. Para arreglar el último paquete de [[Libcrypto|crypto++]] [[Debian]] sólo es necesario un enlace simbólico:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h&lt;br /&gt;
&lt;br /&gt;
''Si todavía no puede compilar crypto++, intente compilarlo después de ejecutar el siguiente comando:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++ /usr/include/cryptopp&lt;br /&gt;
&lt;br /&gt;
'''''Nota 9:''' Ya que este enlace necesita permisos de escritura en /usr/lib, los privilegios de superusuario (root) son necesarios. Una vez más esto se puede hacer facilmete con &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=== Usando [[wxWidgets]] 2.6 ===&lt;br /&gt;
&lt;br /&gt;
Los usuarios de [[Debian|Etch]] y [[Debian|Sid]] pueden usar wxWidgets 2.6 en lugar de wxWidgets 2.4 (los usuarios de Woody y Sarge olvidadlo. Pasad directamente al capítulo siguiente).&lt;br /&gt;
&lt;br /&gt;
Para usar wxWidgets 2.6 en lugar de 2.4, simplemente reemplazad en los comandos menionados hasta ahora los términos ''libwxbase2.4-dev'' y ''libwxgtk2.4-dev'' por ''libwxbase2.6-dev'' y libwxgtk2.6-dev'' respectivamente.&lt;br /&gt;
&lt;br /&gt;
Si se debe o no usar wx 2.6 en lugar de wx 2.4 es una decision personal. Tiene ventajas y desventajas. De todas maneras, en la mayoría de casos, se agradece usar wx 2.6, así que está recomendado.&lt;br /&gt;
&lt;br /&gt;
== Lo más duro: Compilación [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
4) Extraiga las fuentes. Lo siguiente creará una carpeta en el directorio home de su usuario donde extraerá las fuentes con la opción -C en ella (el siguiente comando entiende que las fuentes de [[aMule]] están en el directorio actual): &lt;br /&gt;
&lt;br /&gt;
 mkdir ~/aMule-compilation/ &amp;amp;&amp;amp; tar xzfv aMule-2.0.0rc3.tar.gz -C ~/aMule-compilation/ &amp;amp;&amp;amp; cd ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
'''''Nota 10:''' Recuerde que estoy suponiendo que está extrayendo [[aMule]] 2.0.0-rc3. Cambie el nombre de archivo si no corresponde con el nombre del archivo del codigo fuente.''&lt;br /&gt;
&lt;br /&gt;
5) ¡Compile [[aMule]]! El siguiente comando cambiará al directorio que contiene [[aMule]] 2.0.0rc3 y lo compilará:&lt;br /&gt;
&lt;br /&gt;
 cd ~/aMule-compilation/aMule-2.0.0rc3/ &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 11:''' Por favor vea el [[configure|articulo de configuración]].''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 12:''' Usted debe comprobar la salida de&lt;br /&gt;
 ./configure --help | more&lt;br /&gt;
para ver si hay cualquier cambio en la configuración que puede ser de su interés, por ejemplo --disable-debug --enable-optimise o --bindir= ''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 13:''' si aparece un mensaje de error, mientras compila, similar a: &amp;quot;In file included from /usr/include/wx/***:***, [...] /usr/include/wx/******:***: internal compiler error: Segmentation fault&amp;quot;, lo más probable es que tenga problemas con wxWidgets. Intente con''&lt;br /&gt;
&lt;br /&gt;
 apt-get install --reinstall wxwin2.4-headers libwxbase2.4 libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
''el cuál reinstalará wxWidgets y probablemente arreglará el error de compilación.''&lt;br /&gt;
&lt;br /&gt;
== Reunión de satisfacción: ¡Instalación de aMule! ==&lt;br /&gt;
&lt;br /&gt;
8) ¿Qué es falta? Instale aMule (recuerde que usted debe ser superusuario (root), entonces conéctese como la superusuario (root) o use code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Ahora puede remover los fuentes para liberar espacio en el disco duro, debe ejecutar:&lt;br /&gt;
&lt;br /&gt;
 rm -rf ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
== El final: Comprobaciónes finales ==&lt;br /&gt;
&lt;br /&gt;
Si usted alguna vez ha instalado aMule de los paquetes de Debian (no importa si el paquete viene de http://gunnm.org/~soda), usted tendrá binarios aMule instalados en /usr/bin. Pero &amp;lt;code&amp;gt;&amp;quot;make install&amp;quot;&amp;lt;/code&amp;gt; instala binarios en /usr/local/bin (a no ser que --prefix= sea puesto en la configuración). Esto nos conduce al punto que escribiendo &amp;quot;amule&amp;quot; alguna de las dos versiones de aMule podría ser invocada para instalarse (cual es ejecutado dependerá de la variable de ambiente $PATH. Usted puede comprobarlo escribiendo &amp;lt;code&amp;gt;&amp;quot;type amule&amp;quot;&amp;lt;/code&amp;gt;). El paso siguiente es muy fácil: quite el aMule instalado por el paquete de [[Debian]]. Puede hacer esto con el comando &amp;quot;apt-get remove amule&amp;quot; (no use &amp;lt;code&amp;gt;&amp;quot;apt-get remove --purge&amp;quot;&amp;lt;/code&amp;gt; o podría perder sus ajustes de [[aMule]]) o con &amp;lt;code&amp;gt;&amp;quot;dpkg --remove amule&amp;quot;&amp;lt;/code&amp;gt; (otra vez, nunca use &amp;lt;code&amp;gt;&amp;quot;dpkg --purge&amp;quot;&amp;lt;/code&amp;gt; o usted podría perder sus ajustes de [[aMule]]). apt-get quitará aMule-utils si usted lo tiene instalado (sólo disponible como un paquete separado en Sid, en Sarge y en Woody aMule utils es incluido en el paquete base de aMule) mientras dpkg dejará aMule-utils instalado en el sistema (que en general, es una mala idea). &lt;br /&gt;
&lt;br /&gt;
También, si instaló xmule o algún día piensa instalarlo, debe tener en mente esto: el [[ed2k command]] existe tanto en [[aMule]] como [[xMule]]. Usted podría querer ejecutar `type ed2k` para ver cuál [[ed2k command]] será ejecutado y renombrar el otro, entonces se asegura que nunca sea ejecutado por equivocación).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Está terminando... ==&lt;br /&gt;
&lt;br /&gt;
¡Esto es todo! Su propio [[aMule]] compilado está instalado en su sistema y listo para funcionar.&lt;br /&gt;
&lt;br /&gt;
Para ejecutar [[aMule]], solamente escriba &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. Usted puede comprobar si todo está trabajado, escribiendo &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; y comprueba si la versión mostrada está en correspondencia con la que usted compilo/instalo.&lt;br /&gt;
&lt;br /&gt;
Si este Como no ayudara, usted tiene un problema raro en su sistema;-) Mire en http://www.amule.org ([http://www.amule.org/amule Foros de aMule] en http://forum.amule.org ) o nos visita en #amule en irc.freenode.net y (no lo dúde) trataremos de hacer todo lo posible para ayudarle.&lt;br /&gt;
&lt;br /&gt;
== Notas finales ==&lt;br /&gt;
&lt;br /&gt;
Si usted está en uno de aquellos casos raros cuando usted desea compilar [[aMule]] estáticamente, instalar también ''libtiff4-dev'' (por ''apt-get install libtiff4-dev''). De todos modos, esto '''NO''' es recomendado y de hecho, probablemente no hará ninguna mejora o hasta, no trabajan en nada.&lt;/div&gt;</summary>
		<author><name>83.41.82.130</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu</id>
		<title>HowTo Compile In Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu"/>
				<updated>2006-05-05T13:41:05Z</updated>
		
		<summary type="html">&lt;p&gt;83.41.82.130: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo_Compile_In_Debian-es|Español]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HowTo compile [[aMule]] in [[Debian]] or [http://www.ubuntulinux.org Ubuntu] by ''[[User:Jacobo221|Jacobo221]]'' and [http://www.gnu.org GNU] [http://www.kernel.org Linux] helpers&lt;br /&gt;
&lt;br /&gt;
Very special thanks to ''darknox'', ''Arathornz'', ''guest234'', ''parasito'', ''maya'' and ''klando'' for their tests!&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This howto will also work for [http://www.ubuntulinux.com Ubuntu Linux].&lt;br /&gt;
&lt;br /&gt;
== Are you sure you want to compile? ==&lt;br /&gt;
&lt;br /&gt;
If not, (which is pretty common) decide if you want the [[aMule]] stable release or the [[aMule CVS]] release.&lt;br /&gt;
&lt;br /&gt;
=== [[aMule]] stable release ===&lt;br /&gt;
&lt;br /&gt;
'''These packages are for Debian 3.1 Sarge only!'''&lt;br /&gt;
&lt;br /&gt;
You can just install latest stable [[aMule]] version through [http://packages.debian.org deb]s adding the following lines into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://amule-debian.dyndns.org/ debian/&lt;br /&gt;
&lt;br /&gt;
Now run &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Packages in this repository:&lt;br /&gt;
*amule&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-gui-utils (alc, wxcas)&lt;br /&gt;
*amule-console-utils (amuleweb, alcc, cas)&lt;br /&gt;
*amule-utils (metapackage for amule-gui-utils and amule-console-utils)&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* If [[aMule]] exits with error message complaining about being unable to open libbfd-2.15.so this usually means you are NOT running Debian Sarge. Don't start making symlinks or doing other workarounds, they can quite easily bork your whole system.&lt;br /&gt;
&lt;br /&gt;
* http://dude.gemil.de is deprecated. http://amule-debian.dyndns.org is (for now) just a redirect, but this might change in the future (if the repository has to move due to traffic limitations).&lt;br /&gt;
&lt;br /&gt;
=== [[aMule CVS]] release ===&lt;br /&gt;
&lt;br /&gt;
'''These packages are for Debian testing aka Etch only!'''&lt;br /&gt;
&lt;br /&gt;
You can also get the latest [[aMule CVS]] through debs adding the following line into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
packages are GPG sighned, so follow this steps:&lt;br /&gt;
 ''gpg --keyserver wwwkeys.eu.pgp.net --recv 50D0AE60''&lt;br /&gt;
 ''gpg -a --export 50D0AE60 &amp;gt; /tmp/key''&lt;br /&gt;
 ''apt-key add /tmp/key'' (requires superuser privileges)&lt;br /&gt;
&lt;br /&gt;
Now run ''apt-get update &amp;amp;&amp;amp; apt-get install amule''&lt;br /&gt;
&lt;br /&gt;
You might also want to take a look at the other available [[aMule]] utilities:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule CVS]]'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-utils&lt;br /&gt;
*amule-utils-gui&lt;br /&gt;
*amule-ed2k&lt;br /&gt;
*amule-cas&lt;br /&gt;
*amule-wxcas&lt;br /&gt;
*amule-xas&lt;br /&gt;
*amule-common&lt;br /&gt;
*amule-theme-default&lt;br /&gt;
*amule-theme-php-default&lt;br /&gt;
*amule-theme-chicane&lt;br /&gt;
*amuleweb&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-alc&lt;br /&gt;
*amule-alcc&lt;br /&gt;
*amule-cmd&lt;br /&gt;
*amule-i18n-ar&lt;br /&gt;
*amule-i18n-bg&lt;br /&gt;
*amule-i18n-ca&lt;br /&gt;
*amule-i18n-da&lt;br /&gt;
*amule-i18n-de&lt;br /&gt;
*amule-i18n-en-gb&lt;br /&gt;
*amule-i18n-en-us&lt;br /&gt;
*amule-i18n-es&lt;br /&gt;
*amule-i18n-es-mx&lt;br /&gt;
*amule-i18n-et-ee&lt;br /&gt;
*amule-i18n-eu&lt;br /&gt;
*amule-i18n-fi&lt;br /&gt;
*amule-i18n-fr&lt;br /&gt;
*amule-i18n-gl&lt;br /&gt;
*amule-i18n-hr&lt;br /&gt;
*amule-i18n-hu&lt;br /&gt;
*amule-i18n-it-ch&lt;br /&gt;
*amule-i18n-it&lt;br /&gt;
*amule-i18n-ko-kr&lt;br /&gt;
*amule-i18n-nl&lt;br /&gt;
*amule-i18n-pl&lt;br /&gt;
*amule-i18n-pt-br&lt;br /&gt;
*amule-i18n-pt-pt&lt;br /&gt;
*amule-i18n-ru&lt;br /&gt;
*amule-i18n-sl&lt;br /&gt;
*amule-i18n-zh-cn&lt;br /&gt;
*amule-i18n-zh-tw&lt;br /&gt;
&lt;br /&gt;
For example, if you think [[aMule]]'s [[Webserver|Web interface]] rocks and you want to have it too, enter this line after the one above:&lt;br /&gt;
&lt;br /&gt;
For [[aMule CVS]]: ''apt-get install amuleweb''&lt;br /&gt;
&lt;br /&gt;
For [[aMule]] stable: ''apt-get install amule-console-utils''&lt;br /&gt;
&lt;br /&gt;
If you still want to compile [[aMule]] instead of just installing a binary, keep reading...&lt;br /&gt;
&lt;br /&gt;
==  Compiling on Debian 3.0 aka Woody ==&lt;br /&gt;
&lt;br /&gt;
'''Important:''' Have in mind that this HowTo was done having in mind aMule 2.0.0 or greater in [[Debian]] 3.0 (Woody/Sarge/Sid).&lt;br /&gt;
&lt;br /&gt;
This HowTo is based on using the apt-get package installer tool, which means you'll have to be able to get super-user (root) access. Also, apt-get requires a perfect packet dependencies installed system. If you usually use apt-get for installing any application, skip this and go to the next section. If you rarely use apt-get but, instead, use dpkg, you can;&lt;br /&gt;
&lt;br /&gt;
A) (Recommended) Solve all the dependencies problems on your system. This can be done by taking a look at the &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; output and installing/removing/updating the packages it mentions depending on what's required. This option is the recommended since it will not only ensure your aMule compilation will be most surely correct, but it will also make your system the most stable it can possibly be and from now on you'll be able to use apt-get to not only make easier installations, but also to easily upgrade your system.&lt;br /&gt;
&lt;br /&gt;
B) Force apt-get to ignore the dependencies problems using the -f or --fix-broken switches (just one of them, since they're exactly the same, so that'd be, for example, &amp;lt;code&amp;gt;&amp;quot;apt-get install -f ...&amp;quot;&amp;lt;/code&amp;gt;). This option may cause a corrupt installation of some packages which may cause the apps not to work. Also have in mind that using this switch in a system with dependencies problems may cause the system to completely break if the package being installed is a base package (although this is not the case).&lt;br /&gt;
&lt;br /&gt;
C) Follow this instructions but, instead of using &amp;lt;code&amp;gt;&amp;quot;apt-get install foo&amp;quot;&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;&amp;quot;dpkg -i foo&amp;quot;&amp;lt;/code&amp;gt; where foo is the package to install. Remember the packages must be already on the system when installing packages with dpkg. Remember also to download any &amp;quot;Depends&amp;quot; package since it most-surely will be necessary for successfully compiling [[aMule]]. Avoid using whichever of the following dpkg switches: --force-all  --force-depends-version --force-depends --force-conflicts&lt;br /&gt;
&lt;br /&gt;
If you usually install applications from source, read deltaHF's [[Compilation_Installation|&amp;quot;aMule compilation / installation HowTo&amp;quot;]] since your system might not be complying the Debian aMule package dependencies although &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; shows no errors.&lt;br /&gt;
&lt;br /&gt;
== The easiest: Preparing the system ==&lt;br /&gt;
&lt;br /&gt;
Once you decided to use apt-get, you must make sure you'll be downloading the latest versions of the packages (aMule team has discovered bugs in some deb packages that would make aMule impossible to compile on Debian without compiling some other libraries too. This bugs have been mostly fixed in those affected debian packages, so it is very important to be sure to have the packages up to date). This is done by issuing:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
'''''Note 1:''' You must be root user to do this. Log in as root or &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or use &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;. NB: &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; must be specified on both apt-get commands, that is:''&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; is not a base command, so it may not be installed on your system, although it most probably will. Be aware that following this HowTo entirely as root may bring some problems later such as being unable to delete certain files as a normal user, so please only use root priviledges when necessary.''&lt;br /&gt;
&lt;br /&gt;
'''''Note 2:''' Woody users (that is, people stuck in the stable Debian 3.0 branch) will be updated to Sarge doing apt-get dist-upgrade.&lt;br /&gt;
&lt;br /&gt;
'''''Note 3:''' Sid users (that is, people holding the cutting-edge unstable Debian 3.0 branch) could suffer problems from packages not completely implemented or with broken dependencies (both are normal issues in the unstable branch). It is very important to keep this in mind since a compiler (g++) will be installed so it could also be broken and, with it, most applications compiled with it (once upgraded, of course). If a package was broken, to downgrade you can use the --force-downgrade switch with dpkg.''&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you think this is too much of a complication, you can just wait a few days until the aMule binary version comes out for your architecture (that is, a .deb file).&lt;br /&gt;
&lt;br /&gt;
== The fastest: Installing the necessary packages ==&lt;br /&gt;
Remember you need to be root to install applications using apt-get, since apt-get installs system-wide applications. So, log in as root, use &amp;quot;su&amp;quot; or add &amp;quot;sudo&amp;quot; before every command shown here.&lt;br /&gt;
&lt;br /&gt;
The following are the packages which must be installed:&lt;br /&gt;
&lt;br /&gt;
1) Install the latest stable g++ compiler and the C++ Standard Library&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++&lt;br /&gt;
&lt;br /&gt;
the required libraries for compiling [[aMule]] (wxbase is not really a requiered packet to compile aMule but, unless you know what you're doing, be sure you install it. I won't show in this this guide how to force aMule's compilation without wxbase):&lt;br /&gt;
&lt;br /&gt;
 apt-get install libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
Alternatively you can use &amp;lt;code&amp;gt;apt-get build-dep amule&amp;lt;/code&amp;gt; to get all the required depencies for compilation. Anyway, this last method is not sure to work, since it will depend on the latest version on the Debian repository and later versions or CVS versions might have different dependencies.&lt;br /&gt;
And the required utilities for compiling [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
  apt-get install gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Note 5:''' This can all be done in a single command line, which might be more handy for users using &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; to gain root priviledges:''&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++ libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Note 6:''' From aMule 2.0.0-rc1 to aMule 2.0.0-rc5 (inclusive) the package ''libcrypto++-dev'' was necessary for compiling aMule, so if you are compiling any of such versions, apt-get libcrypto++-dev too.&lt;br /&gt;
&lt;br /&gt;
Also, you might be interested in installing libgd2-noxpm-dev if you plan to compile CAS. It is not a required library for compiling CAS, this library is only used by CAS for creating images (since v2.0.0-rc3) on the current aMule status (by running &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt;). If you plan to use this feature of CAS, you need to install LibGD2. Anyway, CAS will compile perfectly well even if LibGD2 isn't installed, since it detects, on compilation time, if this library is installed.''&lt;br /&gt;
&lt;br /&gt;
2) Download the latest released [[aMule]] source code from [http://www.amule.org/files/files.php?cat=6 here] (or look [[AMule_CVS|here]] for an up-to-date link).&lt;br /&gt;
&lt;br /&gt;
'''''Note 7:''' From now on, I will suppose we are installing aMule 2.0.0-rc3''&lt;br /&gt;
&lt;br /&gt;
3) Fix Crypto++ Library 5.1 if using it.&lt;br /&gt;
&lt;br /&gt;
From [[aMule]] 2.0.0-rc1 to a aMule 2.0.0-rc5 (inclusive) this library is required because [[aMule]] is now supporting SecureIdent (remember, since aMule 2.0.0-rc6, libcrypto++ is optional and not needed by default), but the [[Libcrypto|Crypto++]] [[Debian]] package has had lots of compiling bugs and still has one (although the rest have been fixed after aMule team's reports). Remember you should have update and dist-upgraded apt-get before installing any [[Debian]] package in this HowTo, otherwise, you could be installing (or already have installed) a buggy Crypto++ package and this fix will not suit your needs. To fix the latest [[Libcrypto|crypto++]] [[Debian]] package only a symbolic link is needed:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h&lt;br /&gt;
&lt;br /&gt;
''If you still can't compile crypto++, try compiling it after running the following command:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++ /usr/include/cryptopp&lt;br /&gt;
&lt;br /&gt;
'''''Note 8:''' Since this link needs write permissions in /usr/lib, super-user (root) priviledges are needed. Again, this can be done easily with &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=== Using [[wxWidgets]] 2.6 ===&lt;br /&gt;
&lt;br /&gt;
[[Debian|Etch]] and [[Debian|Sid]] users can use wxWidgets 2.6 instead of wxWidgets 2.4 (Woody and Sarge users, forget about it. Go straight to the next chapter of this article).&lt;br /&gt;
&lt;br /&gt;
To use wxWidgets 2.6 instead of 2.4, just replace in all the above commands the terms ''libwxbase2.4-dev'' and ''libwxgtk2.4-dev'' with ''libwxbase2.6-dev'' and libwxgtk2.6-dev'' respectively.&lt;br /&gt;
&lt;br /&gt;
Whether or not you should use wx 2.6 insetad of wx 2.4 is up to you. It has both advantages and disadvantages. Anyway, in most cases, you will be grateful to use wx 2.6, so it is recommended.&lt;br /&gt;
&lt;br /&gt;
== The hardest: Compiling [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
4) Extract the sources. The following will create a folder on your user's home directory where it will extract the sources with the -C switch into it (the following command understands that [[aMule]]'s sources are on the current directory):&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/aMule-compilation/ &amp;amp;&amp;amp; tar xzfv aMule-2.0.0rc3.tar.gz -C ~/aMule-compilation/ &amp;amp;&amp;amp; cd ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
'''''Note 9:''' Remember I'm supposing you are extracting [[aMule]] 2.0.0-rc3. Change the file name if it doesn't correspond to the actual packed source code filename.''&lt;br /&gt;
&lt;br /&gt;
5) Compile [[aMule]]! The following command will actually switch to the directory containing [[aMule]] 2.0.0rc3 and compile it:&lt;br /&gt;
&lt;br /&gt;
 cd ~/aMule-compilation/aMule-2.0.0rc3/ &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
'''''Note 10:''' Please take a look at the [[configure|configure article]].''&lt;br /&gt;
&lt;br /&gt;
'''''Note 11:''' You should check the output of&lt;br /&gt;
 ./configure --help | more&lt;br /&gt;
to see if there is any configure switch which might be of your interest, such as --disable-debug --enable-optimise or --bindir= ''&lt;br /&gt;
&lt;br /&gt;
'''''Note 12:''' if you get an error message, while compiling, similar to: &amp;quot;In file included from /usr/include/wx/***:***, [...] /usr/include/wx/******:***: internal compiler error: Segmentation fault&amp;quot;, then you most probably have problems with wxWidgets. Try with''&lt;br /&gt;
&lt;br /&gt;
 apt-get install --reinstall wxwin2.4-headers libwxbase2.4 libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
''which will reinstall wxWidgets and will most probably fix the compilation error.''&lt;br /&gt;
&lt;br /&gt;
== Meeting satisfaction: Installing aMule! ==&lt;br /&gt;
&lt;br /&gt;
8) What's left? Install aMule (remember you must be root, so log in as root or use &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now you can remove the sources so you free up space in your hard disk by running:&lt;br /&gt;
&lt;br /&gt;
 rm -rf ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
== The end: Final checks ==&lt;br /&gt;
&lt;br /&gt;
If you have sometime installed aMule from the Debian packages (no matter if the package came from http://gunnm.org/~soda ), you will have aMule binaries installed in /usr/bin. But &amp;lt;code&amp;gt;&amp;quot;make install&amp;quot;&amp;lt;/code&amp;gt; installs binnaries in /usr/local/bin (unless --prefix= is set in configure). This leads us to the point that when typing &amp;quot;amule&amp;quot; anyone of the two installed aMule versions might be invoked (which one is executed will depend on the $PATH environment variable. You can check it by typing &amp;lt;code&amp;gt;&amp;quot;type amule&amp;quot;&amp;lt;/code&amp;gt;). The walk around is very easy: remove the aMule installed through [[Debian]] package. You can do this with the command &amp;quot;apt-get remove amule&amp;quot; (do not use &amp;lt;code&amp;gt;&amp;quot;apt-get remove --purge&amp;quot;&amp;lt;/code&amp;gt; or you might loose your [[aMule]] settings) or with &amp;lt;code&amp;gt;&amp;quot;dpkg --remove amule&amp;quot;&amp;lt;/code&amp;gt; (again, never ever use &amp;lt;code&amp;gt;&amp;quot;dpkg --purge&amp;quot;&amp;lt;/code&amp;gt; or you might loose your [[aMule]] settings). apt-get will remove aMule-utils if you have them installed (only available as a separate package in Sid, in Sarge and Woody aMule utils are included in the base aMule package) while dpkg will leave aMule-utils installed on the system (which, in general, is a bad idea).&lt;br /&gt;
&lt;br /&gt;
Also, if you installed xmule sometime or you are planing to install it, have in mind that the [[ed2k command]] exists both in [[aMule]] and [[xMule]]. You might want to run `type ed2k` to see which [[ed2k command]] will be executed and rename the other so you make sure it's never executed by mistake.&lt;br /&gt;
&lt;br /&gt;
== You're done... ==&lt;br /&gt;
&lt;br /&gt;
That's it! Your own compiled [[aMule]] is installed on your system and ready to go.&lt;br /&gt;
&lt;br /&gt;
To run [[aMule]], just type &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. You can check if everything worked by typing &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; and check if the displayed version corresponds with the one you were compiling/installing.&lt;br /&gt;
&lt;br /&gt;
If this HowTo didn't help, you have a rare problem on your system ;-) Take a look at http://www.amule.org ([http://www.amule.org/amule aMule Forums] at http://forum.amule.org ) or visit us in #amule on irc.freenode.net and (don't doubt) we'll try to do our best to help you.&lt;br /&gt;
&lt;br /&gt;
== Final notes ==&lt;br /&gt;
&lt;br /&gt;
If you are in one of those rare cases when you wish to compile [[aMule]] statically, install also ''libtiff4-dev'' (through ''apt-get install libtiff4-dev''). Anyway, this is '''NOT''' recommended and, in fact, will probably not do any better or even, not work at all.&lt;/div&gt;</summary>
		<author><name>83.41.82.130</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian-es</id>
		<title>HowTo Compile In Debian-es</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian-es"/>
				<updated>2006-05-05T13:38:56Z</updated>
		
		<summary type="html">&lt;p&gt;83.41.82.130: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;[[HowTo_Compile_In_Debian|English]] | '''Español'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
COMO compilar [[aMule]] en [[Debian]] o [http://www.ubuntulinux.org Ubuntu] por ''[[User:Jacobo221|Jacobo221]]'' y los ayudantes [http://www.gnu.org GNU] [http://www.kernel.org Linux]&lt;br /&gt;
&lt;br /&gt;
Traducción por ''[[User:seath|T. Bernaschina]]''&lt;br /&gt;
&lt;br /&gt;
¡Gracias muy especiales a ''darknox'', ''Arathornz'', ''guest234'', ''parasito'', ''maya'' y ''klando'' por sus pruebas!!&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Este COMO estará enfocado también en [http://www.ubuntulinux.com Ubuntu Linux].&lt;br /&gt;
&lt;br /&gt;
== ¿Está seguro de que quiere compilar? ==&lt;br /&gt;
&lt;br /&gt;
Si no, (que es bastante común) decida si quiere la versión estable de&lt;br /&gt;
[[aMule]] o la última versión del [[aMule CVS]].&lt;br /&gt;
&lt;br /&gt;
=== Versión estable de [[aMule]] ===&lt;br /&gt;
&lt;br /&gt;
Puede instalar la última versión estable de [[aMule]] a través de los [http://packages.debian.org deb]s, para esto tiene que añadir la siguiente línea en su archivo ''/etc/apt/sources.list'':&lt;br /&gt;
&lt;br /&gt;
 deb http://amule-debian.dyndns.org/ debian/&lt;br /&gt;
&lt;br /&gt;
Ahora ejecute &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Si al intentar instalar [[aMule]] aparece un mensaje de error quejandose por &amp;lt;code&amp;gt;libbfd-2.xx.so&amp;lt;/code&amp;gt;, solamente cambie a superusuario ''root'' y vaya a ''/usr/lib'' y haga &amp;lt;code&amp;gt;ln -s libbfd.so libbfd-2.xx.so&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NOTA:''' Esto de arriba no funcionó para mí, pero esto si: &amp;lt;code&amp;gt;ln -s libbfd-2.16.1.so libbfd-2.15.so&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Versión de [[aMule CVS]] ===&lt;br /&gt;
&lt;br /&gt;
Puede conseguir la última versión de [[aMule CVS]] a través de los debs, tiene que añadir la siguiente línea en su archivo ''/etc/apt/sources.list'':&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
Ahora ejecute ''apt-get update &amp;amp;&amp;amp; apt-get install amule''&lt;br /&gt;
&lt;br /&gt;
Puede que desee ver las otras utilidades disponibles para [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule CVS]]'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-common&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amuleweb&lt;br /&gt;
*amule-cas&lt;br /&gt;
*amule-wxcas&lt;br /&gt;
*amule-xas&lt;br /&gt;
*amule-utils&lt;br /&gt;
&lt;br /&gt;
'''[[aMule]] estable'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-gui-utils (alc, wxcas)&lt;br /&gt;
*amule-console-utils (amuleweb, alcc, cas)&lt;br /&gt;
*amule-utils (amule-console-utils &amp;amp; amule-gui-utils)&lt;br /&gt;
&lt;br /&gt;
Por ejemplo, si cree que la [[Webserver|interfaz de Web]] del [[aMule]] es buena y desea tenerla también, ejecute la siguiente linea después de la de arriba:&lt;br /&gt;
&lt;br /&gt;
Para [[aMule CVS]]: ''apt-get install amuleweb''&lt;br /&gt;
&lt;br /&gt;
Para [[aMule]] estable: ''apt-get install amule-console-utils''&lt;br /&gt;
&lt;br /&gt;
Si todavía desea compilar [[aMule]] en vez de instalar un binario, siga leyendo...&lt;br /&gt;
&lt;br /&gt;
==  Notas antes de comenzar ==&lt;br /&gt;
&lt;br /&gt;
'''Importante:''' Tenga en mente que este COMO fue hecho para aMule 2.0.0 o superior en [[Debian]] 3.0 (Woody/Sarge/Sid).&lt;br /&gt;
&lt;br /&gt;
Este COMO está basado en la utilización de apt-get la herramienta de instalación de paquetes, lo que significa que tendrá que ser capaz de tener acceso de superusuario (root). También, apt-get requiere que las dependencias de paquetes esten perfectamente instaladas en el sistema. Si por lo general usa apt-get para para instalar cualquier aplicación, saltese esto y vaya a la siguiente sección. Si raras veces usa apt-get, pero en cambio, usa dpkg, puede;&lt;br /&gt;
&lt;br /&gt;
A) (Recomendado) Soluciona todos los problemas de dependencias en su sistema.&lt;br /&gt;
Esto puede ser hecho viendo la salida de &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; e instalando/quitando/actualizando los paquetes que esto menciona según se requieren. Esta opción es la recomendada ya que no sólo asegurará que su compilación de aMule será la más correcta, sino que también hará su sistema lo más estable posible y desde ahora será capaz de usar apt-get no sólo para hacer las instalaciones más fáciles, sino que también mejorarara su sistema.&lt;br /&gt;
&lt;br /&gt;
B) Forzar a apt-get para ignorar los problemas de dependencias usando -f o --fix-broken switches (solamente uno de estos, ya que son exactamente lo mismo, entonces podría ser, por ejemplo &amp;lt;code&amp;gt;&amp;quot;apt-get install -f ...&amp;quot;&amp;lt;/code&amp;gt;). Esta opción puede causar una instalación corrupta de algunos paquetes que pueden hacer que la aplicación no funcione. También tenga en mente que utilizar esto pone en marcha un sistema con problemas de dependencias y puede hacer que el sistema se rompa completamente si el paquete instalado es un paquete base (aunque no es el caso).&lt;br /&gt;
&lt;br /&gt;
C) Seguir estas instrucciones, pero, en vez de usar &amp;lt;code&amp;gt;&amp;quot;apt-get install foo&amp;quot;&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;&amp;quot;dpkg -i foo&amp;quot;&amp;lt;/code&amp;gt; donde foo es el paquete para instalar. Recuerde que los paquetes deben ya estar en el sistema cuando instale paquetes con dpkg. Acuérdese también de descargar cualquier paquete de &amp;quot;Depends (dependencias)&amp;quot; ya que seguramente será necesario para compilar [[aMule]] satisfactoriamente. Evite usar cualquiera de las siguientes opciones de dpkg: --force-all --force-depends-version --force-depends --force-conflicts&lt;br /&gt;
&lt;br /&gt;
Si por lo general instala aplicaciones desde los archivos fuente, lea deltaHF's [[Compilation_Installation|&amp;quot;Compilación de aMule / Como instalación&amp;quot;]]  ya que su sistema no podría conformar las dependencias del paquete del aMule de Debian aunque con &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; no muestre ningún error.&lt;br /&gt;
&lt;br /&gt;
== Lo más fácil: Preparación del sistema   ==&lt;br /&gt;
&lt;br /&gt;
Una vez que decidió usar apt-get, debe asegurarse que descargará las últimas versiones de los paquetes (el equipo de aMule ha descubierto fallas en algunos paquetes de deb que harían a aMule imposible de compilar sobre Debian sin compilar algunas otras bibliotecas también. Estas fallas han sido fijadas en paquetes de debian, entonces es muy importante estar seguro de tener los paquetes actualizados). Esto se logra haciendo:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
'''''Nota 1:''' Debe ser superusuario para hacer esto. Ingrese como superusuario o como &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o use &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;. NB: &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; debe ser especificado en ambos comandos del apt-get, de esta forma:''&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; no es un comando base, puede que no esté instalado en su sistema, aunque lo más probable es que si. Esté enterado que siguiendo este Como enteramente como root puede traer algunos problemas más adelante, por ejemplo no poder suprimir ciertos archivos como usuario normal, entonces por favor use los privilegios de root cuando sea necesario.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 2:''' Usuarios Woody (es decir, la gente pegada en el rama estable de Debian 3.0) no podrá instalar el wxGTK, wxbase y bibliotecas de Crypto++ puesto que no estaban disponibles en las versiones compatibles mínimas actuales (2.4.2 y 2.5.1 respectivamente) cuando Woody fue liberado.''&lt;br /&gt;
&lt;br /&gt;
''Lo mejor para los usuarios de Woody es cambiar al rama de Sarge o de Sid. Eso se puede hacer con el siguiente comando (otra vez, usted debe ser root)''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/testing/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''o''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/sarge/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''para cambiar a la rama de Sarge/testing, o con''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/unstable/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
''o''&lt;br /&gt;
&lt;br /&gt;
 perl -pi.$$ -e &amp;quot;s/(\bstable|woody)/sid/g&amp;quot; /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
''para cambiar a la rama de Sid/unstable.''&lt;br /&gt;
&lt;br /&gt;
''Si los usuarios de Woody no estan interesados en cambiar a Sarge necesitarán descargar los paquetes debian Woody-backported agregando la siguiente línea a /etc/apt/sources.list (recuerde hacer un &amp;lt;code&amp;gt;&amp;quot;apt-get update&amp;quot;&amp;lt;/code&amp;gt; después de agregar esta línea):''&lt;br /&gt;
&lt;br /&gt;
 deb &amp;lt;nowiki&amp;gt;http://debian.thermoman.de/&amp;lt;/nowiki&amp;gt; woody wxwindows2.4 libcrypto++&lt;br /&gt;
&lt;br /&gt;
''Que más, detener el trabajo de [http://www.thermoman.de thermoman] en el backports del [[aMule]] para [http://www.debian.org Woody] en la versión [[aMule]] 2.0.0-rc5, los lanzaminetos más nuevos de backports de [[aMule]] son inasequibles. Disculpen.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 3:''' Los usuarios de Sarge no tendrán ningún problemas de dependencia, ya que tanto crypto++ y wxWidgets ahora han sidos colocados en Sarge. Por lo tanto ya no hay necesidad de actualizar el archivo 'sources.list'' en las distribuciones de Debian Sarge.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 4:''' Los usuarios de Sid (es decir, la gente que lleva a cabo la rama inestable de Debian 3.0) podría sufrir problemas de paquetes no completamente puestos en práctica o con dependencias rotas (ambas cosas son normales en la rama inestable). Es muy importante tener esto presente puesto que un compilador (g++) será instalado y que podría estar con fallas y arrastrar las fallas a la mayoría de los paquetes que se compilaron con él (hasta que sea actualizado, desde luego). Si un paquete estuviera con fallas, para retroceder puede usar la opción --force-downgrade con dpkg.''&lt;br /&gt;
&lt;br /&gt;
Si por alguna razón piensa que todo esto es muy complicado, puede esperar un par de días hasta que aparezca una versión binaria de aMule para su arquitectura (como un archivo .deb)&lt;br /&gt;
&lt;br /&gt;
== Lo más rápido: Instalación de los paquetes necesarios ==&lt;br /&gt;
&lt;br /&gt;
Recuerde que necesita ser superusuario (root) para instalar sus aplicaciones usando apt-get, ya que apt-get instala las aplicaciones con sus dependencias. Sino ingresa como superusuario (root), use &amp;quot;su&amp;quot; o añada &amp;quot;sudo&amp;quot; antes de cada comando mostrado aqui.&lt;br /&gt;
&lt;br /&gt;
Los siguientes son los paquetes que deben ser instalados:&lt;br /&gt;
&lt;br /&gt;
1) Instale el último compilador estable de g++ y la Libreria Standar de C++&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++&lt;br /&gt;
&lt;br /&gt;
las librerias requeridas para compilar [[aMule]] (wxbase realmente no es una libreria requerida para compilar aMule, pero a menos que sepa lo que está haciendo, asegurese de instalarlo. No demostraré en esta esta guía cómo forzar la compilación de aMule sin wxbase):&lt;br /&gt;
&lt;br /&gt;
 apt-get install libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
Alternativamente puede utilizar &amp;lt;code&amp;gt;apt-get build-dep amule&amp;lt;/code&amp;gt; para conseguir todas las dependencias requeridas para la compilación. De todas formas, este último método no es seguro que funcione, puesto que dependerá de la última versión en el depósito de Debian o las versiones de CVS que puden tener diferentes dependencias.&lt;br /&gt;
Y una utilidad requerida para compilar [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
 apt-get install gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 5:''' Todo esto se puede hacer en un sólo comando, lo que puede ser más comodo para los usuarios usando &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; para obtener privilegios de superusuario (root):''&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++ libwxbase2.4-dev libcurl3-dev libgtk1.2-dev gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 6:''' Del aMule 2.0.0-rc1 al aMule 2.0.0-rc5 (inclusive) el paquete ''libcrypto++-dev'' es necesario para compilar aMule, sólo si está compilando alguna de estas versiones, también debería hacer un apt-get libcrypto++-dev.&lt;br /&gt;
&lt;br /&gt;
También, podría estar interesado en la instalación de libgd2-noxpm-dev, si planea compilar CAS (Habilitación de columna de direcciones). Esta no es una biblioteca requerida para compilar CAS (Habilitación de columna de direcciones), esta biblioteca sólo es usada por CAS (Habilitación de columna de direcciones) para crear imágenes (desde v2.0.0-rc3) sobre el estado actual de aMule (ejecutando &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt;). Si usted planea usar esta caracteristica de CAS, usted tiene que instalar LibGD2. De todos modos, CAS compilará perfectamente incluso si LibGD2 no es instalada, ya que es detectada, en tiempo de compilación, si dicha biblioteca está instalada.''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 7:''' Los usuarios de Woody probablemente no podrán conseguir libgd2-xpm-dev y libcurl3-dev ya que esos paquetes no están disponibles para Woody. Para libcurl3-dev sólo puede instalar libcurl2-dev i continuar, todo estará bien para libgd2-xpm, en este momento no hay backport disponible pero, ya que esta biblioteca es utilizada solamente por CAS (y sugerido, incluso no requerido), no dará ningún problema en tiempo de compilación. Solamente esté consciente que &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt; no funcionará.''&lt;br /&gt;
&lt;br /&gt;
2) Descargue la última versión del codigo fuente de [[aMule]] desde [http://www.amule.org/files/files.php?cat=6 aquí] (o vea [[AMule_CVS|aquí]] para actualizar el enlace).&lt;br /&gt;
&lt;br /&gt;
'''''Nota 8:''' Desde ahora, Supondré que estamos instalando  aMule 2.0.0-rc3''&lt;br /&gt;
&lt;br /&gt;
3) Arreglo de la Libreria Crypto++ 5.1 if si es que la usa.&lt;br /&gt;
&lt;br /&gt;
Desde [[aMule]] 2.0.0-rc1 hasta aMule 2.0.0-rc5 (inclusive) esta libreria es requerida porque [[aMule]] ahora está soportando SecureIdent (recuerde, desde aMule 2.0.0-rc6, libcrypto++ es opcional y no se necesita por defecto), pero el paquete de [[Libcrypto|Crypto++]] [[Debian]] ha tenido fallas de compilación y todavía tiene una (aunque el resto se han descubierto después de los informes del equipo del aMule). Recuerde que debe hacer un update y un dist-upgraded con apt-get antes de instalar cualquier paquete de [[Debian]] en este Como, si no, usted podría instalar (o haber instalado ya) un paquete Crypto++ con fallas y este problema no satisfacerá sus necesidades. Para arreglar el último paquete de [[Libcrypto|crypto++]] [[Debian]] sólo es necesario un enlace simbólico:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h&lt;br /&gt;
&lt;br /&gt;
''Si todavía no puede compilar crypto++, intente compilarlo después de ejecutar el siguiente comando:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++ /usr/include/cryptopp&lt;br /&gt;
&lt;br /&gt;
'''''Nota 9:''' Ya que este enlace necesita permisos de escritura en /usr/lib, los privilegios de superusuario (root) son necesarios. Una vez más esto se puede hacer facilmete con &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=== Usando [[wxWidgets]] 2.6 ===&lt;br /&gt;
&lt;br /&gt;
Los usuarios de [[Debian|Etch]] y [[Debian|Sid]] pueden usar wxWidgets 2.6 en lugar de wxWidgets 2.4 (los usuarios de Woody y Sarge olvidadlo. Pasad directamente al capítulo siguiente).&lt;br /&gt;
&lt;br /&gt;
Para usar wxWidgets 2.6 en lugar de 2.4, simplemente reemplazad en los comandos menionados hasta ahora los términos ''libwxbase2.4-dev'' y ''libwxgtk2.4-dev'' por ''libwxbase2.6-dev'' y libwxgtk2.6-dev'' respectivamente.&lt;br /&gt;
&lt;br /&gt;
Si se debe o no usar wx 2.6 en lugar de wx 2.4 es una decision personal. Tiene ventajas y desventajas. De todas maneras, en la mayoría de casos, se agradece usar wx 2.6, así que está recomendado.&lt;br /&gt;
&lt;br /&gt;
== Lo más duro: Compilación [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
4) Extraiga las fuentes. Lo siguiente creará una carpeta en el directorio home de su usuario donde extraerá las fuentes con la opción -C en ella (el siguiente comando entiende que las fuentes de [[aMule]] están en el directorio actual): &lt;br /&gt;
&lt;br /&gt;
 mkdir ~/aMule-compilation/ &amp;amp;&amp;amp; tar xzfv aMule-2.0.0rc3.tar.gz -C ~/aMule-compilation/ &amp;amp;&amp;amp; cd ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
'''''Nota 10:''' Recuerde que estoy suponiendo que está extrayendo [[aMule]] 2.0.0-rc3. Cambie el nombre de archivo si no corresponde con el nombre del archivo del codigo fuente.''&lt;br /&gt;
&lt;br /&gt;
5) ¡Compile [[aMule]]! El siguiente comando cambiará al directorio que contiene [[aMule]] 2.0.0rc3 y lo compilará:&lt;br /&gt;
&lt;br /&gt;
 cd ~/aMule-compilation/aMule-2.0.0rc3/ &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
'''''Nota 11:''' Por favor vea el [[configure|articulo de configuración]].''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 12:''' Usted debe comprobar la salida de&lt;br /&gt;
 ./configure --help | more&lt;br /&gt;
para ver si hay cualquier cambio en la configuración que puede ser de su interés, por ejemplo --disable-debug --enable-optimise o --bindir= ''&lt;br /&gt;
&lt;br /&gt;
'''''Nota 13:''' si aparece un mensaje de error, mientras compila, similar a: &amp;quot;In file included from /usr/include/wx/***:***, [...] /usr/include/wx/******:***: internal compiler error: Segmentation fault&amp;quot;, lo más probable es que tenga problemas con wxWidgets. Intente con''&lt;br /&gt;
&lt;br /&gt;
 apt-get install --reinstall wxwin2.4-headers libwxbase2.4 libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
''el cuál reinstalará wxWidgets y probablemente arreglará el error de compilación.''&lt;br /&gt;
&lt;br /&gt;
== Reunión de satisfacción: ¡Instalación de aMule! ==&lt;br /&gt;
&lt;br /&gt;
8) ¿Qué es falta? Instale aMule (recuerde que usted debe ser superusuario (root), entonces conéctese como la superusuario (root) o use code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Ahora puede remover los fuentes para liberar espacio en el disco duro, debe ejecutar:&lt;br /&gt;
&lt;br /&gt;
 rm -rf ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
== El final: Comprobaciónes finales ==&lt;br /&gt;
&lt;br /&gt;
Si usted alguna vez ha instalado aMule de los paquetes de Debian (no importa si el paquete viene de http://gunnm.org/~soda), usted tendrá binarios aMule instalados en /usr/bin. Pero &amp;lt;code&amp;gt;&amp;quot;make install&amp;quot;&amp;lt;/code&amp;gt; instala binarios en /usr/local/bin (a no ser que --prefix= sea puesto en la configuración). Esto nos conduce al punto que escribiendo &amp;quot;amule&amp;quot; alguna de las dos versiones de aMule podría ser invocada para instalarse (cual es ejecutado dependerá de la variable de ambiente $PATH. Usted puede comprobarlo escribiendo &amp;lt;code&amp;gt;&amp;quot;type amule&amp;quot;&amp;lt;/code&amp;gt;). El paso siguiente es muy fácil: quite el aMule instalado por el paquete de [[Debian]]. Puede hacer esto con el comando &amp;quot;apt-get remove amule&amp;quot; (no use &amp;lt;code&amp;gt;&amp;quot;apt-get remove --purge&amp;quot;&amp;lt;/code&amp;gt; o podría perder sus ajustes de [[aMule]]) o con &amp;lt;code&amp;gt;&amp;quot;dpkg --remove amule&amp;quot;&amp;lt;/code&amp;gt; (otra vez, nunca use &amp;lt;code&amp;gt;&amp;quot;dpkg --purge&amp;quot;&amp;lt;/code&amp;gt; o usted podría perder sus ajustes de [[aMule]]). apt-get quitará aMule-utils si usted lo tiene instalado (sólo disponible como un paquete separado en Sid, en Sarge y en Woody aMule utils es incluido en el paquete base de aMule) mientras dpkg dejará aMule-utils instalado en el sistema (que en general, es una mala idea). &lt;br /&gt;
&lt;br /&gt;
También, si instaló xmule o algún día piensa instalarlo, debe tener en mente esto: el [[ed2k command]] existe tanto en [[aMule]] como [[xMule]]. Usted podría querer ejecutar `type ed2k` para ver cuál [[ed2k command]] será ejecutado y renombrar el otro, entonces se asegura que nunca sea ejecutado por equivocación).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Está terminando... ==&lt;br /&gt;
&lt;br /&gt;
¡Esto es todo! Su propio [[aMule]] compilado está instalado en su sistema y listo para funcionar.&lt;br /&gt;
&lt;br /&gt;
Para ejecutar [[aMule]], solamente escriba &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. Usted puede comprobar si todo está trabajado, escribiendo &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; y comprueba si la versión mostrada está en correspondencia con la que usted compilo/instalo.&lt;br /&gt;
&lt;br /&gt;
Si este Como no ayudara, usted tiene un problema raro en su sistema;-) Mire en http://www.amule.org ([http://www.amule.org/amule Foros de aMule] en http://forum.amule.org ) o nos visita en #amule en irc.freenode.net y (no lo dúde) trataremos de hacer todo lo posible para ayudarle.&lt;br /&gt;
&lt;br /&gt;
== Notas finales ==&lt;br /&gt;
&lt;br /&gt;
Si usted está en uno de aquellos casos raros cuando usted desea compilar [[aMule]] estáticamente, instalar también ''libtiff4-dev'' (por ''apt-get install libtiff4-dev''). De todos modos, esto '''NO''' es recomendado y de hecho, probablemente no hará ninguna mejora o hasta, no trabajan en nada.&lt;/div&gt;</summary>
		<author><name>83.41.82.130</name></author>	</entry>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu</id>
		<title>HowTo Compile In Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/HowTo_Compile_In_Debian/Ubuntu"/>
				<updated>2006-05-05T13:38:06Z</updated>
		
		<summary type="html">&lt;p&gt;83.41.82.130: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[HowTo_Compile_In_Debian-es|Español]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
HowTo compile [[aMule]] in [[Debian]] or [http://www.ubuntulinux.org Ubuntu] by ''[[User:Jacobo221|Jacobo221]]'' and [http://www.gnu.org GNU] [http://www.kernel.org Linux] helpers&lt;br /&gt;
&lt;br /&gt;
Very special thanks to ''darknox'', ''Arathornz'', ''guest234'', ''parasito'', ''maya'' and ''klando'' for their tests!&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' This howto will also work for [http://www.ubuntulinux.com Ubuntu Linux].&lt;br /&gt;
&lt;br /&gt;
== Are you sure you want to compile? ==&lt;br /&gt;
&lt;br /&gt;
If not, (which is pretty common) decide if you want the [[aMule]] stable release or the [[aMule CVS]] release.&lt;br /&gt;
&lt;br /&gt;
=== [[aMule]] stable release ===&lt;br /&gt;
&lt;br /&gt;
'''These packages are for Debian 3.1 Sarge only!'''&lt;br /&gt;
&lt;br /&gt;
You can just install latest stable [[aMule]] version through [http://packages.debian.org deb]s adding the following lines into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://amule-debian.dyndns.org/ debian/&lt;br /&gt;
&lt;br /&gt;
Now run &amp;lt;code&amp;gt;apt-get update &amp;amp;&amp;amp; apt-get install amule&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Packages in this repository:&lt;br /&gt;
*amule&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amule-gui-utils (alc, wxcas)&lt;br /&gt;
*amule-console-utils (amuleweb, alcc, cas)&lt;br /&gt;
*amule-utils (metapackage for amule-gui-utils and amule-console-utils)&lt;br /&gt;
&lt;br /&gt;
'''NOTES:''' &lt;br /&gt;
* If [[aMule]] exits with error message complaining about being unable to open libbfd-2.15.so this usually means you are NOT running Debian Sarge. Don't start making symlinks or doing other workarounds, they can quite easily bork your whole system.&lt;br /&gt;
&lt;br /&gt;
* http://dude.gemil.de is deprecated. http://amule-debian.dyndns.org is (for now) just a redirect, but this might change in the future (if the repository has to move due to traffic limitations).&lt;br /&gt;
&lt;br /&gt;
=== [[aMule CVS]] release ===&lt;br /&gt;
&lt;br /&gt;
'''These packages are for Debian testing aka Etch only!'''&lt;br /&gt;
&lt;br /&gt;
You can also get the latest [[aMule CVS]] through debs adding the following line into your ''/etc/apt/sources.list'' file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.vollstreckernet.de/debian/ testing amule&lt;br /&gt;
&lt;br /&gt;
packages are GPG sighned, so follow this steps:&lt;br /&gt;
 ''gpg --keyserver wwwkeys.eu.pgp.net --recv 50D0AE60''&lt;br /&gt;
 ''gpg -a --export 50D0AE60 &amp;gt; /tmp/key''&lt;br /&gt;
 ''apt-key add /tmp/key'' (requires superuser privileges)&lt;br /&gt;
&lt;br /&gt;
Now run ''apt-get update &amp;amp;&amp;amp; apt-get install amule''&lt;br /&gt;
&lt;br /&gt;
You might also want to take a look at the other available [[aMule]] utilities:&lt;br /&gt;
&lt;br /&gt;
'''[[aMule CVS]]'''&lt;br /&gt;
*amule&lt;br /&gt;
*amule-common&lt;br /&gt;
*amule-daemon&lt;br /&gt;
*amule-remote-gui&lt;br /&gt;
*amuleweb&lt;br /&gt;
*amule-cas&lt;br /&gt;
*amule-wxcas&lt;br /&gt;
*amule-xas&lt;br /&gt;
*amule-utils&lt;br /&gt;
&lt;br /&gt;
For example, if you think [[aMule]]'s [[Webserver|Web interface]] rocks and you want to have it too, enter this line after the one above:&lt;br /&gt;
&lt;br /&gt;
For [[aMule CVS]]: ''apt-get install amuleweb''&lt;br /&gt;
&lt;br /&gt;
For [[aMule]] stable: ''apt-get install amule-console-utils''&lt;br /&gt;
&lt;br /&gt;
If you still want to compile [[aMule]] instead of just installing a binary, keep reading...&lt;br /&gt;
&lt;br /&gt;
==  Compiling on Debian 3.0 aka Woody ==&lt;br /&gt;
&lt;br /&gt;
'''Important:''' Have in mind that this HowTo was done having in mind aMule 2.0.0 or greater in [[Debian]] 3.0 (Woody/Sarge/Sid).&lt;br /&gt;
&lt;br /&gt;
This HowTo is based on using the apt-get package installer tool, which means you'll have to be able to get super-user (root) access. Also, apt-get requires a perfect packet dependencies installed system. If you usually use apt-get for installing any application, skip this and go to the next section. If you rarely use apt-get but, instead, use dpkg, you can;&lt;br /&gt;
&lt;br /&gt;
A) (Recommended) Solve all the dependencies problems on your system. This can be done by taking a look at the &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; output and installing/removing/updating the packages it mentions depending on what's required. This option is the recommended since it will not only ensure your aMule compilation will be most surely correct, but it will also make your system the most stable it can possibly be and from now on you'll be able to use apt-get to not only make easier installations, but also to easily upgrade your system.&lt;br /&gt;
&lt;br /&gt;
B) Force apt-get to ignore the dependencies problems using the -f or --fix-broken switches (just one of them, since they're exactly the same, so that'd be, for example, &amp;lt;code&amp;gt;&amp;quot;apt-get install -f ...&amp;quot;&amp;lt;/code&amp;gt;). This option may cause a corrupt installation of some packages which may cause the apps not to work. Also have in mind that using this switch in a system with dependencies problems may cause the system to completely break if the package being installed is a base package (although this is not the case).&lt;br /&gt;
&lt;br /&gt;
C) Follow this instructions but, instead of using &amp;lt;code&amp;gt;&amp;quot;apt-get install foo&amp;quot;&amp;lt;/code&amp;gt;, use &amp;lt;code&amp;gt;&amp;quot;dpkg -i foo&amp;quot;&amp;lt;/code&amp;gt; where foo is the package to install. Remember the packages must be already on the system when installing packages with dpkg. Remember also to download any &amp;quot;Depends&amp;quot; package since it most-surely will be necessary for successfully compiling [[aMule]]. Avoid using whichever of the following dpkg switches: --force-all  --force-depends-version --force-depends --force-conflicts&lt;br /&gt;
&lt;br /&gt;
If you usually install applications from source, read deltaHF's [[Compilation_Installation|&amp;quot;aMule compilation / installation HowTo&amp;quot;]] since your system might not be complying the Debian aMule package dependencies although &amp;lt;code&amp;gt;&amp;quot;dpkg -C&amp;quot;&amp;lt;/code&amp;gt; shows no errors.&lt;br /&gt;
&lt;br /&gt;
== The easiest: Preparing the system ==&lt;br /&gt;
&lt;br /&gt;
Once you decided to use apt-get, you must make sure you'll be downloading the latest versions of the packages (aMule team has discovered bugs in some deb packages that would make aMule impossible to compile on Debian without compiling some other libraries too. This bugs have been mostly fixed in those affected debian packages, so it is very important to be sure to have the packages up to date). This is done by issuing:&lt;br /&gt;
&lt;br /&gt;
 apt-get update &amp;amp;&amp;amp; apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
'''''Note 1:''' You must be root user to do this. Log in as root or &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or use &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;. NB: &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; must be specified on both apt-get commands, that is:''&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update &amp;amp;&amp;amp; sudo apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
''&amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; is not a base command, so it may not be installed on your system, although it most probably will. Be aware that following this HowTo entirely as root may bring some problems later such as being unable to delete certain files as a normal user, so please only use root priviledges when necessary.''&lt;br /&gt;
&lt;br /&gt;
'''''Note 2:''' Woody users (that is, people stuck in the stable Debian 3.0 branch) will be updated to Sarge doing apt-get dist-upgrade.&lt;br /&gt;
&lt;br /&gt;
'''''Note 3:''' Sid users (that is, people holding the cutting-edge unstable Debian 3.0 branch) could suffer problems from packages not completely implemented or with broken dependencies (both are normal issues in the unstable branch). It is very important to keep this in mind since a compiler (g++) will be installed so it could also be broken and, with it, most applications compiled with it (once upgraded, of course). If a package was broken, to downgrade you can use the --force-downgrade switch with dpkg.''&lt;br /&gt;
&lt;br /&gt;
If for whatever reason you think this is too much of a complication, you can just wait a few days until the aMule binary version comes out for your architecture (that is, a .deb file).&lt;br /&gt;
&lt;br /&gt;
== The fastest: Installing the necessary packages ==&lt;br /&gt;
Remember you need to be root to install applications using apt-get, since apt-get installs system-wide applications. So, log in as root, use &amp;quot;su&amp;quot; or add &amp;quot;sudo&amp;quot; before every command shown here.&lt;br /&gt;
&lt;br /&gt;
The following are the packages which must be installed:&lt;br /&gt;
&lt;br /&gt;
1) Install the latest stable g++ compiler and the C++ Standard Library&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++&lt;br /&gt;
&lt;br /&gt;
the required libraries for compiling [[aMule]] (wxbase is not really a requiered packet to compile aMule but, unless you know what you're doing, be sure you install it. I won't show in this this guide how to force aMule's compilation without wxbase):&lt;br /&gt;
&lt;br /&gt;
 apt-get install libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
Alternatively you can use &amp;lt;code&amp;gt;apt-get build-dep amule&amp;lt;/code&amp;gt; to get all the required depencies for compilation. Anyway, this last method is not sure to work, since it will depend on the latest version on the Debian repository and later versions or CVS versions might have different dependencies.&lt;br /&gt;
And the required utilities for compiling [[aMule]]:&lt;br /&gt;
&lt;br /&gt;
  apt-get install gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Note 5:''' This can all be done in a single command line, which might be more handy for users using &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt; to gain root priviledges:''&lt;br /&gt;
&lt;br /&gt;
 apt-get install g++ libwxbase2.4-dev libcurl3-dev libgtk1.2-dev libwxgtk2.4-dev gettext make&lt;br /&gt;
&lt;br /&gt;
'''''Note 6:''' From aMule 2.0.0-rc1 to aMule 2.0.0-rc5 (inclusive) the package ''libcrypto++-dev'' was necessary for compiling aMule, so if you are compiling any of such versions, apt-get libcrypto++-dev too.&lt;br /&gt;
&lt;br /&gt;
Also, you might be interested in installing libgd2-noxpm-dev if you plan to compile CAS. It is not a required library for compiling CAS, this library is only used by CAS for creating images (since v2.0.0-rc3) on the current aMule status (by running &amp;lt;code&amp;gt;cas -o&amp;lt;/code&amp;gt;). If you plan to use this feature of CAS, you need to install LibGD2. Anyway, CAS will compile perfectly well even if LibGD2 isn't installed, since it detects, on compilation time, if this library is installed.''&lt;br /&gt;
&lt;br /&gt;
2) Download the latest released [[aMule]] source code from [http://www.amule.org/files/files.php?cat=6 here] (or look [[AMule_CVS|here]] for an up-to-date link).&lt;br /&gt;
&lt;br /&gt;
'''''Note 7:''' From now on, I will suppose we are installing aMule 2.0.0-rc3''&lt;br /&gt;
&lt;br /&gt;
3) Fix Crypto++ Library 5.1 if using it.&lt;br /&gt;
&lt;br /&gt;
From [[aMule]] 2.0.0-rc1 to a aMule 2.0.0-rc5 (inclusive) this library is required because [[aMule]] is now supporting SecureIdent (remember, since aMule 2.0.0-rc6, libcrypto++ is optional and not needed by default), but the [[Libcrypto|Crypto++]] [[Debian]] package has had lots of compiling bugs and still has one (although the rest have been fixed after aMule team's reports). Remember you should have update and dist-upgraded apt-get before installing any [[Debian]] package in this HowTo, otherwise, you could be installing (or already have installed) a buggy Crypto++ package and this fix will not suit your needs. To fix the latest [[Libcrypto|crypto++]] [[Debian]] package only a symbolic link is needed:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++/cryptopp_config.h /usr/include/crypto++/config.h&lt;br /&gt;
&lt;br /&gt;
''If you still can't compile crypto++, try compiling it after running the following command:''&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/include/crypto++ /usr/include/cryptopp&lt;br /&gt;
&lt;br /&gt;
'''''Note 8:''' Since this link needs write permissions in /usr/lib, super-user (root) priviledges are needed. Again, this can be done easily with &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;.''&lt;br /&gt;
&lt;br /&gt;
=== Using [[wxWidgets]] 2.6 ===&lt;br /&gt;
&lt;br /&gt;
[[Debian|Etch]] and [[Debian|Sid]] users can use wxWidgets 2.6 instead of wxWidgets 2.4 (Woody and Sarge users, forget about it. Go straight to the next chapter of this article).&lt;br /&gt;
&lt;br /&gt;
To use wxWidgets 2.6 instead of 2.4, just replace in all the above commands the terms ''libwxbase2.4-dev'' and ''libwxgtk2.4-dev'' with ''libwxbase2.6-dev'' and libwxgtk2.6-dev'' respectively.&lt;br /&gt;
&lt;br /&gt;
Whether or not you should use wx 2.6 insetad of wx 2.4 is up to you. It has both advantages and disadvantages. Anyway, in most cases, you will be grateful to use wx 2.6, so it is recommended.&lt;br /&gt;
&lt;br /&gt;
== The hardest: Compiling [[aMule]] ==&lt;br /&gt;
&lt;br /&gt;
4) Extract the sources. The following will create a folder on your user's home directory where it will extract the sources with the -C switch into it (the following command understands that [[aMule]]'s sources are on the current directory):&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/aMule-compilation/ &amp;amp;&amp;amp; tar xzfv aMule-2.0.0rc3.tar.gz -C ~/aMule-compilation/ &amp;amp;&amp;amp; cd ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
'''''Note 9:''' Remember I'm supposing you are extracting [[aMule]] 2.0.0-rc3. Change the file name if it doesn't correspond to the actual packed source code filename.''&lt;br /&gt;
&lt;br /&gt;
5) Compile [[aMule]]! The following command will actually switch to the directory containing [[aMule]] 2.0.0rc3 and compile it:&lt;br /&gt;
&lt;br /&gt;
 cd ~/aMule-compilation/aMule-2.0.0rc3/ &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
'''''Note 10:''' Please take a look at the [[configure|configure article]].''&lt;br /&gt;
&lt;br /&gt;
'''''Note 11:''' You should check the output of&lt;br /&gt;
 ./configure --help | more&lt;br /&gt;
to see if there is any configure switch which might be of your interest, such as --disable-debug --enable-optimise or --bindir= ''&lt;br /&gt;
&lt;br /&gt;
'''''Note 12:''' if you get an error message, while compiling, similar to: &amp;quot;In file included from /usr/include/wx/***:***, [...] /usr/include/wx/******:***: internal compiler error: Segmentation fault&amp;quot;, then you most probably have problems with wxWidgets. Try with''&lt;br /&gt;
&lt;br /&gt;
 apt-get install --reinstall wxwin2.4-headers libwxbase2.4 libwxgtk2.4-dev&lt;br /&gt;
&lt;br /&gt;
''which will reinstall wxWidgets and will most probably fix the compilation error.''&lt;br /&gt;
&lt;br /&gt;
== Meeting satisfaction: Installing aMule! ==&lt;br /&gt;
&lt;br /&gt;
8) What's left? Install aMule (remember you must be root, so log in as root or use &amp;lt;code&amp;gt;&amp;quot;su&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;sudo&amp;quot;&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
Now you can remove the sources so you free up space in your hard disk by running:&lt;br /&gt;
&lt;br /&gt;
 rm -rf ~/aMule-compilation/&lt;br /&gt;
&lt;br /&gt;
== The end: Final checks ==&lt;br /&gt;
&lt;br /&gt;
If you have sometime installed aMule from the Debian packages (no matter if the package came from http://gunnm.org/~soda ), you will have aMule binaries installed in /usr/bin. But &amp;lt;code&amp;gt;&amp;quot;make install&amp;quot;&amp;lt;/code&amp;gt; installs binnaries in /usr/local/bin (unless --prefix= is set in configure). This leads us to the point that when typing &amp;quot;amule&amp;quot; anyone of the two installed aMule versions might be invoked (which one is executed will depend on the $PATH environment variable. You can check it by typing &amp;lt;code&amp;gt;&amp;quot;type amule&amp;quot;&amp;lt;/code&amp;gt;). The walk around is very easy: remove the aMule installed through [[Debian]] package. You can do this with the command &amp;quot;apt-get remove amule&amp;quot; (do not use &amp;lt;code&amp;gt;&amp;quot;apt-get remove --purge&amp;quot;&amp;lt;/code&amp;gt; or you might loose your [[aMule]] settings) or with &amp;lt;code&amp;gt;&amp;quot;dpkg --remove amule&amp;quot;&amp;lt;/code&amp;gt; (again, never ever use &amp;lt;code&amp;gt;&amp;quot;dpkg --purge&amp;quot;&amp;lt;/code&amp;gt; or you might loose your [[aMule]] settings). apt-get will remove aMule-utils if you have them installed (only available as a separate package in Sid, in Sarge and Woody aMule utils are included in the base aMule package) while dpkg will leave aMule-utils installed on the system (which, in general, is a bad idea).&lt;br /&gt;
&lt;br /&gt;
Also, if you installed xmule sometime or you are planing to install it, have in mind that the [[ed2k command]] exists both in [[aMule]] and [[xMule]]. You might want to run `type ed2k` to see which [[ed2k command]] will be executed and rename the other so you make sure it's never executed by mistake.&lt;br /&gt;
&lt;br /&gt;
== You're done... ==&lt;br /&gt;
&lt;br /&gt;
That's it! Your own compiled [[aMule]] is installed on your system and ready to go.&lt;br /&gt;
&lt;br /&gt;
To run [[aMule]], just type &amp;lt;code&amp;gt;&amp;quot;amule&amp;quot;&amp;lt;/code&amp;gt;. You can check if everything worked by typing &amp;lt;code&amp;gt;&amp;quot;amule -v&amp;quot;&amp;lt;/code&amp;gt; and check if the displayed version corresponds with the one you were compiling/installing.&lt;br /&gt;
&lt;br /&gt;
If this HowTo didn't help, you have a rare problem on your system ;-) Take a look at http://www.amule.org ([http://www.amule.org/amule aMule Forums] at http://forum.amule.org ) or visit us in #amule on irc.freenode.net and (don't doubt) we'll try to do our best to help you.&lt;br /&gt;
&lt;br /&gt;
== Final notes ==&lt;br /&gt;
&lt;br /&gt;
If you are in one of those rare cases when you wish to compile [[aMule]] statically, install also ''libtiff4-dev'' (through ''apt-get install libtiff4-dev''). Anyway, this is '''NOT''' recommended and, in fact, will probably not do any better or even, not work at all.&lt;/div&gt;</summary>
		<author><name>83.41.82.130</name></author>	</entry>

	</feed>