aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problemi nella compilazione di aMule CVS  (Read 2374 times)

dannix

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Problemi nella compilazione di aMule CVS
« on: November 25, 2007, 06:41:34 PM »

Ciao a tutti, mi presento perché sono nuovo.
Ho 23 anni e sono un appassionato di open-source.
Sto provando a compilare la CVS di aMule dopo avere installato le wxWidgets per debian, wxGTK-2.8.6
Purtroppo quando cerco di configurare amule con
 
Code: [Select]
$ ./configure --disable-debug --enable-optimize
tutto sembra andare a buon fine finché non esce questo ouput
Code: [Select]
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... no
configure: error:
    The requested wxWidgets build couldn't be found.
   
    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 2.8.0 or above.

Se ho capito bene il problema sono le wxGTK. Percio per vedere quali wxWidgets sono disponibili sul mio sistema scrivo da terminale
Code: [Select]
:~/Desktop/amule-cvs$ wx-config --list

    Default config is gtk2-ansi-release-2.8

  Default config will be used for output
E sembra tutto a posto. Come posso far capire al compilatore che le wxWidgets sono quelle giuste?
Logged

gash

  • Jr. Member
  • **
  • Karma: -2
  • Offline Offline
  • Posts: 52
  • ArchLinux
Re: Problemi nella compilazione di aMule CVS
« Reply #1 on: November 26, 2007, 09:58:48 AM »

Devi compilare le wxgtk con la flag --enable-unicode
Guarda questa guida la prima cosa che ti fa fare è la compilazione delle wxgtk http://eccelinux.org/wiki/index.php?title=Amule_CVS

minage

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 117
Re: Problemi nella compilazione di aMule CVS
« Reply #2 on: December 01, 2007, 06:43:43 PM »

esatto ed è proprio quello che viene scritto nell'output.
quando compili le wxWidgets devi inserime come parametro in configure anche il --unicode=yes

se è un pacchetto non saprei, probabilmente riesci a modificare anche quello senza dover compilare tutto a mano.
Logged