From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot - python problem
Date: Wed, 7 May 2008 17:07:18 +0200 [thread overview]
Message-ID: <079f01c8b054$166a3620$060514ac@atmel.com> (raw)
In-Reply-To: c166aa9f0805070734h10591bf3sbdf6c6b5bc696c04@mail.gmail.com
> On Wed, May 7, 2008 at 4:48 AM, Richard Hardy
> <richardh@oakleafconsultancy.com> wrote:
>> I get a long way through the process (selecting mostly the default options),
>> and then I get an error as follows:
>>
>>
>>
>> Make[1] Leaving directory
>> '/home/richardh/AT91SAM9263/buildroot/build_arm/Python-2.4.2'
>>
>> /bin/sh: line 8 -/usr/bin/make No such file or directory
>>
>> Make: ***
>> [/home/richardh/AT91SAM9263/buildroot/build_arm/Python-2.4.2/.hostpython]
>> Error 127
>>
>>
>>
>> Can anyone help me as to why this is happening and what I might do about it?
>
> I found this as well. I was able to get around it by making the
> change it the patch below (beware line wrap as I just pasted it in).
> As I understand it a - at the beginning of a command is legal in make,
> but since this is a continuation of one long command line I don't
> think it's okay there.
>
> Index: package/python/python.mk
> ===================================================================
> --- package/python/python.mk (revision 21884)
> +++ package/python/python.mk (working copy)
> @@ -89,7 +89,7 @@
> $(MAKE) python Parser/pgen && \
> mv python hostpython && \
> mv Parser/pgen Parser/hostpgen && \
> - -$(MAKE) distclean \
> + $(MAKE) distclean \
> ) && \
> touch $@
>
The python.mk looks pretty unclean to me.
Should not the host python be built in the toolchain directory,
and the result moved to STAGING_DIR?
Then it could be easily be used for other stuff as well.
Best Regards
Ulf Samuelsson
next prev parent reply other threads:[~2008-05-07 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 9:48 [Buildroot] buildroot - python problem Richard Hardy
2008-05-07 14:34 ` Andrew Dyer
2008-05-07 15:07 ` Ulf Samuelsson [this message]
2008-05-08 0:27 ` Hamish Moffatt
2008-05-08 0:31 ` Ulf Samuelsson
2008-05-08 0:58 ` Hamish Moffatt
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='079f01c8b054$166a3620$060514ac@atmel.com' \
--to=ulf.samuelsson@atmel.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