Minimo
From Openmoko
(add note that adding programs to image should be done with custom image rather than DISTRO_EXTRA_RDEPENDS) |
Waldmeister (Talk | contribs) (→Installing Minimo web browser) |
||
Line 49: | Line 49: | ||
</pre> | </pre> | ||
+ | == Tips == | ||
The default OpenMoko distribution lacks ''/etc/resolv.conf'' file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs. | The default OpenMoko distribution lacks ''/etc/resolv.conf'' file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs. | ||
Line 54: | Line 55: | ||
<pre> | <pre> | ||
moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf | moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | If build fails with | ||
+ | |||
+ | <pre> | ||
+ | /usr/bin/ld: skipping incompatible $OMDIR/local/tmp/staging/arm-angstrom-linux-gnueabi/lib/libIDL-2.a when searching for -lIDL-2 | ||
+ | </pre> | ||
+ | (here minimo is installed in a [http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Setting_Up_a_Local_Overlay Local Overlay], so your path will perhaps differ) try installing the libidl-dev package on the buildhost: | ||
+ | |||
+ | <pre> | ||
+ | sudo aptitude install libidl-dev | ||
</pre> | </pre> | ||
Revision as of 14:32, 18 September 2007
Contents |
Installing Minimo web browser
Minimo is a Mozilla based web browser. It features full AJAX support and other goodies. Currently stock OpenMoko build doesn't include Minimo. Here are instructions on how to run minimo in Xephyr PC environment and how to use other third party packages too.
These instructions should be updated to use a custom image rather than DISTRO_EXTRA_RDEPENDS -- see link above.
Setup build environment
If you have built your OpenMoko using MokoMakefile some of these steps might not be familiar to you.
Assume your OpenMoko root is at ~/workspace/moko
First setup build environment variables:
moo@hacker:~/workspace/moko/build$ . ../setup-env
Then checkout minimo from OpenEmbedded repository:
moo@hacker:~/workspace/moko/build$ bitbake minimo
Edit local.conf and add minimo to build dependencies list.
MACHINE = "qemux86" DISTRO = "openmoko" BUILD_ARCH = "i686" INHERIT += " devshell" SRCDATE_eds-dbus = "now" DISTRO_EXTRA_RDEPENDS = "minimo"
After local.conf has added new packages, one must refresh bitbake tasks.
bitbake task-base -crebuild
Now, you should be able to rebuild root fs using MokoMakefile.
make openmoko-devel-image
Tips
The default OpenMoko distribution lacks /etc/resolv.conf file which is used to configure system DNS look-up. Without this file, failing domain name look-up prevents web browsing. The easiest way to fix is to copy the host system resolv.conf to the rootfs.
moo@hacker:~/workspace/moko$ cp /etc/resolv.conf rootfs/etc/resolv.conf
If build fails with
/usr/bin/ld: skipping incompatible $OMDIR/local/tmp/staging/arm-angstrom-linux-gnueabi/lib/libIDL-2.a when searching for -lIDL-2
(here minimo is installed in a Local Overlay, so your path will perhaps differ) try installing the libidl-dev package on the buildhost:
sudo aptitude install libidl-dev
In chroot'ed environment
Following instructions in Getting OpenMoko working on host with Xephyr to get yourself chroot'ed into OpenMoko environment.
Start Xephyr. You don't need to start OpenMoko session, minimo can run as is.
/ $ minimo
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |