Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pedro Sanchez <psanchez@fosstel.com>
To: buildroot@busybox.net
Subject: [Buildroot] Python standard library problems
Date: Thu, 11 Aug 2011 09:14:28 -0400	[thread overview]
Message-ID: <4E43D5B4.2090106@fosstel.com> (raw)
In-Reply-To: <4E42FCAB.2070609@in-2-technology.co.uk>

My build is done with the CodeSourcery ARM 2011.03 (gcc 4.5) external 
toolchain which is downloaded automatically by BR.

As for the build logs, can you tell me which file to look for? The only 
log file I see is output/build/python-2.7.1/config.log, a large file 
that doesn't seem to report any errors.

Does your BR use the native buildroot toolchain? I'll run a build with 
this toolchain to see it it makes any difference.

-- 
Pedro


On 08/10/2011 05:48 PM, Dominic Newton wrote:
> Hi,
>
> What version of gcc are you using and what is your target? I have python
> fully functional on x86 and arm platforms with latest buildroot and use
> all 3 modules you are having problems with.
>
> One thing that can help is the setup.py file in the python build
> directory manages the build of the compiled modules like _socket, and
> the output from this file may give a clue on any missing dependencies or
> include files.
>
> Regards
>
> Dominic Newton
> In 2 Technology Ltd.
>
> On 10/08/2011 20:18, Pedro Sanchez wrote:
>> Hello,
>>
>> I'm testing Python 2.7.1 as available in current BR and I find that I
>> can't load several standard modules that otherwise seem to be present.
>>
>> # python
>> Python 2.7.1 (r271:86832, Aug 4 2011, 16:19:27)
>> [GCC 4.5.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import socket
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "/usr/lib/python2.7/socket.py", line 47, in <module>
>> ImportError: No module named _socket
>>
>> >>> import fcntl
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> ImportError: No module named fcntl
>>
>> >>> from subprocess import Popen, PIPE
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "/usr/lib/python2.7/subprocess.py", line 428, in <module>
>> ImportError: No module named select
>>
>>
>> Any ideas what's going on? This is on BR from git.
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2011-08-11 13:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 19:18 [Buildroot] Python standard library problems Pedro Sanchez
2011-08-10 21:48 ` Dominic Newton
2011-08-11 13:14   ` Pedro Sanchez [this message]
2011-08-11 15:37     ` Dominic Newton
2011-08-11 18:23       ` Pedro Sanchez
2011-08-11 20:54         ` Pedro Sanchez
2011-08-12 10:01           ` Maxime Ripard
2011-08-12 15:44             ` Maxime Ripard
2011-08-12 17:47               ` Pedro Sanchez
2011-08-16  8:22                 ` Maxime Ripard
2011-08-29 15:58                   ` Maxime Ripard
2011-08-30 14:36                     ` Pedro Sanchez
2011-08-31 14:17                       ` Pedro Sanchez
2011-09-01  7:50                         ` Thomas Petazzoni
2011-09-01 14:18                           ` Pedro Sanchez

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=4E43D5B4.2090106@fosstel.com \
    --to=psanchez@fosstel.com \
    --cc=buildroot@busybox.net \
    /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