2010/11/2 Graham Gower <[email protected]>:
> On 2 November 2010 15:13, Khem Raj <[email protected]> wrote:
>> On Mon, Nov 1, 2010 at 6:09 PM, Graham Gower <[email protected]> wrote:
>>>
>>> /mnt/oe/tmp/work/x86_64-linux/python-cython-native-0.13-r0/temp/run.do_compile.28826:
>>>  line 927: /mnt/oe/tmp/sysroots/x86_64-linux/usr/bin/python: No such file 
>>> or directory
>>> FATAL: python setup.py build_ext execution failed.
>>
>> hmmm what happens if you just add python to DEPENDS instead of python-native 
>> ?
>>
>
> That would probably work too since python depends on python-native. Is
> this preferred? I can't tell if this app requires python itself, or if
> its just the build system that needs it.
>

Thanks for your contribution!

This might be trickier than it looks at first sight.
Adding python to depends seems the obvious way.
BBCLASSEXTEND = "native" will cause the depends on python to be
substituted in a depends on python-native (and you were building
python-cython-native, not python-cython), so there adding python to
DEPENDS is ok.

The real Q is when building python-cython (not -native ! ). Does this
need python to build or python-native (I expect the former, but I did
not test).
Suggestion is to bitbake -cclean python and python-native then build
python-cython without the depedendency and see if it fails on python
or on python-native.

And if the depends of python-cython is on python-native it might be
needed to add python to RDEPENDS (not fullty sure, I don't know too
much about python).
A run time test can tell this.

Frans.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to