[gst-devel] RELEASE: GStreamer Python Bindings 0.10.15 'We built a wall'

Stephan Raue mailinglists at openelec.tv
Mon May 11 11:31:28 CEST 2009


Am 11.05.2009 09:54, schrieb Jan Schmidt:
> On Mon, 2009-05-11 at 03:47 +0200, Stephan Raue wrote:
>    
>> 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?
>>      
>
> 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.
>
>    
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.
My question is was does this (new) code

{ $as_echo "$as_me:$LINENO: checking for libraries required to embed 
python" >&5
$as_echo_n "checking for libraries required to embed python... " >&6; }
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
PYTHON_LIB_LOC="${py_prefix}/lib"

save_LIBS="$LIBS"
LIBS="$LIBS $PYTHON_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
    Use char because int might match the return type of a GCC
    builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char Py_Initialize ();
int
main ()
{
return Py_Initialize ();
   ;
   return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
   (eval "$ac_link") 2>conftest.er1
   ac_status=$?
   grep -v '^ *+' conftest.er1 >conftest.err
   rm -f conftest.er1
   cat conftest.err >&5
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && {
          test -z "$ac_c_werror_flag" ||
          test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
          test "$cross_compiling" = yes ||
          $as_test_x conftest$ac_exeext
        }; then
            LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; };
else
   $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

                  LIBS="$save_LIBS"; { $as_echo "$as_me:$LINENO: result: 
no" >&5
$as_echo "no" >&6; }; { { $as_echo "$as_me:$LINENO: error: could not 
find Python lib" >&5
$as_echo "$as_me: error: could not find Python lib" >&2;}
    { (exit 1); exit 1; }; }
fi

> - Jan.
>    
>> Stephan
>>
>> Am 11.05.2009 01:41, schrieb thaytan at noraisin.net:
>>      
>>> 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 http://gstreamer.freedesktop.org/modules/gst-python.html
>>> To file bugs, go to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=gst-python
>>>
>>>
>>> ____________________________________________________________________
>>>
>>> ------------------------------------------------------------------------------
>>> 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. http://p.sf.net/sfu/kodak-com
>>>
>>> ____________________________________________________________________
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>        
>> -- 
>>                ### OpenELEC.tv ###
>> The free and open Mediacenter Distribution 4 you
>>               http://www.openelec.tv
>> ------------------------------------------------------------------------------
>> 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. http://p.sf.net/sfu/kodak-com
>> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>      


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090511/3dd4a290/attachment.htm>


More information about the gstreamer-devel mailing list