here we explain how to compile nullsoft nsis and hfs plus tools on linux. it's needed for windows installer and 1 Nullsoft NSIS Installer ------------------------- First, install scons tool : on mandriva : sudo urpmi scons on gentoo : emerge -auvDt scons then execute the following : export NSIS_VER=2.39 cd ~ wget http://heanet.dl.sourceforge.net/sourceforge/nsis/nsis-$NSIS_VER-src.tar.bz2 wget http://heanet.dl.sourceforge.net/sourceforge/nsis/nsis-$NSIS_VER.zip cd /usr/src sudo tar xvfj ~/nsis-$NSIS_VER-src.tar.bz2 cd /usr/share/ sudo unzip ~/nsis-$NSIS_VER.zip sudo ln -s nsis-$NSIS_VER nsis cd /usr/src/nsis-$NSIS_VER-src sudo scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=yes \ APPEND_LIBPATH="/usr/local/lib" APPEND_CPPPATH="/usr/include" NSISDIR=/usr/share/nsis \ PREFIX_CONF=/etc/nsis PREFIX_BIN=/usr/bin PREFIX_DATA=/usr/share/nsis \ PREFIX=/usr/share/nsis sudo scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=yes \ APPEND_LIBPATH="/usr/local/lib" APPEND_CPPPATH="/usr/include" NSISDIR=/usr/share/nsis \ PREFIX_CONF=/etc/nsis PREFIX_BIN=/usr/local/bin PREFIX_DATA=/usr/share/nsis \ PREFIX=/usr/share/nsis install-compiler 1 mkfs.hfsplus ------------------------- The kernel module hfsplus must be installed. Download the following source from apple (need registration) : http://www.opensource.apple.com/darwinsource/tarballs/apsl/diskdev_cmds-332.14.tar.gz Then execute the following : wget http://www.mythic-beasts.com/resources/appletv/mb_boot_tv/diskdev_cmds-332.14.patch.bz2 tar zxf diskdev_cmds-332.14.tar.gz bunzip2 -c diskdev_cmds-332.14.patch.bz2 | patch -p0 cd diskdev_cmds-332.14 make -f Makefile.lnx cp newfs_hfs.tproj/newfs_hfs /sbin/mkfs.hfsplus cp fsck_hfs.tproj/fsck_hfs /sbin/fsck.hfsplus cd /sbin ln -s mkfs.hfsplus mkfs.hfs ln -s fsck.hfsplus fsck.hfs