<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Am 11.05.2009 09:54, schrieb Jan Schmidt:
<blockquote cite="mid:1242028478.4993.7.camel@localhost" type="cite">
  <pre wrap="">On Mon, 2009-05-11 at 03:47 +0200, Stephan Raue wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">when i am try crosscompile gst-python-0.10.15 i am become follow error
at configure:

checking for libraries required to embed python... no
configure: error: could not find Python lib

what can i do? what is configure searching?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It's looking for Python development headers and libraries. That's the
stuff supplied by a package called something like 'python-dev' or
'python-devel' on most distros. For cross-compiling, I'm not sure where
you'll get it from.

  </pre>
</blockquote>
i have installed Python libs and includes on one location build for
hostsystem (Toolchain) and one location for target (Sysroot). Python
bin and scripts like python-config are in $PATH and Host-Python is
fully funktional on my Hostsystem. Target build is build with
--host=i686-pc-linux-uclibc and --build=i686-pc-linux-gnu so i think
the variable cross_compile in configure script is set to yes. All
Python related Software also gst-python-0.10.14 i can crosscompile with
success.<br>
My question is was does this (new) code<br>
<br>
{ $as_echo "$as_me:$LINENO: checking for libraries required to embed
python" &gt;&amp;5<br>
$as_echo_n "checking for libraries required to embed python... "
&gt;&amp;6; }<br>
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`<br>
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"<br>
PYTHON_LIB_LOC="${py_prefix}/lib"<br>
<br>
save_LIBS="$LIBS"<br>
LIBS="$LIBS $PYTHON_LIBS"<br>
cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF<br>
/* confdefs.h.&nbsp; */<br>
_ACEOF<br>
cat confdefs.h &gt;&gt;conftest.$ac_ext<br>
cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF<br>
/* end confdefs.h.&nbsp; */<br>
<br>
/* Override any GCC internal prototype to avoid an error.<br>
&nbsp;&nbsp; Use char because int might match the return type of a GCC<br>
&nbsp;&nbsp; builtin and then its argument prototype would still apply.&nbsp; */<br>
#ifdef __cplusplus<br>
extern "C"<br>
#endif<br>
char Py_Initialize ();<br>
int<br>
main ()<br>
{<br>
return Py_Initialize ();<br>
&nbsp; ;<br>
&nbsp; return 0;<br>
}<br>
_ACEOF<br>
rm -f conftest.$ac_objext conftest$ac_exeext<br>
if { (ac_try="$ac_link"<br>
case "(($ac_try" in<br>
&nbsp; *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;<br>
&nbsp; *) ac_try_echo=$ac_try;;<br>
esac<br>
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""<br>
$as_echo "$ac_try_echo") &gt;&amp;5<br>
&nbsp; (eval "$ac_link") 2&gt;conftest.er1<br>
&nbsp; ac_status=$?<br>
&nbsp; grep -v '^ *+' conftest.er1 &gt;conftest.err<br>
&nbsp; rm -f conftest.er1<br>
&nbsp; cat conftest.err &gt;&amp;5<br>
&nbsp; $as_echo "$as_me:$LINENO: \$? = $ac_status" &gt;&amp;5<br>
&nbsp; (exit $ac_status); } &amp;&amp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test -z "$ac_c_werror_flag" ||<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test ! -s conftest.err<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } &amp;&amp; test -s conftest$ac_exeext &amp;&amp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test "$cross_compiling" = yes ||<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $as_test_x conftest$ac_exeext<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result: yes"
&gt;&amp;5<br>
$as_echo "yes" &gt;&amp;6; };<br>
else<br>
&nbsp; $as_echo "$as_me: failed program was:" &gt;&amp;5<br>
sed 's/^/| /' conftest.$ac_ext &gt;&amp;5<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result:
no" &gt;&amp;5<br>
$as_echo "no" &gt;&amp;6; }; { { $as_echo "$as_me:$LINENO: error: could
not find Python lib" &gt;&amp;5<br>
$as_echo "$as_me: error: could not find Python lib" &gt;&amp;2;}<br>
&nbsp;&nbsp; { (exit 1); exit 1; }; }<br>
fi<br>
<br>
<blockquote cite="mid:1242028478.4993.7.camel@localhost" type="cite">
  <pre wrap="">- Jan.
  </pre>
  <blockquote type="cite">
    <pre wrap="">Stephan

Am 11.05.2009 01:41, schrieb <a class="moz-txt-link-abbreviated" href="mailto:thaytan@noraisin.net:">thaytan@noraisin.net:</a> 
    </pre>
    <blockquote type="cite">
      <pre wrap="">This mail announces the release of GStreamer Python Bindings 0.10.15 'We built a wall'.


GStreamer Python Bindings is a set of Python bindings for GStreamer, using
the same system as PyGTK.
It also comes with a number of examples.
 
For more information, see <a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/modules/gst-python.html">http://gstreamer.freedesktop.org/modules/gst-python.html</a>
To file bugs, go to <a class="moz-txt-link-freetext" href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&amp;component=gst-python">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&amp;component=gst-python</a>
  

____________________________________________________________________

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/kodak-com">http://p.sf.net/sfu/kodak-com</a>

____________________________________________________________________

_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
  
      </pre>
    </blockquote>
    <pre wrap="">
-- 
              ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you 
             <a class="moz-txt-link-freetext" href="http://www.openelec.tv">http://www.openelec.tv</a>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/kodak-com">http://p.sf.net/sfu/kodak-com</a>
_______________________________________________ gstreamer-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
    </pre>
  </blockquote>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
              ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you 
             <a class="moz-txt-link-freetext" href="http://www.openelec.tv">http://www.openelec.tv</a>
</pre>
</body>
</html>