Skip to contentSkip to conversation

Facing problem with "bitbake" command

DISCUSSION saleh usman 3 participants 3 messages Dec 4, 2009

lore
Share & tools
lore
#0 lore raw

Hello

I am new to openembedded and I am following Getting started page of openembedded to work with it.I am facing problem in Building Software section and bitbake command is not working. I've edited the local configuration file and also directory where I've downloaded openembedded contains bitabake and build directory.

It seems like this

[root@localhost build]# bitbake nano
bash: bitbake: command not found
[root@localhost build]#

Plz tell me where might be the problem.

Regards
Saleh Usman

_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010

#1 lore raw
Quoted 5 lines

[root@localhost build]# bitbake nano
bash: bitbake: command not found
[root@localhost build]#

Plz tell me where might be the problem.

First problem is you're building as root...

Andrea

#2 lore raw
In reply to saleh usman
Quoted 8 lines · saleh usman

Hello

I am new to openembedded and I am following Getting started page of openembedded to work with it.I am facing problem in Building Software section and bitbake command is not working. I've edited the local configuration file and also directory where I've downloaded openembedded contains bitabake and build directory.

It seems like this

Quoted 9 lines

[root@localhost build]# bitbake nano
bash: bitbake: command not found
[root@localhost build]#

Plz tell me where might be the problem.

Regards
Saleh Usman

Hi the problem are that bash cant find the bitbake executable in the PATH. You need to setup the environment by running:

export PATH=/stuff/bitbake/bin:$PATH

The PATH environment variable are used by bash, (the program that displays your command line), to find where executables to run are located on your system.
By exporting PATH to include the bitbake/bin dir makes the bitbake command available.

You probably also need to set the BBPATH variable as well so that bitbake can find its configuration when run.

export BBPATH=/stuff/build:/stuff/openembedded

Cheers
Xerxes