Skip to content

Debian Wheezy Build Machine

Ross Philipson edited this page Sep 25, 2015 · 5 revisions

DO NOT EDIT: This page has been migrated to Confluence: https://openxt.atlassian.net/wiki/display/BS/Debian+Wheezy+Build+Machine

Start with the instructions here: https://github.com/OpenXT/openxt/wiki/OpenXT-Build-Machine. Below are additional packages required to build OpenXT Wheezy.

Packages

guilt iasl quilt bin86 bcc libncurses5-dev libsdl1.2-dev liburi-perl genisoimage policycoreutils

The Wheezy ghc won't work with our Haskell bits so we need to install the 6.12 binaries from haskell.org. These require a few packages unavailable in Wheezy so we need to manually download and install them from the Squeeze repos. You can get the three needed packages here:

https://packages.debian.org/eo/squeeze/i386/libgmpxx4ldbl/download

[https://packages.debian.org/eo/squeeze/i386/libgmp3c2/download] (https://packages.debian.org/eo/squeeze/i386/libgmp3c2/download)

https://packages.debian.org/eo/squeeze/i386/libgmp3-dev/download

Select the mirror closest to you and save the deb files on your system. Install them with dpkg:

sudo dpkg -i libgmpxx4ldbl_4.3.2+dfsg-1_i386.deb libgmp3c2_4.3.2+dfsg-1_i386.deb libgmp3-dev_4.3.2+dfsg-1_i386.deb

Haskell compiler

Then download and install the i386 GHC 6.12.3 binary distribution from haskell.org:

cd /tmp
wget http://www.haskell.org/ghc/dist/6.12.3/ghc-6.12.3-i386-unknown-linux-n.tar.bz2
tar jxf ghc-6.12.3-i386-unknown-linux-n.tar.bz2
cd ghc-6.12.3
./configure --prefix=/usr
sudo make install