Installation OS161 and the Toolchain on Personal Machines

REMEMBER: it is up to you to ensure that your software runs on the university lab environment. You should always ensure that it not only compiles but runs as expected there before submitting your assignments.

It is generally not that difficult to install OS161 and the required toolchain on another machine as long as it is a Unix/Linux like system. We haven't heard of anyone successfully installing on Windows (or even CYGWIN) and we don't recommend it).

The key problem in most instances is that the installed system doesn't include some key bits of software and/or libraries that are required to build some of the require toolchain.

Typically what is missing is:

Not required but highly recommended are also (these may or may not already be installed on your system):

On Mac OS X

First you'll need to have Xcode installed. This may need to be installed from your system CD/DVD or you can download it from Apple.

Next you need to get the missing bits of required software. Currently the easiest way is to get and use Mac Ports. You can find it at the link below and it is probably easiest to just follow the instructions that to use one of the supplied disk images (a "dmg" file).
Mac Ports at http://www.macports.org/

After Mac Ports has been installed get the missing software (actual names may change from time to time but you should be able to search for an appropriate name/version on the Mac Ports web site).

port install gettext
port install ncurses
# Note this is tex and NOT text
port install texinfo 

On Linux

A general way that might work on most distirbutions would be to use one of the package managers and to search for the specified strings in the package manager and to install the package that provides that software. So you would search for an install software or libraries that provide: gettext, texinfo and curses). On Ubuntu this could also be done as follows (note that the actual names may change over time -- especially the curses version shown below):

apt-get install gettext
apt-get install texinfo
apt-get install libncurses5-dev

Created: Thu Jan 5 10:58:57 EST 2012
Last modified: Thu Jan 5 11:12:57 EST 2012