<p>我正在用python 2.7在centos机器上安装WxPython 3.0。</p>
<p>即使禁用mediactrl,install也会搜索GSTreamer并给出错误信息
<code>"configure: error: GStreamer not available"</code>尽管GSTreamer在机器上可用。</p>
<p>以下是两个此类生成的详细信息:</p>
<p>我的想法是关闭mediactrl,所以我使用以下选项</p>
<pre><code>python build-wxpython.py --extra_setup=disable-mediactrl --build_dir=../bld
</code></pre>
<p>或者</p>
<pre><code>python build-wxpython.py --extra_setup="--disable-mediactrl --build_dir=../bld
</code></pre>
<p>但是,它仍然搜索GSTreamer并输出下面列出的错误消息。
我重新安装了GSTreamer 0.10并将其安装到了\usr\lib\GSTreamer 0.10中,但是,我收到了相同的错误消息</p>
<p>错误消息:</p>
<pre><code>checking what is the type of the third argument of getsockname... socklen_t
checking what is the type of the fifth argument of getsockopt... socklen_t
checking for linux/joystick.h... yes
checking for python... /home/aptRoot/tools/python/64/Python-2.7/bin/python
checking for WEBKIT... configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView
checking for CAIRO... yes
checking for cairo_push_group... yes
checking for GST... configure: WARNING: GStreamer 0.10 not available, falling back to 0.8
checking for GST... configure: WARNING: GStreamer 0.8/0.10 not available.
configure: error: GStreamer not available
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build-wxpython.py", line 378, in <module>
wxbuild.main(wxscript, build_options)
File "/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py", line 364, in main
"Error running configure")
File "/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py", line 80, in exitIfError
raise builder.BuildError(msg)
BuildError
</code></pre>