All of lore.kernel.org
 help / color / mirror / Atom feed
* Question regarding python, _sysconfigdata.py, and building C extension modules on the target...
@ 2015-06-02  2:47 Bob Cochran
  2015-06-03  1:35 ` Bob Cochran
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Cochran @ 2015-06-02  2:47 UTC (permalink / raw)
  To: Yocto discussion list

Hi,

While building a python 2.7 C extension module on the target (e.g., 
python setup.py build) I found that I needed to modify 
/usr/lib64/python2.7/_sysconfigdata.py to successfully build the module.

I modified both CC and LDSHARE.  For both, I removed 
--sysroot=/build/yocto/<project>/tmp/sysroots/<machine>'.  And for 
LDSHARE, I added -L/lib64, so gcc_s could be found.

I'm wondering whether this is expected behavior or perhaps a bug. 
Perhaps I should have setup my environment differently for building a C 
extension module on the target?

I would appreciate any advice on the best way to rectify this so I can 
use a non-modified, generated rootfs to build C extension modules on my 
target.

I'm using poky fido (508c4cac320d) and building with a Freescale t1040 
64bit (meta-fsl-ppc).

Thanks

Bob


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-03  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02  2:47 Question regarding python, _sysconfigdata.py, and building C extension modules on the target Bob Cochran
2015-06-03  1:35 ` Bob Cochran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.