[Buildroot] buildroot - python problem

Andrew Dyer amdyer at gmail.com
Wed May 7 07:34:16 PDT 2008


On Wed, May 7, 2008 at 4:48 AM, Richard Hardy
<richardh at 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 $@

-- 
Hardware, n.:
 The parts of a computer system that can be kicked.


More information about the buildroot mailing list