Showing posts with label OpenEmbedded. Show all posts
Showing posts with label OpenEmbedded. Show all posts

Tuesday, March 6, 2007

Continue with freeciv...

I stopped compiling last night, today when I tried to continue I got the following error:

install: cannot stat `/stuff/tmp/work/all-linux/ttf-dejavu-2.13-r0/dejavu-ttf-2.13/*.ttf': No such file or directory
when trying to install ttf-deavu-2.13-r0. The problem is probably a defective /stuff/sources/dejavu-ttf-2.13.tar.bz2. Removed that file (and also its md5 counterpart). And then:
# bitbake -crebuild ttf-dejavu
This caused bitbake to download the file again and to build it ok. Continue with freeciv:
# bitbake freeciv

Now it failed with gtk+:
***Can't link to Pango. Pango is required to compile
*** GTK+...
According to /stuff/tmp/work/armv5te-linux/gtk+-2.8.9-r7/gtk+-2.8.9/config.log cairopango-1.0 library is missing...


Monday, March 5, 2007

Bug #1940

bitbake failed compiling libX11 with the following error, with makekeys causing floating point exception. Somebody just posted a fix in the OE Bugtracker.

So I'll try to continue...
To fix the bug I edit: /stuff/tmp/work/armv5te-linux/diet-x11-X11R7.1-1.0.1-r4/libX11-X11R7.1-1.0.1/src/util/makekeys.c
and change

KeySym val;
} info[KTNUM];

#define MIN_REHASH 10
#define MATCHES 10

char tab[KTNUM];
to

KeySym val;
} info[KTNUM];

#define MIN_REHASH 15
#define MATCHES 10

char tab[KTNUM];
I created a /stuff/setVars to setup the enviroment, with the two export command in it:
export PATH=/stuff/bitbake/bin:$PATH
export BBPATH=/stuff/build:/stuff/org.openembedded.dev

Now bitbake:
# cd /stuff/
# . setVars
# bitbake freeciv
This fixed the problem.

Saturday, March 3, 2007

Trying to compile freeciv for OZ

I want to compile FreeCiv for the Zaurus:

  • Set local configuration (/stuff/build/conf/local.conf), change/insert the following lines:
    • DL_DIR = "/stuff/sources"
    • BBFILES := "/stuff/org.openembedded.dev/packages/*/*.bb"
    • MACHINE = "c7x0"
    • DISTRO = "openzaurus-unstable"
    • ASSUME_PROVIDED += "qemu-native"
    • Remove the last line in the file.
  • Setup the enviroment:
# export PATH=/stuff/bitbake/bin:$PATH
# export BBPATH=/stuff/build:/stuff/org.openembedded.dev
  • Try to compile:
# bitbake freeciv
  • No luck today - bitbake failed.