1
edit
Changes
→Packaging Fennec
'''note:''' if the libIDL error appears on build run this.
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pgkconfig
'''note:''' mmap Permission error occurs quit scratchbox and run 'sudo sysctl -p'
== Unistalling Scratchbox ==
then copy it over to the device
scp bunzip2 fennec-1.0a3pre.en-US.linux-arm.tar root@ip.address.to.device:/media/mmc2/
'''note:''' /media/mmc2 is the built in memory card on the device
cd $objdir/xulrunner
make package-tests
you will end up with a file called
== Debugging on Fennec on a Nokia N810 ==
and your console/terminal in order to debug.
'''note:''' Usually I put "DEBUG" in front of all the dump() and printf()
so that you can grep for them on the console/terminal.
There are instructions on how to get gdb installed here:
[http://maemo.org/development/tools/#apt-example]
In order to get gdb to work on fennec it needs to be packaged
with it's symbols to do that run
"make package PKG_SKIP_STRIP=1"
'''note:''' right now running fennec with the -g flag doesn't work
However, if you get the pid of fennec and do a "gdb nameOfBinary -p processId"
you can see the symbols start to get loaded and it crashes the device
here:
Loaded symbols for /media/mmc2/fennec/xulrunner/libmozjs.so
Reading symbols from /media/mmc2/fennec/xulrunner/libxul.so...