<div dir="ltr">Sebastian,<div><br><div style="">thank you very much for your answer.</div><div style=""><br></div><div style="">I use pygobject-3.0.0 and i also have a /usr/local/include/pygobject-3.0/pygobject.h,</div><div style="">but it lacks the definition of PyGObject_Type.</div><div style=""><br></div><div style="">I also tried building 3.21.0, but it requires a higher version of gobject-introspection, which fails to build on my system.</div><div style=""><br></div><div style="">I compared the sources of pygobject-3.0.0 and 3.21.0 and it seems that they changed pygobject.h in version 3.7.91.</div><div style="">So i downloaded gyobject-3.8.3 and was able to compile and install gyobject and gst-python-1.8.1.</div><div style=""><br></div><div style="">The problem is when I run my python script, stillmy older gst-python 1.2.0 version is used and not version 1.8.1.</div><div style=""><br></div><div style="">How can i tell python to use the new gi with gst 1.8.1?</div><div style=""><br></div><div style="">Kind regards</div><div style=""><br></div><div style="">JB</div><div style=""><br></div><div style=""><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-30 12:10 GMT+02:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Do, 2016-06-30 at 11:45 +0200, Johannes Bauer wrote:<br>
> Hello devs!<br>
><br>
> I was successfully building the new gstreamer-1.8.1 for raspbian wheezy. It works good so far.<br>
> However when I try to build gst-python i get following output:<br>
><br>
</span>> [...]<br>
<span class="">><br>
> I tried different versions of PyGObject, which does not change the outcome.<br>
> I can not find PyGObject_Type in /usr/include nor in /usr/local/include.<br>
> It seems to be defined in the pygobject sources in "gi/pyobject-external.h", but this file does not to be installed anywhere.<br>
><br>
> Do u have any ideas what could be the problem?<br>
<br>
</span>Here it is defined in /usr/include/pygobject-3.0/pygobject.h:<br>
<br>
  #define PyGObject_Type              (*_PyGObject_API->object_type)<br>
<br>
This is with version 3.20.1. Which one do you use?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
</font></span></blockquote></div><br></div>