so Im trying to use bitbake to set up a cross-compiling environment following the getting started page on openembedded.
my problem is that when I try to use the command bitbake (after setting the environment and adding necessary directories to both $PATH and $PYTHONPATH), I get the following error:
Code:
File "usr/local/bin/bitbake" , line 27, in <module>
import bb
ImportError: No module named bb
I have written a bash script to set the environment as follows:
Code:
#! /bin/bash
STRING="bitbake_setup done"
BBPATH=/home/korena/mydev_tools/top_tree/build:/home/korena/mydev_tools/top_tree/openembedded
PATH=home/korena/mydev_tools/top_tree/bitbake-1.10.2/bin:$PATH
PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/site-packages/
export PYTHONPATH
export BBPATH
export PATH
echo $STRING
any idea how to deal with this problem ?
Im using fedora 16 on an HP mini with intel atom cpu N450 @ 1.66GHz x2
kernel linux 3.3.0-4.fc16.i686
Gnome 3.2.1
latest installed python:
python-2.7.2-5.2.fc16.i686.rpm
Thanx in advance ...