Building b2g on Fedora. Field notes
by hub, Tuesday 13 March 2012 at 09:40 :: Mozilla :: #818 :: rss
Yesterday I tried and successfully built b2g on Fedora 16 x86_64, targeting the emulator. These are my notes on how to do it as the instructions to setup the build environment are very Ubuntu centric.
The prebuilt binaries expect to be on a 32-bits system. So we are gonna need to install 32-bits packages. Also there is a requirement to have adb to boostrap (it is built afterwards). Fortunately you can skip installing the SDK for the bootstrap and use the Fedora package android-tools that provides adb.
The packages you need, that will also pull the proper dependencies are:
glibc.i686glibc-devel.i686libstdc++.i686ncurses-devel.i686readline-devel.i686zlib-devel.i686
To run qemu:
libXrandr.i686
You also need the usual requirements to build Firefox as well as git. Install these using yum.
Then follow the build instructions to build on QEMU.
Enjoy !
(dont forget part 2)


Comments
Thursday 15 March 2012 17:15, by pd :: #
Sunday 18 March 2012 09:46, by hub :: #
Post a comment
Comments are closed.