[oe] Building Python extensions

Marcin Juszkiewicz openembedded at hrw.one.pl
Thu May 24 12:03:52 UTC 2007


Dnia wtorek, 22 maja 2007, Davis, Scott (AGRE) napisał:
> I am trying to build a 32-bit shared library for a C library I have on
> an x86_64 AMD SuSE linux system.  I am observing the same problem that
> apparently someone on your list has had.  I have a commercial C 32-bit
> linux library that I want to use SWIG to build a python extension for.
> My linux system is 64-bit and when I compile against Python.h for
> Python 2.4 I get #error LONG BIT below emitted.

> What is the fix to build 32-bit shared library python extension on a
> 64-bit linux system?

check OE/packages/python/python-gst/python-path.patch and 
python-gst_0.10.7.bb recipe

Both add --with-python-includes param to configure script with location of 
proper 32bit headers.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

               We're bad people and we do bad things [Pink]






More information about the Openembedded-devel mailing list