- 論壇徽章:
- 0
|
在源碼安裝amule時,運(yùn)行如下命令:
# cd aMule-2.2.2
# ./configure --prefix=/usr/local/aMule/ --disable-monolithic --enable-amule-daemon --enable-webserver --disable-optimize --enable-debug --with-wx-config=/usr/local/wxGTK/bin/wx-config --with-wxdebug --with-gtk
........
checking for wx-config... /usr/local/wxGTK/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--debug=yes --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:
--debug=yes --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.
|
但是我之前已經(jīng)安裝了 wxGTK-2.8.8
# /usr/local/wxGTK/bin/wx-config --list
Default config is gtk-ansi-release-2.8
Default config will be used for output
# /usr/local/wxGTK/bin/wx-config --selected-config
gtk-ansi-release-2.8 |
為什么還提示沒有找到“wxWidgets”呢?????希望高手幫忙!
解決的辦法:
刪除原先安裝的“wxGTK-2.8.8”,重新源碼安裝!
安裝的時候注意要先安裝“gcc,gtk,gtk-devel,gtk2,gtk2-devel,zlib-devel,libpng-devel,gd-devel”等軟件
再“ # ./configure --prefix=/usr/ --enable-unicode --enable-optimise && make && make install ”編譯安裝wxGTK2.8.8,完成后運(yùn)行l(wèi)dconfig命令
使得“ # wx-config --selected-config 結(jié)果為: gtk2-unicode-release-2.8 ”解決如上問題!
[ 本帖最后由 guanghua6402 于 2008-12-5 16:19 編輯 ] |
|