aMule Forum
Italian => Aiuto su aMule => Topic started by: dannix 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
$ ./configure --disable-debug --enable-optimize
tutto sembra andare a buon fine finché non esce questo ouput
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
:~/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?
-
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
-
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.