specify a wxwidgets build
Hi i'm trying to compile amule 2.2.5 on debian lenny/squeeze.
I get stucked after the command "./configure --enable-webserver --enable-webserverGUI" the last part of output is: 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/bin/wx-config checking for wxWidgets version >= 2.8.0 (--unicode=yes)... no (version 2.6.3 is not new enough) 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. I should have the wxwidgets 2.8. When lunch wx-config --list i get: Default config is gtk2-unicode-release-2.6 Default config will be used for output Alternate matches: base-unicode-release-2.6 base-unicode-release-2.8 gtk2-unicode-release-2.8 So how can I default to 2.8 ? |
Say i have "solved" ..
Removed the 2.6 thru APT, wx-config defaults to 2.8 and amule compiles. |
Of course you will need ' libwxgtk2.8-dev ' to be installed.
Then ... 1) su 2) update-alternatives --config wx-config .. and choose 2.8 . ..... |
All times are GMT -5. The time now is 11:55 AM. |