Thanks Kothari and Yermol, appreciate the reply. I flashed and am now running my own build of JellyBean.
For those of you trying to build JellyBean on OSX SnowLeopard, there were a couple of gotchas I ran into:
1) The provided version of Bison in the AOSP project will not work as it was compiled against a newer version of OSX. The error I had was "
dyld: lazy symbol binding failed: Symbol not found: _strndup"
The work around, edit the build/core/
config.mk file to use your version of bison on OSX. Set "BISON :=bison"
See
code.google.com/p/android/issues/detail?id=684212) After the bison workaround, I ran into this error:
"Generating HTMLEntityTable.cpp
Can't locate Switch.pm in @INC. . ."
This error is caused by Switch.pm being deprecated in Perl 5.11.0 and removed in Perl 5.16.3
To solve this on my box, Switch.pm needed to be installed in /usr/local/lib/perl5/
5.16.3. I used MacPorts (sudo port install perl).
3) ccache isn't used?
Add the following to both .bash_profile and a new file .profile (my understanding is .bash_profile is used when running terminal, .profile is used for a non-interactive bash session)
export USE_CCACHE=1
export CCACHE_DIR=<some directory>
Close all terminals and relaunch. Settings should now be good for use. . .not sure if the CCACHE_DIR needs to be on a case-sensitive volume or not. I put mine on one since the source code requires case-sensitive.
4) watch doesn't work? Google provides this command, and it errors on my box:
watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s
Solution, provide the -x switch:
watch -n1 -d -x prebuilts/misc/linux-x86/ccache/ccache -s