aMule Forum

English => Compilation problems => Topic started by: Fabioamd87 on August 13, 2008, 04:25:52 PM

Title: wxWidgets and amule 2.2.2 unicode request
Post by: Fabioamd87 on August 13, 2008, 04:25:52 PM
I've compiled wxWidgets with this options:

Code: [Select]
./configure --prefix=/usr --with-gtk --enable-unicode --disable-compat24 --enable-optimise
but when I try to compile amule 2.2.2 it say:

Code: [Select]
checking whether we need the GUI... yes
checking for the --with-toolkit option... will be automatically detected
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.
Title: Re: wxWidgets and amule 2.2.2 unicode request
Post by: Kry on August 13, 2008, 04:27:03 PM
Quote
checking for wx-config... /usr/local/bin/wx-config

You specific --prefix=/usr/, so you clearly ahve other installation in /usr/local.
Title: Re: wxWidgets and amule 2.2.2 unicode request
Post by: Fabioamd87 on August 13, 2008, 08:06:23 PM
yes, because of my fault first time i've installed here...

there is a way to remove the usr/local and specify that wx are in /usr ?