View source for Manual emulation in MacOSX
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to Manual emulation in MacOSX.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to Manual emulation in MacOSX.
THIS IS FROM THE OLD Build on OS X page of OpenEmbedded.
This page was last edited in of Aug 2006 for building OE on Mac OSX 10.4 (Tiger). Where more than one version of a tool was available, the most recent was used unless otherwise noted. The goal is to setup OpenEmbedded using binaries if at all possible and source compiled only if no suitable binary could be found. So far, compiling source for setting up OE has not been necessary.
By default, Tiger HFS+ filesystem is not case senstive. However, due to case insensitivity, some filenames in OE would appear as duplicates when in fact they are not. The brute force approach would be to backup all user data, reinstall Tiger with filesystem case sensitivity, and then restore the data. Fortunately, this is not necessary as one can create a read/write stretchable sparseimage via
$ hdiutil create /OE.sparseimage -volname OE -size 4g -layout NONE -stretch 8g
Then use Disk Utility.app to erase it (aka reformat it) as Mac OS Extended (Case-Sensitive, Journaled), and mount it. (It can optionally be set to automount by dragging it to the user's login items under System Preferences). I called my disk image "OE" and the last change needed before it can be used is to run
$ sudo vsdbutil -a /Volumes/OE
This enables permissions/ownership on the volume and prepares it for OpenEmbedded and all the required tools (including Fink). Note that the Fink installer creates the symlink /sw mapped back to the volume where Fink is actually installed (/Volumes/OE/sw/ in my case).
It is as easy as installing [MacPorts]. Then installing GNU sed and GNU getopt
$sudo port install gsed getopt
[GettingStarted] instructions.
Of the GNU items above and standard [RequiredSoftware], most of them are available in binary form via Fink with some exceptions or notable cases:
So far it seems as if these items are not actually needed, in spite of being listed as <a href="/wiki/RequiredSoftware">RequiredSoftware</a>. (So far, Psyco is the only one on this list that seems like it would be really nice to have as it would speed up python.):
There is often a need for doing and reconciling difference between files or directories and GUI makes this easier.
If one were to build monotone (presumably when a desired version is available but before a compiled binary is released) it would be done as follows:
After getting the monotone src, it must be built using some additional tools. Refer to monotone's <a href="http://www.venge.net/monotone/wiki/BuildingOnMac">general installation page</a> and <a href="http://www.venge.net/monotone/wiki/BuildingOnMac">OSX installation notes</a>
* gettext is available from Fink (as part of default fink install apparently) * autoconf is available from Fink * automake is available from Fink * boost src is available from Fink
For support, see zecke or poushag on <a href="irc://freenode.net/#oe">irc://freenode.net/#oe</a>
zecke has not needed any of the items that cannot be found on Fink other than monotone.
sudo port -v install subversion cogito py25-hashlib quilt coreutils ccache diffstat wget
MacPorts' Monotone build seems to be broken as of 2007-07-29, so download the package from<a href="/+http%3A/%252Fmonotone.ca/"> http://monotone.ca/</a>.
Unfortunately, MacPorts tries not to conflict with existing shell utilities so it does things like install sha1sum as `gsha1sum`. :( I added /usr/local/bin to my $PATH and put a bunch of symlinks there to deal with that. Feel free to pick a different directory:
sudo ln -s /opt/local/bin/gsha1sum /usr/local/bin/sha1sum sudo ln -s /opt/local/bin/gmd5sum /usr/local/bin/md5sum sudo ln -s /opt/local/bin/python2.5 /usr/local/bin/python sudo ln -s /opt/local/bin/gnused /usr/local/bin/sed