- 论坛徽章:
- 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
需要的设置我都有啊。
这到底是什么问题? |
|