Compilation Installation-it

From AMule Project FAQ
Revision as of 17:44, 25 September 2008 by Vollstrecker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Manuale di Installazione

Per installare aMule potete partire "da zero", come descritto in Compilare Da Sorgente, o usare gli RPM, come descritto nella sezione Installare usando gli RPM. Usare gli RPM velocizza molto le operazioni ma non è supportato da tutte le distribuzioni linux. Per le distribuzioni che usano i pacchetti .deb, come Debian e Ubuntu, dovrebbe bastare installare il pacchetto amule.

Compilare Da Sorgente

ATTENZIONE: Assicuratevi di non aver installato nessuna copia di wxWidgets. Se avete già wxWidgets installati, andate a Come disinstallare wxWidgets prima di iniziare una nuova installazione. Se continuate ad avere problemi, Controllate se wx è installato due volte, visto che è un problema comune di compilazione ed esecuzione.

NOTA: Con wxWidgets >= 2.5.1, wxBase non è distribuito come tarball separato.

Passo 1: wxGTK

  • Compilate wxGTK
    • tar -jxvf wxGTK-2.6.3.tar.bz2
    • tar -C wxGTK-2.6.3 -xzvf wxWidgets-2.6.3-Patch-2.tar.gz
    • cd wxGTK-2.6.3
    • Linked against GTK2: ./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise && make
  • Da root:
    • make install
    • ldconfig

Passo 2: wxBase

Passo 3: Crypto++

Cryptopp può essere scaricato da qui:

Compilare cryptopp 5.5.2:

    • unzip -a crypto552.zip -d crypto-5.5.2
    • cd crypto-5.5.2
    • make

da root:

  • cp libcryptopp.a /usr/lib/
  • mkdir /usr/include/cryptopp
  • cp *.h /usr/include/cryptopp/
  • ldconfig

Passo 4: aMule

  • Compilate aMule (controllate anche configure article) ->
    • tar -zxvf aMule-X.X.X.tar.gz (sostituite X con il numero della versione corretto..)
    • cd aMule-X.X.X
    • ./configure --disable-debug --enable-optimize && make
  • Da root:
    • make install
  • Lanciate aMule come utente normale da console digitando -> amule

Installare usando gli RPM

Passo 1: wxGTK

  • Installate wxGTK ->
    • Da root:
      • rpm -Uvh wxGTK-2.6.3-X.rpm (sostituire X con il giusto numero..)
      • ldconfig

Passo 2: aMule

  • Installate aMule ->
    • Da root:
      • rpm -Uvh aMule-X.rpm (replace X with the right name and version number..)
  • Lanciate aMule come utente normale da console digitando -> amule