Hi All,
I am pretty new for bitbake. But I am really interested in to make it
working for my beagleboard C4.
I have a PC running Ubuntu 9.10. I know that I am not a very good
cook. So I tried to follow the instructions
here very closely.
http://wiki.openembedded.org/index.php/OEandYourDistro
and here
http://wiki.openembedded.org/index.php/Getting_Started
I first did this:
aptitude install sed wget cvs subversion git-core \
coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \
gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ \
desktop-file-utils
apt-get install libxml2-utils xmlto python-psyco
and linked by /bin/sh to bash
So far so good.
But when I type this
update-alternatives --config git
Ubuntu says: "update-alternatives: error: no alternatives for git." It
might only be needed for Debian
Then I try to do this:
$ mkdir -p /stuff/build/conf
Apparently this is not possible. So I do this instead
mkdir -p stuff/build/conf
Hope it would work.
cd stuff
wget http://download.berlios.de/bitbake/bitbake-1.8.18.tar.gz
tar xzf bitbake-1.8.18.tar.gz
I then addit to ./profile for path
vi ~/.profile
add:
export BBPATH=/home/everett/stuff/build:home/everett/stuff/openembedded
export PATH=/home/everett/stuff/bitbake/bin:$PATH
checkout OE:
git clone git://git.openembedded.org/openembedded
cd openembedded
git pull
I also copy and edited my local version of conf file in building/conf/local.conf
added the entries:
BBFILES = "/home/everett/stuff/openembedded/recipes/*/*.bb"
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
The problem happens when I try to bake something:
cd build
bitbake nano
it ran well until it tried to install a man page to my PC:
....
nssl-native-0.9.8m-r11.1/openssl-0.9.8m/apps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/everett/stuff/build/tmp/work/i686-linux/openssl-native-0.9.8m-r11.1/openssl-0.9.8m/apps'
installing man1/CA.pl.1ssl
/bin/sh: line 6: /usr/share/man/man1/CA.pl.1ssl: Permission denied
make: *** [install_docs] Error 1
FATAL: oe_runmake failed
NOTE: Task failed:
/home/everett/stuff/build/tmp/work/i686-linux/openssl-native-0.9.8m-r11.1/temp/log.do_stage.14319
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/everett/stuff/openembedded/recipes/openssl/openssl-native_0.9.8m.bb
do_populate_staging failed
ERROR: Task 450
(/home/everett/stuff/openembedded/recipes/openssl/openssl-native_0.9.8m.bb,
do_populate_staging) failed
NOTE: Tasks Summary: Attempted 137 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR: '/home/everett/stuff/openembedded/recipes/openssl/openssl-native_0.9.8m.bb'
failed
I also tried to bake something else:
bitbake -b ../openembedded/recipes/u-boot/u-boot_git.bb
It also failed with this
...
NOTE: Running task 7 of 18 (ID: 9,
/home/everett/stuff/openembedded/recipes/u-boot/u-boot_git.bb,
do_compile)
ERROR: function do_compile failed
ERROR: log data follows
(/home/everett/stuff/tmp/work/beagleboard-angstrom-linux-gnueabi/u-boot-2009.11-rc1+r43+gitra5cf522a91ba479d459f8221135bdb3e9ae97479-r43/temp/log.do_compile.20397)
NOTE: make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_config
Configuring for omap3_beagle board...
NOTE: make CROSS_COMPILE=arm-angstrom-linux-gnueabi- all
make: arm-angstrom-linux-gnueabi-gcc: Command not found
/bin/sh: arm-angstrom-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
...
It needs a cross compiler?
Can someone help me here?
Thanks,
Everett