View source for Solaris

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Return to Solaris.

Personal tools

Building on Solaris

(Well, OpenSolaris)

Note and Disclaimer

I'm still working on getting this all to work. Don't actually follow these instructions until I've claimed success.

Onto the Point

After a few dead starts, the best way to build on Solaris is to use a BrandZ Linux zone, and install enough stuff into the CentOS-3 image to make it all work.

Using these directions for setting up the zone: http://wikis.sun.com/display/chosug/Installing+a+Linux+Zone

Try to install what you can from the package list in MokoMakefile

The rest, here's what I've had to install so far:

  1. apr-1.3.3/ -- for subversion
  2. apr-util-1.3.4/ -- for subversion
  3. bash-3.2/ -- the builtin cp doesn't take the -t option, the one in this newer bash does.
  4. diffstat-1.46/
  5. help2man-1.36.4/ -- build without NLS.
  6. git-1.6.0.2/
  7. ncftp-3.2.2/ -- to make CPAN happy about Locale::gettext
  8. neon-0.28.3/ -- for subversion
  9. Python-2.6/ -- for the proper sqlite support
  10. sqlite-3.6.3/ -- for python
  11. subversion-1.5.3/ -- yum didn't have this.
  12. texi2html-1.64/

Actually, whenever you have the option, --disable-nls in the configure scripts seems to make life a lot easier.

This is being written as I do it, so note that it'll change until I've gotten a full build (make image) done. After that, it's dfu-util!