These instructions will give you a container capable of building the jethro based OpenXT repo . They will not work as-is until those PRs have been merged into the openxt and xenclient-oe repos. I have added additional notes for building before the official merge. If that was merged on February 4, 2016. If you wish to reuse an old container you must at least update GCC to 4.9.2 and binutils to 2.25. These instructions have now been rewritten to only work against my github repo.
1) Install debootstrap on your host. Below is an example of doing so in ArchLinux from AUR (Arch specific step). The Arch method will vary on if you use yaourt or have added the repo for use with pacman.
...
7) The version of GHC in Jessie is not capable of building the GHC 6.12.1 we use for OpenXT. Therefore we need to install the last version of GHC 6 (6.12.3) into the container. GHC uses GHC to compile GHC! Download the three prerequisite packages for GHC 6.12.3 and install them.
- httpspackages
archive.debian.org/debian/pool/
eosqueezei386/downloadhttps - packageseosqueezei386libgmp3c2/downloadhttps
- packages
archive.debian.org/debian/pool/
eosqueezei386/libgmp3-dev/download
Code Block | ||
---|---|---|
| ||
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 |
...
Code Block | ||
---|---|---|
| ||
DL_DIR = "/<path-to-OE-download-cache>" |
19) Build OpenXT. Please make sure you edit the steps in do_build.sh so you do not rerun the setupoe step unless needed! This will be further tweaked to make this unnecessary.
Build Notes
When running do_build.sh, either change the list of steps at the beginning of the script to what you need or specify them manually via -s. An example is below.
...