<div dir="ltr">Hi,<div><br></div><div>I am running Debian Jessie on a Raspberry Pi - and the package server provides gstreamer 1.4.4 - however it does not yet have a 1.0 copy of the GstRtspServer (whereas Debian Wheezy did have the 1.2.4 branch) - so I am compiling it myself - to use from Python.</div><div>I am still getting "ImportError: cannot import name GstRtspServer" in my python script, and I see that there is no GstRtspServer GIR file in my "/usr/share/gir-1.0/" folder - I'm not sure where I have gone wrong in my build.</div><div><br></div><div>This is my process:</div><div><br></div><div>







<p class="">1. install gstreamer<br><font face="monospace, monospace">apt-get install gstreamer-1.0</font></p>
<p class="">2. install python dev library<br><span class="" style="font-family:monospace,monospace">apt-</span><span class="" style="font-family:monospace,monospace">get</span><span class="" style="font-family:monospace,monospace"> install python-dev</span></p>
<p class="">3. Get GstRtspServer source code<br><span style="font-family:monospace,monospace">wget <a href="http://mandrillapp.com/track/click/30003446/gstreamer.freedesktop.org?p=eyJzIjoiQVIyeTZ1azF5UnRPUy15X0dTazJfUVlfbC04IiwidiI6MSwicCI6IntcInVcIjozMDAwMzQ0NixcInZcIjoxLFwidXJsXCI6XCJodHRwOlxcXC9cXFwvZ3N0cmVhbWVyLmZyZWVkZXNrdG9wLm9yZ1xcXC9zcmNcXFwvZ3N0LXJ0c3Atc2VydmVyXFxcL2dzdC1ydHNwLXNlcnZlci0xLjQuNC50YXIueHpcIixcImlkXCI6XCI3Y2EyNGYyZGRmNGY0Mzc3YWYyMzBlYmMxMTc5MjdjY1wiLFwidXJsX2lkc1wiOltcImYyNmYyZjdjODMwMzUzM2Q5YjYwODVlOTMyNmMxM2E3Y2JjMTU3MzVcIl19In0">http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.4.4.tar.xz</a><br></span><span style="font-family:monospace,monospace">tar -xvf gst-rtsp-server-1.4.4.tar.xz</span></p>
<p class=""><span class="">4.</span><span class=""> </span><span class="">install</span><span class=""> </span><span class="">libtool<br></span><font face="monospace, monospace">apt-get install libtool</font></p>
<p class=""><span class="">5.</span><span class=""> </span><span class="">install</span><span class=""> AutoConf<br></span><font face="monospace, monospace"><span class="">apt-get</span><span class=""> </span><span class="">install</span><span class=""> </span><span class="">autoconf</span></font></p>
<p class="">6. install introspection<br><font face="monospace, monospace"><span class="">apt-get install libgirepository</span><span class="">1</span><span class="">.</span><span class="">0</span><span class="">-dev</span></font></p>
<p class="">7. generate configure script<br><font face="monospace, monospace">cd gst-rtsp-server-1.4.4<br></font><span class="" style="font-family:monospace,monospace">./configure --enable-introspection=yes </span><span style="font-family:monospace,monospace"> </span><span style="font-family:monospace,monospace">--disable-gtk-doc</span></p><p class=""><font face="arial, helvetica, sans-serif">8. make and install</font><br><font face="monospace, monospace">./make; make install</font></p><p class=""><font face="monospace, monospace"><br></font></p><p class=""><font face="arial, helvetica, sans-serif">This does produce the gir in the build directory...</font><br>







</p><p class=""><span class=""><font face="monospace, monospace">/home/pi/gst-rtsp-server-1.4.4# ls -al gst/rtsp-server/ | grep .gir<br></font></span><span style="font-family:monospace,monospace">-rw-r--r-- 1 root root 347664 Oct  </span><span style="font-family:monospace,monospace">7 02:20 GstRtspServer-1.0.gir</span></p>







<p class="">... and I have tried copying this to my /usr/share/gir-1.0/ folder, but it doesnt fix the python error.</p><p class=""><br></p><p class="">What am I missing?</p><p class=""><br></p><p class="">Thanks</p></div>















</div>

<img src="http://mandrillapp.com/track/open.php?u=30003446&id=7ca24f2ddf4f4377af230ebc117927cc" height="1" width="1">