Ångström development

From Navit's Wiki
Revision as of 13:56, 31 May 2008 by Udo (talk | contribs) (Building navit for angstrom 2007.12)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I tried to build navit cvs for my HP H2210 ipaq. The H2210 is running the Angstrom 2007.12 Linux distro. These notes were made during the process. It's some of a howto.

Set up the build environment with the info from http://www.angstrom-distribution.org/building-angstrom

In build/conf/local.conf you add:

ENABLE_BINARY_LOCALE_GENERATION=0 PREFERRED_VERSION_dbus-native="1.2.1"

In the packages/navit directoy you edit navit_cvs.bb: SRC_URI = "svn://navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;proto=https"

And navit.inc, comment out the RRECOMMENDS:

$ cat navit.inc DESCRIPTION = "Navit is a car navigation system with routing engine." LICENSE = "GPL" DEPENDS = "glib-2.0 gtk+"

  1. RRECOMMENDS = "gpsd speechd flite" <---

....

copy over dbus-native-1.2.1.bb, dbus-1.2.1 directory and dbus.inc from org.openembedded.dev to org.openembedded.stable tree


edit gmp-native.inc and add: +LDFLAGS += " -Wl,--allow-multiple-definition "

Then go to the main dir of the build environment (/stuff) and type:

bitbake navit

The system will be busy for some time. Drink some coffee...



Mean while go to http://www.angstrom-distribution.org/repo/

and get: flite gpsd libgps16 libstdc++6 (>= 4.1.2)

for your CPU and for Angstrom 2007.12. Install these.

note: I still need some help/info to get flite workign standalone; I now get: $ flite -t test ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' audio_open_alsa: failed to set number of channels to 1. Invalid argument.