Poky Project Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Poky Project <poky@yoctoproject.org>
Subject: Python missing _ctypes library
Date: Fri, 22 Apr 2011 08:13:41 -0600	[thread overview]
Message-ID: <4DB18D15.9060505@mlbassoc.com> (raw)

Building from master 37ac9a0823690bd3e031c04e2351a41af04e8aa1, any target will
have this problem.

Unable to use ctypes/_ctypes module:
   # python
   Python 2.6.6 (r266:84292, Mar 30 2011, 10:57:26) [GCC 4.5.2] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import ctypes
   Traceback (most recent call last):
       File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
       from _ctypes import Union, Structure, Array
   ImportError: No module named _ctypes

I believe this is because of this error during the build:
   autoreconf: Entering directory `Modules/_ctypes/libffi'
   autoreconf: configure.ac: not using Gettext
   autoreconf: running: aclocal --force
   configure.ac:26: error: m4_copy: won't overwrite defined macro: _AC_ARG_VAR_PRECIOUS
   configure.ac:26: the top level
   autom4te: /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/m4 failed with exit status: 1
   aclocal: /home/local/p60_poky/tmp/sysroots/i686-linux/usr/bin/autom4te failed with exit status: 1
   autoreconf: aclocal failed with exit status: 1
   NOTE: _ctypes failed to autoreconf

Perhaps related to bug #941?

Filed as bug #1003

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


                 reply	other threads:[~2011-04-22 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB18D15.9060505@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox