<!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" >&5<br>
$as_echo_n "checking for libraries required to embed python... "
>&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 >conftest.$ac_ext <<_ACEOF<br>
/* confdefs.h. */<br>
_ACEOF<br>
cat confdefs.h >>conftest.$ac_ext<br>
cat >>conftest.$ac_ext <<_ACEOF<br>
/* end confdefs.h. */<br>
<br>
/* Override any GCC internal prototype to avoid an error.<br>
Use char because int might match the return type of a GCC<br>
builtin and then its argument prototype would still apply. */<br>
#ifdef __cplusplus<br>
extern "C"<br>
#endif<br>
char Py_Initialize ();<br>
int<br>
main ()<br>
{<br>
return Py_Initialize ();<br>
;<br>
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>
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;<br>
*) ac_try_echo=$ac_try;;<br>
esac<br>
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""<br>
$as_echo "$ac_try_echo") >&5<br>
(eval "$ac_link") 2>conftest.er1<br>
ac_status=$?<br>
grep -v '^ *+' conftest.er1 >conftest.err<br>
rm -f conftest.er1<br>
cat conftest.err >&5<br>
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5<br>
(exit $ac_status); } && {<br>
test -z "$ac_c_werror_flag" ||<br>
test ! -s conftest.err<br>
} && test -s conftest$ac_exeext && {<br>
test "$cross_compiling" = yes ||<br>
$as_test_x conftest$ac_exeext<br>
}; then<br>
LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result: yes"
>&5<br>
$as_echo "yes" >&6; };<br>
else<br>
$as_echo "$as_me: failed program was:" >&5<br>
sed 's/^/| /' conftest.$ac_ext >&5<br>
<br>
LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result:
no" >&5<br>
$as_echo "no" >&6; }; { { $as_echo "$as_me:$LINENO: error: could
not find Python lib" >&5<br>
$as_echo "$as_me: error: could not find Python lib" >&2;}<br>
{ (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&component=gst-python">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&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>