# # The following are instructions for building Qtopia on a Ubuntu 9.04 # x64 system # First fix bash as /bin/sh (Answer "no" to the question "Install dash # as /bin/sh?": sudo dpkg-reconfigure dash # Get essential build tools sudo apt-get install build-essential # Install the ia32-libs to run x32 bit binaries sudo apt-get install ia32-libs # Add NFS for serving a NFSroot sudo apt-get install nfs-kernel-server nfs-common portmap # Add export of /opt/nfs-exports (where a subdir can hold the rootfs): cat > my-exports <> /etc/exports # Add TFTP and use /tftpboot as the directory to serve files from sudo apt-get install tftpd-hpa sudo mkdir /tftpboot sudo chmod 777 /tftpboot sudo sed -i -e '1,$s/\/var\/lib\/tftpboot/\/tftpboot/' /etc/inetd.conf sudo /etc/init.d/tftpd-hpa restart # Install basic programs necessary for LTIB sudo apt-get install rpm wget bison # For Qtopia: sudo apt-get install 'zlib*' sudo apt-get install libncurses5 libncurses5-dev sudo apt-get install libx11-dev sudo apt-get install makedepend sudo apt-get install tcl sudo apt-get install gettext sudo apt-get install libc6-dev-i386 sudo apt-get install libxext-dev pushd /usr/lib32; sudo ln -s libsrdc++.so.6 libstdc++.so; popd