[Openembedded-users] Newbie question

James Ronald james.ronald at gmail.com
Mon Nov 1 17:29:20 UTC 2010


Dave,

I just went through this last week...

# The bitbake version distributed with Ubuntu 10.04 is too old
sudo apt-get remove bitbake
sudo apt-get autoremove

# Get the newest version
cd ~
wget http://download.berlios.de/bitbake/bitbake-1.10.1.tar.gz
tar -xvzf bitbake-1.10.1.tar.gz

# Install it into /usr/local
cd ~/bitbake-1.10.1/
sudo ./setup.py install --prefix=/usr/local


Regards
- Jim

On Mon, Nov 1, 2010 at 12:47 PM, David Lambert <dave at lambsys.com> wrote:
> I have installed OpenEmbedded according to the instructions in the
> OpenEmbedded manual on Ubuntu 10.04 but I get the following persistent
> error. I have tried re-installing it from scratch, so I am pretty confident
> it is not just finger fumble. I am also attaching my local.conf. Any help
> getting started would be much appreciated.
>
> Best regards,
>
> Dave.
>
> dlambert at development:~/oe/build$ bitbake -D helloworld-image
> DEBUG: Removed the following variables from the
> environment:GDM_KEYBOARD_LAYOUT,GNOME_DESKTOP_SESSION_ID,LESSOPEN,SSH_AGENT_PID,GNOME_KEYRING_CONTROL,SHLVL,MANDATORY_PATH,WINDOWID,ADOBE_PATH,GDMSESSION,LESSCLOSE,ORBIT_SOCKETDIR,DEFAULTS_PATH,XDG_CONFIG_DIRS,GTK_MODULES,OLDPWD,GDM_LANG,SPEECHD_PORT,LS_COLORS
> DEBUG: CONF including /home/dlambert/oe/build/conf/local.conf
> DEBUG: CONF including
> /home/dlambert/oe/openembedded/conf/machine/om-gta01.conf
> DEBUG: CONF including
> /home/dlambert/oe/openembedded/conf/distro/angstrom-2008.1.conf
> DEBUG: CONF including
> /home/dlambert/oe/openembedded/conf/distro/include/angstrom-jalimo.conf
> DEBUG: CONF including /home/dlambert/oe/openembedded/conf/documentation.conf
> DEBUG: CONF including /home/dlambert/oe/openembedded/conf/sanity.conf
> DEBUG: CONF including /home/dlambert/oe/openembedded/conf/abi_version.conf
> DEBUG: CONF including /home/dlambert/oe/openembedded/conf/enterprise.conf
> DEBUG: CONF including
> /home/dlambert/oe/openembedded/conf/compatibility-providers.conf
> Traceback (most recent call last):
>  File "/home/dlambert/oe/bitbake/bin/bitbake", line 143, in <module>
>    main()
>  File "/home/dlambert/oe/bitbake/bin/bitbake", line 123, in main
>    cooker.parseConfiguration()
>  File "/home/dlambert/oe/bitbake/lib/bb/cooker.py", line 68, in
> parseConfiguration
>    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
>  File "/home/dlambert/oe/bitbake/lib/bb/cooker.py", line 402, in
> parseConfigurationFile
>    bb.fetch.fetcher_init(self.configuration.data)
>  File "/home/dlambert/oe/bitbake/lib/bb/fetch/__init__.py", line 93, in
> fetcher_init
>    pd = persist_data.PersistData(d)
>  File "/home/dlambert/oe/bitbake/lib/bb/persist_data.py", line 52, in
> __init__
>    bb.mkdirhier(self.cachedir)
>  File "/home/dlambert/oe/bitbake/lib/bb/__init__.py", line 133, in mkdirhier
>    debug(3, "mkdirhier(%s)" % dir)
>  File "/home/dlambert/oe/bitbake/lib/bb/__init__.py", line 103, in debug
>    bb.msg.debug(lvl, None, ''.join(args))
>  File "/home/dlambert/oe/bitbake/lib/bb/msg.py", line 100, in debug
>    bb.event.fire(MsgDebug(msg, None))
>  File "/home/dlambert/oe/bitbake/lib/bb/event.py", line 67, in fire
>    if tmpHandler(event) == Handled:
>  File "tmpHandler(e)", line 8, in tmpHandler
> NameError: global name 'msg' is not defined
> dlambert at development:~/oe/build$
>
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
>




More information about the Openembedded-users mailing list