- 論壇徽章:
- 0
|
我編譯安裝了wxWidgets-2.8.12.tar.gz的源碼,
./configure
./make
./make install(root)
然后ldconfig(root)
切換回普通用戶,編譯filezillar的時候,./configure最后提示錯誤:
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.12 (--unicode=yes --universal=no)... no
configure: error:
wxWidgets must be installed on your system
but either the wx-config script couldn't be found or
no compatible wxWidgets configuration has been insalled.
Compatible wxWidgets configurations are the unicode builds
of wxGTK, wxMac and wxMSW.
Please 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.12 or above.
可是問題是,
[a@localhost 下載]$ which wx-config
/usr/local/bin/wx-config
[a@localhost 下載]$ echo $LD_LIBRARY_PATH
-L/usr/local/lib -pthread -L/usr/lib64 -lwx_gtk2_richtext-2.8 -lwx_gtk2_aui-2.8 -lwx_gtk2_xrc-2.8 -lwx_gtk2_qa-2.8 -lwx_gtk2_html-2.8 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base_xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8
需要的設(shè)置我都有啊。
這到底是什么問題? |
|