Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias McNulty <tobias@caktusgroup.com>
To: buildroot@busybox.net
Subject: [Buildroot] using linux 2.4 headers AND python
Date: Tue, 24 Mar 2009 23:57:36 -0400	[thread overview]
Message-ID: <49C9ABB0.8080501@caktusgroup.com> (raw)
In-Reply-To: <877i2ejzrj.fsf@macbook.be.48ers.dk>

Peter Korsgaard wrote:
> The 2009.02 release had support for 2.4.41 if you go to build
> options->Show packages that are deprecated or obsolete, but we have
> removed it from subversion after the release.
> 
> Notice though that there aren't many people using the 2.4 support, so
> something might not work ..

Thanks that seemed to work.  I had to add some typedefs for __u32 and
__u8 to watchdog.h but otherwise it built fine.  There is probably a
smarter fix.

Upon further investigation Python doesn't seem to be complete though:

$ python -v
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.4.5 (#1, Mar 24 2009, 23:15:27)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named os
>>>

and, sure enough, I don't see os.py anywhere on the filesystem.  I have
not looked at the python build output yet but I'll do that tomorrow when
I'm more awake.

(It was also this way before the rebuild, the switch to 2.4 did not
introduce the problem.)

Toby
-- 
Tobias McNulty
Caktus Consulting Group, LLC
P.O. Box 1454
Carrboro, NC 27510
(919) 951-0052
http://www.caktusgroup.com

  reply	other threads:[~2009-03-25  3:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 22:40 [Buildroot] using linux 2.4 headers Tobias McNulty
2009-03-24 22:56 ` Peter Korsgaard
2009-03-25  3:57   ` Tobias McNulty [this message]
2009-03-25 15:35     ` [Buildroot] using linux 2.4 headers AND python Tobias McNulty
2009-03-25 23:26       ` Hamish Moffatt
2009-03-26  0:27         ` Tobias McNulty
2009-03-26  6:57         ` Peter Korsgaard
2009-04-02  0:28           ` Hamish Moffatt
2009-04-02  5:22             ` Peter Korsgaard

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=49C9ABB0.8080501@caktusgroup.com \
    --to=tobias@caktusgroup.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